- Issue created by @kaszarobert
- Status changed to Closed: works as designed
5 months ago 2:54pm 16 July 2024
We found out on the invoices that when someone applied points, the taxes are still calculated from the non-points total price.
Without points:
product (its price include VAT) 11 EUR 10x
--------------------------
Subtotal: 110 EUR
Shipping (also price with VAT): 4,50 EUR
VAT 20%: 19,08 EUR
Total: 114,50 EUR
With 20 points used:
product (its price include VAT) 11 EUR 10x
--------------------------
Subtotal: 110 EUR
Shipping (also price with VAT): 4,50 EUR
User Points Deduction: -20,00 EUR
VAT 20%: 19,08 EUR (this is still calcutated from the 114,50, even though it should be 94,5-94,5/1,2 = 15,75 EUR)
Total: 94,50 EUR (this is correct)
Also, this should also work good when someone doesn't include taxes in product and shipping price, too.
Closed: works as designed
9.0
Code