Bugfix: Swiss VAT wrongly being applied to non EU customers

This commit is contained in:
PCoder 2019-12-18 19:33:44 +05:30
parent c4013178f5
commit ed74504270
1 changed files with 1 additions and 0 deletions

View File

@ -619,6 +619,7 @@ class OrderConfirmationView(DetailView, FormView):
vm_specs["vat_country"] = user_vat_country
vm_specs["discount"] = discount
vm_specs["total_price"] = round(price + vat - discount['amount'], 2)
request.session['specs'] = vm_specs
context.update({
'vm': vm_specs,