Public Member Functions | |
getOrder () | |
getSource () | |
getOrderTotalData () | |
getCreditmemo () | |
getOrderUrl () |
Definition at line 35 of file Items.php.
getCreditmemo | ( | ) |
Retrieve creditmemo model instance
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 74 of file Items.php.
00075 { 00076 return Mage::registry('current_creditmemo'); 00077 }
getOrder | ( | ) |
Retrieve invoice order
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 42 of file Items.php.
00043 { 00044 return $this->getCreditmemo()->getOrder(); 00045 }
getOrderTotalData | ( | ) |
Retrieve order totals block settings
Definition at line 62 of file Items.php.
00063 { 00064 return array( 00065 'grand_total_title' => Mage::helper('sales')->__('Total Refund'), 00066 ); 00067 }
getOrderUrl | ( | ) |
Definition at line 79 of file Items.php.
00080 { 00081 return $this->getUrl('*/sales_order/view', array('order_id' => $this->getCreditmemo()->getOrderId())); 00082 }
getSource | ( | ) |
Retrieve source
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 52 of file Items.php.
00053 { 00054 return $this->getCreditmemo(); 00055 }