Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ConfirmDispatch_Invoice wrong totals
09-14-2022, 04:35 AM, (This post was last modified: 09-14-2022, 04:42 AM by srdjanm.)
#1
ConfirmDispatch_Invoice wrong totals
Problem statement:
webERP 4.15.1
ConfirmDispatch_Invoice.php after adding shipping cost generates wrong totals on the screen
Final invoice is correct.
Subtotal is correct, it includes items subtotal + freight
Taxes are correct
Total is not correct. It looks like doesn't take net shipping into account
I tested this many times. It happens only when shipping cost is added on ConfirmDispatch_Invoice page.

I attached screen shots from ConfirmDispatch_Invoice.php before gernerating invoice and the totals on the invoice.
Number of articles on the invoice was 91.


Attached Files Thumbnail(s)
       
Reply
09-14-2022, 11:17 PM,
#2
RE: ConfirmDispatch_Invoice wrong totals
I can't reproduce this exactly, maybe because I have the latest code on this machine. Can you try swapping in this latest script and seeing if that fixes your problem?

Tim


Attached Files
.php   ConfirmDispatch_Invoice.php (Size: 85.15 KB / Downloads: 1)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)