Improve number formatting
This commit is contained in:
parent
8849f5d953
commit
cfdaf13e79
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{% if elements %}
|
{% if elements %}
|
||||||
{% if sum %}
|
{% if sum %}
|
||||||
<p>
|
<p>
|
||||||
Total : {{ sum }}€
|
Total : {{ sum|floatformat:-2 }}€
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ e.title }} le {{ e.date|date:"SHORT_DATE_FORMAT" }} : {{ e.eur_value|floatformat:2 }}€
|
{{ e.title }} le {{ e.date|date:"SHORT_DATE_FORMAT" }} : {{ e.eur_value|floatformat:-2 }}€
|
||||||
{% if refunds or payments %}
|
{% if refunds or payments %}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue