In the admin panel in an open order, the "Items Subtotal" does not subtract the discount.
From the screenshot you can see the items subtotal is 1198, the VAT is 167.72 and the Total is 1006.32. The price 1198 is the original price without the discounts applied. It should be 838.6
Items Subtotal: 1,198.00лв. Shipping: 0.00лв. VAT: 167.72лв. Total:
1,006.32лв.