Reputation: 487
I managed to enter the invoice_totals block, however my goal is to insert the block "Invoice History", follow the example:
The code for this:
<adminhtml_sales_order_invoice_new>
<reference name="invoice_totals">
<block type="adminhtml/sales_order_totals_item" name="teste" template="module/name/sales/order/view/nota_fiscal.phtml" />
</reference>
</adminhtml_sales_order_invoice_new>
I need add this same field, but in Invoice History, like this:
This to create a new invoice, Thanks for help.
Upvotes: 0
Views: 60
Reputation: 2843
try with this code :
<adminhtml_sales_order_invoice_addcomment>
<block type="adminhtml/sales_order_comments_view" name="test" template="module/name/sales/order/view/nota_fiscal.phtml"></block>
</adminhtml_sales_order_invoice_addcomment>
Upvotes: 1