Feature request from maderlock, posted on GitHub Jul 21, 2016
Steps to reproduce
- Install 2.1.0
- Set discount to be applied to inclusive total and customer tax to be calculated after discount
- Set invoice, order display settings to display all as exclusive of VAT
- Place an order with a discount
- View invoice
Expected result
- Subtotal + shipping - discount = grand total (excl tax)
Actual result
- Subtotal + shipping - discount = slightly less than excl grand total as discount includes amount applied to inclusive subtotal
I would suggest there is a similar option to display discount incl/excl of VAT. The latter would add back the discount_tax_compensation amount so that the totals add up.
See example for why this currently is rather unintuitive: