From 23ed467d37a0b1949c9cd4ef5616058d5448e030 Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 21 May 2020 21:31:24 +0200 Subject: Replace currencyformat_nc with currency filter (#625) --- ihatemoney/templates/statistics.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ihatemoney/templates/statistics.html') diff --git a/ihatemoney/templates/statistics.html b/ihatemoney/templates/statistics.html index 3b0a9dd..9e7a10d 100644 --- a/ihatemoney/templates/statistics.html +++ b/ihatemoney/templates/statistics.html @@ -15,8 +15,8 @@ {% for stat in members_stats|sort(attribute='member.name') %} {{ stat.member.name }} - {{ stat.paid|currencyformat_nc(g.project.default_currency) }} - {{ stat.spent|currencyformat_nc(g.project.default_currency) }} + {{ stat.paid|currency }} + {{ stat.spent|currency }} {% endfor %} @@ -28,7 +28,7 @@ {% for month in months %} {{ _(month.strftime("%B")) }} {{ month.year }} - {{ monthly_stats[month.year][month.month]|currencyformat_nc(g.project.default_currency) }} + {{ monthly_stats[month.year][month.month]|currency }} {% endfor %} -- cgit v1.1