09-14-2022, 04:35 AM
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.
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.