Ejemplo n.º 1
0
 public function __construct()
 {
     $data = $this->getDataLifetime();
     $this->_rate_chart_money = round($data['totals_money'] * 2 / $data['totals_qty']);
     Mage::register('rate_chart_money', $this->_rate_chart_money);
     $currency = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getBaseCurrencyCode())->getSymbol();
     $this->_google_chart_params = array('cht' => 'lc', 'chf' => 'bg,s,f4f4f4|c,lg,90,ffffff,0.1,ededed,0', 'chdl' => $this->__('Number of items') . '|' . $this->__('Total Sales(%s)', $currency), 'chco' => '2424ff,db4814', 'chxt' => 'x,y,y,r,r', 'chxlexpend' => '|2:||' . $this->__('# Items') . '|4:||' . $this->__('Total Sales(%s)', $currency));
     $this->setHtmlId('report_brand_sales');
     parent::__construct();
     $this->setTemplate('shopbybrand/report/graph.phtml');
 }
Ejemplo n.º 2
0
 /**
  * Initialize object
  *
  * @return void
  */
 public function __construct()
 {
     $this->setHtmlId('amounts');
     parent::__construct();
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('affiliateplusstatistic/graph.phtml');
 }
Ejemplo n.º 4
0
 /**
  * Initialize object
  *
  * @return void
  */
 public function __construct()
 {
     $this->setHtmlId('orders');
     parent::__construct();
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('customercredit/report/template.phtml');
 }
Ejemplo n.º 6
0
 /**
  * Initialize the Block with the path to the
  * template to use.
  * 
  *  @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('piwik/dashboard/graph.phtml');
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
     //$this->setTemplate('rewardpoints/dashboard/graph.phtml');
     $this->setTemplate('dashboard/graph.phtml');
 }