public function render(Varien_Object $row) { $currency = $row->getCurrency(); if (!$currency) { $currency = Mage::app()->getStore()->getBaseCurrencyCode(); } return Mage::getModel('directory/currency')->load($currency)->formatTxt($row->getTotalAmount()); }
public function render(Varien_Object $row) { return sprintf(' %s', Mage::helper('core')->currency($row->getTotalAmount())); }