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'); }
/** * Initialize object * * @return void */ public function __construct() { $this->setHtmlId('amounts'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->setTemplate('affiliateplusstatistic/graph.phtml'); }
/** * Initialize object * * @return void */ public function __construct() { $this->setHtmlId('orders'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->setTemplate('customercredit/report/template.phtml'); }
/** * Initialize the Block with the path to the * template to use. * * @return void */ public function __construct() { parent::__construct(); $this->setTemplate('piwik/dashboard/graph.phtml'); }
public function __construct() { parent::__construct(); //$this->setTemplate('rewardpoints/dashboard/graph.phtml'); $this->setTemplate('dashboard/graph.phtml'); }