From df3c578ae18c1732ce09ddab49683d55dbe4d904 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Thu, 15 Mar 2018 16:08:45 +0000 Subject: [PATCH] Bug 20395: (follow-up) Change format to use price filter See comment #1. Signed-off-by: Roch D'Amour Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index d34b5e70b2..0ce8e32d82 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -3,7 +3,6 @@ [% USE Koha %] [% USE KohaDates %] [% USE Price %] -[% USE currency = format('%.2f') -%] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 5c6c0e6a88..e7b8451ff3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -6,6 +6,7 @@ [% USE Categories %] [% USE ItemTypes %] [% USE CirculationRules %] +[% USE Price %] [% SET footerjs = 1 %] [% SET branchcode = humanbranch || undef %] @@ -281,7 +282,7 @@ [% chargeperiod | html %] [% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %] [% firstremind | html %] - [% overduefinescap FILTER format("%.2f") %] + [% overduefinescap | $Price %] [% IF cap_fine_to_replacement_price %] @@ -369,7 +370,7 @@ [% END %] [% recall_due_date_interval | html %] - [% recall_overdue_fine FILTER format("%.2f") %] + [% recall_overdue_fine | $Price %] [% recall_shelf_time | html %] [% END %] -- 2.39.5