public function render(Varien_Object $row) { if (empty($row['history_id'])) { return ''; } $result_mini = ''; $history = Mage::getModel('storecreditpro/history')->load($row['history_id']); $type = $history->getTransactionType(); $transaction_params = $history->getTransactionParams(); $order_id = $history->getOrderId(); $result = MW_Storecreditpro_Model_Type::getTransactionDetail($type, $transaction_params, $order_id, true); return $result; }
public function getTransactionDetail($type, $transaction_params, $order_id) { return MW_Storecreditpro_Model_Type::getTransactionDetail($type, $transaction_params, $order_id); }