Use correct variable

total_after_discount -> price_after_discount
This commit is contained in:
PCoder 2019-01-12 11:57:02 +01:00
commit 8bf89e6711
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@
</p> </p>
<p> <p>
<small>{% trans "Subtotal after discount" %}</small> <small>{% trans "Subtotal after discount" %}</small>
<strong class="pull-right">{{vm.total_after_discount|floatformat:2|intcomma}} CHF</strong> <strong class="pull-right">{{vm.price_after_discount|floatformat:2|intcomma}} CHF</strong>
</p> </p>
{% endif %} {% endif %}
{% if vm.vat > 0 %} {% if vm.vat > 0 %}

View file

@ -147,7 +147,7 @@
</p> </p>
<p> <p>
<small>{% trans "Subtotal after discount" %}</small> <small>{% trans "Subtotal after discount" %}</small>
<strong class="pull-right">{{vm.total_after_discount|floatformat:2|intcomma}} CHF</strong> <strong class="pull-right">{{vm.price_after_discount|floatformat:2|intcomma}} CHF</strong>
</p> </p>
{% endif %} {% endif %}
{% if vm.vat > 0 %} {% if vm.vat > 0 %}