calculator discount text modified
This commit is contained in:
parent
30deae5a20
commit
8044e0c2a0
2 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,7 @@
|
||||||
<p>
|
<p>
|
||||||
{% if vm_pricing.vat_inclusive %}{% trans "VAT included" %} <br>{% endif %}
|
{% if vm_pricing.vat_inclusive %}{% trans "VAT included" %} <br>{% endif %}
|
||||||
{% if vm_pricing.discount_amount %}
|
{% if vm_pricing.discount_amount %}
|
||||||
{% trans "Discount" as discount_name %}
|
You save {{ vm_pricing.discount_amount }} CHF
|
||||||
{{ vm_pricing.discount_amount }} CHF <strong>{{ vm_pricing.discount_name|default:discount_name }}</strong> included
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1081,6 +1081,7 @@ class CreateVirtualMachinesView(LoginRequiredMixin, View):
|
||||||
'cpu': cores,
|
'cpu': cores,
|
||||||
'memory': memory,
|
'memory': memory,
|
||||||
'disk_size': storage,
|
'disk_size': storage,
|
||||||
|
'discount': discount,
|
||||||
'price': price,
|
'price': price,
|
||||||
'vat': vat,
|
'vat': vat,
|
||||||
'vat_percent': vat_percent,
|
'vat_percent': vat_percent,
|
||||||
|
|
Loading…
Reference in a new issue