initial commit
[namibia] / module / Company / src / Company / Report / CompanyGrid.php
1 <?php
2 namespace Company\Report;
3
4
5
6 /**
7  * Stock Contyrol Report.
8  * @author andre.fourie
9  */
10 class CompanyGrid extends \Utility\Service\Report
11 {
12
13
14
15     /**
16      * @var string
17      */
18     protected $_title  = 'Company Data Export';
19     /**
20      * @var string
21      */
22     protected $_subject = 'Dealerships on the system.';
23     /**
24      * @var string
25      */
26     protected $_description = 'Export of dealerships.';
27     /**
28      * @var array
29      */
30     protected $_notes = array(
31         'Confidential information, generated using Bid 4 Cars, for more information visit bid4cars.co.za'
32     );
33     /**
34      * @var array
35      */
36     protected $_headers = array(
37         'Group',
38         'Division',
39         'Dealership',
40         'Contact name',
41         'Contact surname',
42         'Contact email',
43         'Landline Number',
44         'Status',
45         'Region',
46         'Town',
47         'Address',
48         'Postal Code',
49         'Registered'
50     );
51     /**
52      * @var array
53      */
54     protected $_fields = array(
55         'grp_name',
56         'division_name',
57         'company_name',
58         'contact_firstName',
59         'contact_familyName',
60         'contact_email',
61         'contact_office',
62         'company_jobState',
63         'region_name',
64         'city_name',
65         'company_street',
66         'company_postalCode',
67         'company_created'
68     );
69     /**
70      * @var array
71      */
72     protected $_totals = array();
73     /**
74      * @var array
75      */
76     protected $_currencyFields = array();
77
78
79
80     /**
81      * Build the dataset, or not.
82      */
83     public function build()
84     {
85         #-> Data passed by DataBin Grid functionality.
86     }
87
88 }