Fix for belgian tax

in /application/modules/invoices/models/Mdl_item_amounts.php and /application/modules/quotes/models/Mdl_quote_item_amounts.php
edit :
$item_subtotal = $item->item_quantity * $item->item_price;
$item_discount_total = $item->item_discount_amount * $item->item_quantity;
$item_total = $item_subtotal - $item_discount_total + (($item_subtotal - $item_discount_total) * ($item->item_t$
$item_tax_total = ($item_subtotal -$item_discount_total) * ($item->item_tax_rate_percent / 100);

Last Update: 2018-08-03

Could you please explain this?

in belgium discounts are subtracted before tax(BTW) is added

See Allow users to modify the tax and item calculation order