From 69ac0211f612a7a9f92bb1fb03ada7bb6ef6ff00 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 --- 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 0bcc733cf8..5bf309ecdd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1085,12 +1085,10 @@
- [% IF ( exemptfine ) %] + [% IF ( exemptfine || dropboxmode ) %] - [% ELSIF ( dropboxmode ) %] - [% ELSE %] - + [% END %]
-- 2.30.2