From 07354489b397d26a6f112d02e7de378c73ac0dd6 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 16 Jun 2023 16:59:22 +0000 Subject: [PATCH] Bug 33028: Add TT filters for Price and pattern checks to input fields With this patch, all monetary values in the table will be displayed formatted. Also, the input will be checked against our agreed pattern to make sure no false values can be entered. Missing: When editing a rule, we need to unformat the value, so that instead of the display format we have the input format available for editing. Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/smart-rules.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 7d403b1214..ef9c459245 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 @@ -287,7 +287,7 @@ [% END %] [% decreaseloanholds | html %] - [% fine | html %] + [% fine | $Price %] [% chargeperiod | html %] [% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %] [% firstremind | html %] @@ -462,7 +462,7 @@
[% INCLUDE 'date-format.inc' %]
- + - + @@ -531,7 +531,7 @@ - + [% END %] @@ -1030,7 +1030,7 @@ [% IF article_request_fee.defined && article_request_fee != '' %] - [% article_request_fee | html %] + [% article_request_fee | $Price %] [% ELSE %] 0 [% END %] @@ -1050,7 +1050,7 @@ [% END %] - + -- 2.30.2