calculator discount text modified

This commit is contained in:
Arvind Tiwari 2018-05-11 17:47:27 +05:30
parent 30deae5a20
commit 8044e0c2a0
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,7 @@
<p>
{% if vm_pricing.vat_inclusive %}{% trans "VAT included" %} <br>{% endif %}
{% if vm_pricing.discount_amount %}
{% trans "Discount" as discount_name %}
{{ vm_pricing.discount_amount }} CHF <strong>{{ vm_pricing.discount_name|default:discount_name }}</strong> included
You save {{ vm_pricing.discount_amount }} CHF
{% endif %}
</p>
</div>

View File

@ -1081,6 +1081,7 @@ class CreateVirtualMachinesView(LoginRequiredMixin, View):
'cpu': cores,
'memory': memory,
'disk_size': storage,
'discount': discount,
'price': price,
'vat': vat,
'vat_percent': vat_percent,