From 30efb9312ae01e3311fc8c3a0b618c15fe8bc21e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 13 Jan 2016 17:20:47 +0100 Subject: [PATCH] Add curency filter. --- accountant/frontend/static/templates/accounts.html | 6 +++--- accountant/frontend/static/templates/operations.html | 4 ++-- accountant/frontend/static/templates/scheduler.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/accountant/frontend/static/templates/accounts.html b/accountant/frontend/static/templates/accounts.html index 3ba7cc9..c496a13 100644 --- a/accountant/frontend/static/templates/accounts.html +++ b/accountant/frontend/static/templates/accounts.html @@ -49,13 +49,13 @@ - {{ account.current }} + {{ account.current | currency : "€" }} - {{ account.pointed }} + {{ account.pointed | currency : "€" }} @@ -64,7 +64,7 @@ e-max="0" e-style="width: 100%" e-name="authorized_overdraft" e-form="rowform"> - {{ account.authorized_overdraft }} + {{ account.authorized_overdraft | currency : "€" }} diff --git a/accountant/frontend/static/templates/operations.html b/accountant/frontend/static/templates/operations.html index 774ddd6..b1e5694 100644 --- a/accountant/frontend/static/templates/operations.html +++ b/accountant/frontend/static/templates/operations.html @@ -77,12 +77,12 @@ - {{ operation.value }} + {{ operation.value | currency:"€" }} - {{ operation.sold }} + {{ operation.sold | currency:"€" }} diff --git a/accountant/frontend/static/templates/scheduler.html b/accountant/frontend/static/templates/scheduler.html index e0f2b8b..2552387 100644 --- a/accountant/frontend/static/templates/scheduler.html +++ b/accountant/frontend/static/templates/scheduler.html @@ -88,7 +88,7 @@ - {{ operation.value }} + {{ operation.value | currency : "€" }}