From 026cd9d66537efca106d487b9c867a7d14f251d3 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 (cherry picked from commit df3c578ae18c1732ce09ddab49683d55dbe4d904) Signed-off-by: Lucas Gass (cherry picked from commit 01bde643f2fc7b9541f006fdaaa1ec68c262c612) Signed-off-by: Arthur Suzuki --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 3 ++- 2 files changed, 2 insertions(+), 2 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 02ef881c06..55f5c295ee 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 7c364a8a45..7011117f22 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 %] @@ -267,7 +268,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 %] -- 2.39.5