text changes to registration mail content
[namibia] / module / Stock / src / Stock / DataBin / Report.php
1 <?php
2 namespace Stock\DataBin;
3
4
5
6 /**
7  * Stock reports.
8  * @author andre.fourie
9  */
10 class Report extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Stock',
18                         'DatasetName' => 'stock',
19                         'Entity'      => '\Stock\Entity\Stock',
20                         'References'  => array(
21                                         'region'             => '\Location\Entity\Region',
22                                         'type'               => '\Stock\Entity\Type',
23                                         'fuelType'           => '\Stock\Entity\FuelType',
24                                         'transmissionType'   => '\Stock\Entity\TransmissionType',
25                                         'exteriorColour'     => '\Stock\Entity\ExteriorColour',
26                                         'interiorColour'     => '\Stock\Entity\InteriorColour',
27                                         'condition'          => '\Stock\Entity\Condition',
28                                         'vehicleYear'        => '\Stock\Entity\Year',
29                                         'upholstery'         => '\Stock\Entity\Upholstery',
30                                         'papers'             => '\Stock\Entity\Paper',
31                                         'natis'              => '\Stock\Entity\Natis',
32                                         'fullServiceHistory' => '\Stock\Entity\FullServiceHistory',
33                                         'mainImage'          => '\Utility\Entity\Image',
34                                         'frontImage'         => '\Utility\Entity\Image',
35                                         'rightImage'         => '\Utility\Entity\Image',
36                                         'leftImage'          => '\Utility\Entity\Image',
37                                         'backImage'          => '\Utility\Entity\Image',
38                                         'interiorImage'      => '\Utility\Entity\Image',
39                                         'engineImage'        => '\Utility\Entity\Image',
40                                         'natisImage'         => '\Utility\Entity\Image'
41                         ),
42                         'Dependants'  => array(
43                                         'accessories' => '\Stock\Entity\Accessory'
44                         )
45         );
46         /**
47          * @var array
48         */
49         protected $metaStockControl = array(
50                         'Type'          => 'Report',
51                         'Builder'       => '\Stock\Report\StockControl',
52                         'Writer'        => '\Utility\Export\ExcelReport',
53                         'Output'        => 'Download',
54                         'RequiredInput' => array(),
55                         'OptionalInput' => array(
56                                         'Report' => array(
57                                                         'dateFrom'      => 'Date',
58                                                         'dateTo'        => 'Date',
59                                                         'jobState'      => 'String25'
60                                         )
61                         )
62         );
63
64 }