More debug
This commit is contained in:
parent
4c0a1fd07f
commit
4e978f62ea
1 changed files with 6 additions and 0 deletions
|
|
@ -656,6 +656,12 @@ class OrderConfirmationView(DetailView, FormView):
|
||||||
pricing_name=vm_specs['pricing_name'],
|
pricing_name=vm_specs['pricing_name'],
|
||||||
vat_rate=user_country_vat_rate * 100
|
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"] = price
|
||||||
vm_specs["price_after_discount"] = price - discount["amount"]
|
vm_specs["price_after_discount"] = price - discount["amount"]
|
||||||
amount_to_charge = price
|
amount_to_charge = price
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue