|
Hello Tentura,
Thanks for the quick reply in this case, how i will use this in the collection i am having using sales/order_payment_transaction_Collection.
My function in transaction grid is :
protected function _prepareCollection()
{
$collection = ($this->getCollection())
? $this->getCollection() : Mage::getResourceModel(’sales/order_payment_transaction_collection’)
->addAttributeToSelect(’*’);
$order = Mage::registry(’current_order’);
if ($order) {
$collection->addOrderIdFilter($order->getId());
}
$collection->addOrderInformation(array(’increment_id’));
$collection->addPaymentInformation(array(’method’));
$collection->addOrderInformation(array(’customer_firstname’,’customer_lastname’,’customer_email’,’customer_id’,’’));
$this->setCollection($collection);
return parent::_prepareCollection();
}
|