I have created a module to add custom fee value. I want to show this custom fee in all pages(frontend:order view page, print page etc, backend:order view page, sales invoice pdf, emails)
I have shown it all pages except for admin side invoice pdf.
How can I do that? Which XML do I need to edit?
I have tried editing the layout in adminhtml sales_order_invoice_new.xml, sales_order_invoice_updateqty.xml, sales_order_invoice_view.xml
Please help…
Best Answer
To display custom applied fee on Invoice Page you need to create there layout files
Here I made a full module to display custom fee to order, invoice, credit memo with admin configuration you can take a reference or use this module: https://github.com/mageprince/magento2-extrafee/
Here I give one file example: