From 37f342822a6249531864a8bd01227b9884b23051 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 18 Aug 2023 07:40:16 +0000 Subject: [PATCH] Bug 34572: Simplify template logic around check-in input form This patch makes a minor simplifying change to the check-in template around how to style the barcode input field in dropbox or fine-exempt mode. To test, apply the patch and go to Circulation. - If necessary, check some items out to patrons so that you have items to check in. - Go to the check-in page and click the icon inside the barcode field to expand the panel of options. - Check the "book drop mode" checkbox. The barcode field should now be highlighted yellow. - Check in an item. When the page redisplays, the barcode field should have the same highlighted style. - If necessary, enable the finesMode system preference. - On the check-in page, in the panel of options, check the "Forgive overdue fines" checkbox. Test checking in again, confirming the same style consistency in the barcode field. Signed-off-by: Inkeri Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit edb9787fc85752c636e0d982871c4b715a2e57d8) Signed-off-by: Fridolin Somers (cherry picked from commit edf7c6766128067ec8e28109f575c932e7707d48) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 00802c178f..9df383d3cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1081,12 +1081,10 @@
- [% IF ( exemptfine ) %] + [% IF ( exemptfine || dropboxmode ) %] - [% ELSIF ( dropboxmode ) %] - [% ELSE %] - + [% END %]
-- 2.20.1