Fix more autoformatting issues
This commit is contained in:
parent
d00e84a4b6
commit
903fee4db1
1 changed files with 4 additions and 9 deletions
|
@ -137,8 +137,7 @@
|
||||||
CHF</strong>
|
CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<small>{% trans "VAT" %} ({{
|
<small>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%)
|
||||||
vm.vat_percent|floatformat:2|intcomma }}%)
|
|
||||||
</small>
|
</small>
|
||||||
<strong class="pull-right">{{vm.vat|floatformat:2|intcomma}}
|
<strong class="pull-right">{{vm.vat|floatformat:2|intcomma}}
|
||||||
CHF</strong>
|
CHF</strong>
|
||||||
|
@ -147,10 +146,8 @@
|
||||||
{% if vm.discount.amount > 0 %}
|
{% if vm.discount.amount > 0 %}
|
||||||
<p class="text-primary">
|
<p class="text-primary">
|
||||||
{%trans "Discount" as discount_name %}
|
{%trans "Discount" as discount_name %}
|
||||||
<strong>{{ vm.discount.name|default:discount_name
|
<strong>{{ vm.discount.name|default:discount_name }} </strong>
|
||||||
}} </strong>
|
<strong class="pull-right">- {{ vm.discount.amount }} CHF</strong>
|
||||||
<strong class="pull-right">- {{ vm.discount.amount
|
|
||||||
}} CHF</strong>
|
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -162,9 +159,7 @@
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<p class="total-price">
|
<p class="total-price">
|
||||||
<strong>{% trans "Total" %} </strong>
|
<strong>{% trans "Total" %} </strong>
|
||||||
<strong class="pull-right">{% if vm.total_price
|
<strong class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %}
|
||||||
%}{{vm.total_price|floatformat:2|intcomma}}{% else
|
|
||||||
%}{{vm.price|floatformat:2|intcomma}}{% endif %}
|
|
||||||
CHF</strong>
|
CHF</strong>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue