Bug 34289: Add missing class to one condition of the checkin template
authorOwen Leonard <oleonard@myacpl.org>
Mon, 17 Jul 2023 16:42:13 +0000 (16:42 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 15 Aug 2023 09:16:51 +0000 (12:16 +0300)
commit4ff90997001ba10c1c40242107dc0f8f4f9dccac
tree13a94e6841bada4f0cf58be6ddf8b5aecda16be3
parenta4b7490633d2e8bc9ca9a0f60ebec1200ed0b07a
Bug 34289: Add missing class to one condition of the checkin template

The markup of the checkin template varies depending on the conditions of
the operation, and in one case the barcode field was missing the
"barcode" class. This patch adds it.

To test, apply the patch and make sure the finesMode system preference
is enabled.

- Go to returns.pl (/cgi-bin/koha/circ/returns.pl)
- Expand the the options so you see 'Forgive overdue charges'.
- Check that box and check in an item
- After checkin, the barcode field should keep the same style it had
  before the transaction.
- Note: The yellow background of the input when the "Forgive" checkbox
  is checked is to be expected.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt