From 4e978f62eaa2f3c90520a4f8b16a4b7ae9d37834 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 27 May 2025 10:47:06 +0530 Subject: [PATCH] More debug --- datacenterlight/views.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 9ce2efd9..1e486242 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -656,6 +656,12 @@ class OrderConfirmationView(DetailView, FormView): pricing_name=vm_specs['pricing_name'], vat_rate=user_country_vat_rate * 100 ) + if request.user.id == 51: + print("User is test") + price = 0 + vat = 0 + vat_percent = 0 + discount = {"amount": 0} vm_specs["price"] = price vm_specs["price_after_discount"] = price - discount["amount"] amount_to_charge = price