exclude discount from total price

This commit is contained in:
Arvind Tiwari 2018-05-07 06:11:44 +05:30
commit 2ff8c25034
5 changed files with 27 additions and 25 deletions

View file

@ -76,7 +76,7 @@
<span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span>
</p>
{% endif %}
{% if vm_pricing.discount_amount %}
{% if vm.discount > 0 %}
<p class="text-primary">
{%trans "Discount" as discount_name %}
<span>{{ vm_pricing.discount_name|default:discount_name }}: </span>