示例#1
0
 protected function _prepareCollection(Mzax_Emarketing_Model_Object_Collection $collection)
 {
     parent::_prepareCollection($collection);
     // add currency code for price columns
     $collection->getQuery()->joinTable(array('entity_id' => '{order_id}'), 'sales/order', 'order');
     $collection->addField('currency_code', "`order`.`base_currency_code`");
 }
示例#2
0
 protected function _prepareCollection(Mzax_Emarketing_Model_Object_Collection $collection)
 {
     parent::_prepareCollection($collection);
     // add currency code for price columns
     $collection->addField('currency_code', "`{$this->_tableAlias}`.`base_currency_code`");
 }