Do not round
This commit is contained in:
parent
838163bd59
commit
e6f00abd71
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ class OrderConfirmationView(DetailView, FormView):
|
|||
vm_specs["price_after_discount"] = round(price - discount['amount'], 2)
|
||||
vm_specs["price_after_discount_with_vat"] = round((price - discount['amount']) * (1 + vm_specs["vat_percent"] * 0.01), 2)
|
||||
discount["amount_with_vat"] = round(vm_specs["price_with_vat"] - vm_specs["price_after_discount_with_vat"], 2)
|
||||
vm_specs["total_price"] = round(vm_specs["price_after_discount_with_vat"])
|
||||
vm_specs["total_price"] = vm_specs["price_after_discount_with_vat"]
|
||||
vm_specs["discount"] = discount
|
||||
request.session['specs'] = vm_specs
|
||||
|
||||
|
|
Loading…
Reference in a new issue