I have a tax template which is working fine but if I add a discount to the ticket it deducts tax amount from ticket total -discount amount. Like if if Order amount is 100 and if tax is at 10% and Discount is at 10%.
Ticket Total = 100
Discount = 10
Tax = 9
The tax should be deducted from Ticket total and it should be 10 not 9. How do I configure Tax template to deduct from ticket total.