From ed74504270662d58476dcc880b83cc374925314f Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 18 Dec 2019 19:33:44 +0530 Subject: [PATCH] Bugfix: Swiss VAT wrongly being applied to non EU customers --- datacenterlight/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 8ed0b794..952fa47f 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -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,