Use format amount routine [skip ci]

This commit is contained in:
James Cole 2016-12-03 21:26:34 +01:00
parent 53daa89fcb
commit 0a844e4313
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -51,7 +51,7 @@
{# if sum of income, display: #}
{% if report.income[category.id].sum %}
<td data-value="{{ report.income[category.id].sum }}">
{{ report.income[category.id].sum }}
{{ report.income[category.id].sum|formatAmount }}
</td>
{% else %}
<td data-value="0">
@ -61,7 +61,7 @@
{# if sum of expense, display: #}
{% if report.expense[category.id].sum %}
<td data-value="{{ report.expense[category.id].sum }}">
{{ report.expense[category.id].sum }}
{{ report.expense[category.id].sum|formatAmount }}
</td>
{% else %}
<td data-value="0">