Use correct vat

This commit is contained in:
PCoder 2020-01-29 16:32:07 +05:30
parent 48cc2b4939
commit 6132638faa

View file

@ -681,7 +681,7 @@ class OrderConfirmationView(DetailView, FormView):
2)
vm_specs["vat_country"] = user_vat_country
vm_specs["discount"] = discount
vm_specs["price_with_vat"] = price + vat
vm_specs["price_with_vat"] = price + vm_specs["vat"]
vm_specs["price_after_discount"] = round(price - discount['amount'], 2)
vm_specs["price_after_discount_with_vat"] = round((price - discount['amount']) + vm_specs["vat"], 2)
request.session['specs'] = vm_specs