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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 28 Aug 2023 10:08:12 +0000 (10:08 +0000)
commit3e780ee8205c582fc2ce1f027c39eb208cbb0877
tree4d65b073171576f58ff5dc08bc8f28e24f1132e0
parenta35a22630693fdf7ef3fb7f659608588faaf21ef
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>
(cherry picked from commit 4ff90997001ba10c1c40242107dc0f8f4f9dccac)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b88ae2f5d7b93e6494766ff7745d0599c37fa4a0)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt