Show VAT details in hosting/order_details if it is set

This commit is contained in:
PCoder 2018-04-16 04:39:21 +02:00
commit 731fef8ad9
2 changed files with 7 additions and 0 deletions

View file

@ -127,6 +127,12 @@
<span>{% trans "Disk space" %}: </span>
<span class="pull-right">{{vm.disk_size}} GB</span>
</p>
{% if vm.vat > 0 %}
<p>
<span>{% trans "VAT" %}: </span>
<span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span>
</p>
{% endif %}
<p>
<span>{% trans "Total" %}</span>
<span class="pull-right">{{vm.price|intcomma}} CHF</span>