From efdb492cd10a9d29bd39da7fa34dd31ac011ce85 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 21 Jun 2023 08:49:52 +0000 Subject: [PATCH] Bug 33028: Remove Price formatting as we are missing JS unformat Taking a step back with the formatting as we don't have an implementation of unformat in JS yet. It could be readded later on a separate report. With this we will avoid the problem that editing a rule copies falsely formatted values into the input fields that trigger the pattern check on saving and require manual changing (or without the check would be falsely saved to the db) Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 68f9cb5a65..ec9126158a 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,7 +6,6 @@ [% USE Categories %] [% USE ItemTypes %] [% USE CirculationRules %] -[% USE Price %] [% SET footerjs = 1 %] [% SET branchcode = humanbranch || undef %] @@ -287,11 +286,11 @@ [% END %] [% decreaseloanholds | html %] - [% fine | $Price %] + [% fine | html %] [% chargeperiod | html %] [% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %] [% firstremind | html %] - [% overduefinescap | $Price %] + [% overduefinescap | html %] [% IF cap_fine_to_replacement_price %] @@ -387,7 +386,7 @@ [% END %] [% recall_due_date_interval | html %] - [% recall_overdue_fine | $Price %] + [% recall_overdue_fine | html %] [% recall_shelf_time | html %] [% END %] @@ -1030,7 +1029,7 @@ [% IF article_request_fee.defined && article_request_fee != '' %] - [% article_request_fee | $Price %] + [% article_request_fee | html %] [% ELSE %] 0 [% END %] -- 2.30.2