Public Member Functions | |
getOrder () | |
getSource () | |
getInvoice () | |
getOrderUrl () | |
formatPrice ($price) |
Definition at line 34 of file Form.php.
formatPrice | ( | $ | price | ) |
Retrieve formated price
float | $price |
Definition at line 80 of file Form.php.
00081 { 00082 return $this->getInvoice()->getOrder()->formatPrice($price); 00083 }
getInvoice | ( | ) |
Retrieve invoice model instance
Definition at line 61 of file Form.php.
00062 { 00063 return Mage::registry('current_invoice'); 00064 }
getOrder | ( | ) |
Retrieve invoice order
Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.
Definition at line 41 of file Form.php.
00042 { 00043 return $this->getInvoice()->getOrder(); 00044 }
getOrderUrl | ( | ) |
Retrieve order url
Definition at line 69 of file Form.php.
00070 { 00071 return $this->getUrl('*/sales_order/view', array('order_id' => $this->getInvoice()->getOrderId())); 00072 }
getSource | ( | ) |
Retrieve source
Definition at line 51 of file Form.php.
00052 { 00053 return $this->getInvoice(); 00054 }