Jose Eduardo
Jose Eduardo

Reputation: 487

Inserting fields in the Invoice History Magento

I managed to enter the invoice_totals block, however my goal is to insert the block "Invoice History", follow the example:

enter image description here

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:

enter image description here

This to create a new invoice, Thanks for help.

Upvotes: 0

Views: 60

Answers (1)

Manashvi Birla
Manashvi Birla

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

Related Questions