Public Member Functions | |
getOrder () | |
getSource () | |
getInvoice () | |
getOrderUrl () | |
formatPrice ($price) |
Definition at line 35 of file Items.php.
formatPrice | ( | $ | price | ) |
Retrieve formated price
float | $price |
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 81 of file Items.php.
00082 { 00083 return $this->getInvoice()->getOrder()->formatPrice($price); 00084 }
getInvoice | ( | ) |
Retrieve invoice model instance
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 62 of file Items.php.
00063 { 00064 return Mage::registry('current_invoice'); 00065 }
getOrder | ( | ) |
Retrieve invoice order
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 42 of file Items.php.
00043 { 00044 return $this->getInvoice()->getOrder(); 00045 }
getOrderUrl | ( | ) |
Retrieve order url
Definition at line 70 of file Items.php.
00071 { 00072 return $this->getUrl('*/sales_order/view', array('order_id' => $this->getInvoice()->getOrderId())); 00073 }
getSource | ( | ) |
Retrieve source
Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.
Definition at line 52 of file Items.php.
00053 { 00054 return $this->getInvoice(); 00055 }