Set after_eu_vat_intro for hosting VM buy flow

This commit is contained in:
PCoder 2019-12-09 15:15:21 +05:30
parent 52717c2ce7
commit d0398ddec2

View file

@ -964,6 +964,7 @@ class OrdersHostingDetailView(LoginRequiredMixin, DetailView, FormView):
vm_specs["discount"] = discount
vm_specs["total_price"] = round(price + vat - discount['amount'],
2)
context['vm']["after_eu_vat_intro"] = True
context['vm'] = vm_specs
return context