Show vat_percent and subtotal for vat exclusive case

This commit is contained in:
PCoder 2018-04-17 21:38:28 +02:00
commit c2513dc7c3
3 changed files with 9 additions and 4 deletions

View file

@ -67,7 +67,11 @@
</p>
{% if vm.vat > 0 %}
<p>
<span>{% trans "VAT" %}: </span>
<span>{% trans "Subtotal" %}: </span>
<span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span>
</p>
<p>
<span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span>
<span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span>
</p>
{% endif %}