public function __construct() { if ($this->_isGroupByAccount()) { $this->_columnGroupBy = 'account_email'; } parent::__construct(); $this->_resourceCollectionName = 'affiliateplusstatistic/report_sales_collection'; $this->setCountTotals(true); }
public function __construct() { if ($this->_getGroupByColumn() == '2') { $this->_columnGroupBy = 'account_email'; } elseif ($this->_getGroupByColumn() == '3') { $this->_columnGroupBy = 'banner_id'; } parent::__construct(); $this->_resourceCollectionName = 'affiliateplusstatistic/report_clicks_collection'; $this->setCountTotals(true); }
public function __construct() { parent::__construct(); $this->_resourceCollectionName = 'affiliateplusstatistic/report_sales_collection'; $this->setCountTotals(true); }