diff --git a/ihatemoney/templates/settle_bills.html b/ihatemoney/templates/settle_bills.html index 7ec5e290..30f64d03 100644 --- a/ihatemoney/templates/settle_bills.html +++ b/ihatemoney/templates/settle_bills.html @@ -25,7 +25,7 @@ {{ bill.ower }} {{ bill.receiver }} - {{ "%0.2f"|format(bill.amount) }} + {{ bill.amount|currencyformat_nc(g.project.default_currency) }} {% endfor %} diff --git a/ihatemoney/templates/statistics.html b/ihatemoney/templates/statistics.html index b38abb12..af3d9d5b 100644 --- a/ihatemoney/templates/statistics.html +++ b/ihatemoney/templates/statistics.html @@ -30,8 +30,8 @@ {% for stat in members_stats|sort(attribute='member.name') %} {{ stat.member.name }} - {{ "%0.2f"|format(stat.paid) }} - {{ "%0.2f"|format(stat.spent) }} + {{ stat.paid|currencyformat_nc(g.project.default_currency) }} + {{ stat.spent|currencyformat_nc(g.project.default_currency) }} {% endfor %} @@ -43,7 +43,7 @@ {% for month in months %} {{ _(month.strftime("%B")) }} {{ month.year }} - {{ "%0.2f"|format(monthly_stats[month.year][month.month]) }} + {{ monthly_stats[month.year][month.month]|currencyformat_nc(g.project.default_currency) }} {% endfor %}