示例#1
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate($this->_helper()->getGridTemplate());
     $this->setExportVisibility(true);
     $this->setStoreSwitcherVisibility(true);
     $this->setId('gridStandardsales');
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate(Mage::helper('advancedreports')->getGridTemplate());
     $this->setExportVisibility(true);
     $this->setStoreSwitcherVisibility(true);
     $this->setId('gridHours');
 }
示例#3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate($this->_helper()->getGridTemplate());
     $this->setExportVisibility(true);
     $this->setStoreSwitcherVisibility(true);
     $this->setId('gridProduct');
     $this->setShowAdditionalSelector(true);
 }
示例#4
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate($this->_helper()->getGridTemplate());
     $this->setExportVisibility(true);
     $this->setStoreSwitcherVisibility(true);
     $this->setUseAjax(true);
     $this->setFilterVisibility(true);
     $this->setId('gridAdvancedSales');
     # Init aggregator
     $this->getAggregator()->initAggregator($this, AW_Advancedreports_Helper_Tools_Aggregator::TYPE_LIST, $this->getRoute(), $this->_helper()->confOrderDateFilter());
     $storeIds = $this->getStoreIds();
     if (count($storeIds)) {
         $this->getAggregator()->setStoreFilter($storeIds);
     }
 }