Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make TOTAL INVOICE show as the amount in SUB TOTAL
07-14-2016, 05:41 PM, (This post was last modified: 07-14-2016, 05:43 PM by xplitz27.)
#1
How to make TOTAL INVOICE show as the amount in SUB TOTAL
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.
Reply
07-15-2016, 10:47 AM,
#2
RE: How to make TOTAL INVOICE show as the amount in SUB TOTAL
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
Reply
07-15-2016, 01:34 PM, (This post was last modified: 07-15-2016, 01:49 PM by xplitz27.)
#3
RE: How to make TOTAL INVOICE show as the amount in SUB TOTAL
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)