From 37a5cca6cda4a43d6494f57ffd371f8eb6026b65 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 23 Jul 2024 16:16:57 +0000 Subject: [PATCH] Bug 37424: Display additional materials note in batch checkout This patch adds a missing conditional for ADDITIONAL_MATERIALS to the batch checkout table Test plan: 1. Set a staff member with circ permissions, including FORCE_CHECKOUT 2. Turn on: CircConfirmItemParts, BatchCheckouts, BatchCheckoutsValidCategories (all) 3. Log in as staff member in step 1 4. Attempt to checkout an item with a 952$3 from the batch checkout tab 5. The item with a 952$3 displays, but the copy/text of the materials specified note does not. 6. Do not confirm checkout 7. Apply patch 8. Try again, the materials note should show this time 9. Confirm checkout 10. Success! Item is checked out Signed-off-by: Catrina Berka Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 03538b59aaa897375e1839e4260ffadac03890ab) Signed-off-by: Lucas Gass --- .../prog/en/modules/circ/circulation_batch_checkouts.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt index a30ae28e07..50851975d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt @@ -174,6 +174,9 @@ [% IF checkout_info.RENEW_ISSUE %]
  • This item is currently checked out to this patron. Renew?
  • [% END %] + [% IF checkout_info.ADDITIONAL_MATERIALS %] +
  • Please confirm that the accompanying materials are present: [% checkout_info.ADDITIONAL_MATERIALS | html %]
  • + [% END %] [% IF checkout_info.RESERVE_WAITING %]
  • This item is waiting for another patron.
  • [% END %]