webERP Forum

Full Version: How to make TOTAL INVOICE show as the amount in SUB TOTAL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello weberp! I after thinking for a day and struggling on editing some of the code.

How do I make the TOTAL INVOICE show as the amount in SUB TOTAL?

http://i.imgur.com/WeUoUtq.jpeg

In this example how do I make the TOTAL INVOICE show as 40.00

And in changing this, when going to "Customer Account statement on screen" will the charges and balance also amount to 40?

Thank you! I was thinking this as a solution to tax inclusive invoices.
Hi,

The invoice is only a inquiry result so even you make the display as you needed, you'll not get the customer account statement show correctly.
A possible solution is to revise the logic in ConfirmDispatch_Invoice.php. But you have to use the tax including price when you issue a sales order. Then you use the the formula which maybe tax = price - price/(1+tax rate) , then you store the tax in the debtortranstax table.
Then you should revise the ConfirmDispatch_Invoice.php to change the logic not to add the tax,
Hope it's helpful.
Best regards!
Exson
Thank you Exsonqu_Qu! I will try that now Smile

Can someone please help me edit the ConfirmDispatch_Invoice.php I am willing to give recompense, for this... I really need to make this work Sad