2 namespace Auction\Report;
7 * Stock Contyrol Report.
10 class HistoricGrid extends \Utility\Service\Report
18 protected $_title = 'Auction Data Export';
22 protected $_subject = 'Vehicles on auction.';
26 protected $_description = 'Export of vehicles on auction.';
30 protected $_notes = array(
31 'Confidential information, generated using Bid 4 Cars, for more information visit bid4cars.co.za'
36 protected $_headers = array(
51 protected $_fields = array(
67 protected $_totals = array(
76 protected $_currencyFields = array(
86 * Build the dataset, or not.
88 public function build()
90 #-> Data passed by DataBin Grid functionality.
91 $dateTimeFormat = \Utility\Definitions\Locale::getDateTimeFormat();
92 foreach ($this->_data as $rowId => $rowData)
94 $this->_data[$rowId]['auction_endDate'] = $rowData['auction_endDate']->format($dateTimeFormat);