Fix for belgian tax

duplicate
Tags: #<Tag:0x00007fdbe3c74248>

#1

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);


#2

Last Update: 2018-08-03


#3

Could you please explain this?


#4

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


#5

See Allow users to modify the tax and item calculation order


#6