webERP Forum

Full Version: ConfirmDispatch_Invoice wrong totals
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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