Bugzilla – Attachment 169447 Details for
Bug 37424
Batch checkout silently fails if item contains materials specified (952$3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37424: Display additional materials note in batch checkout
Bug-37424-Display-additional-materials-note-in-bat.patch (text/plain), 2.05 KB, created by
ByWater Sandboxes
on 2024-07-23 21:55:01 UTC
(
hide
)
Description:
Bug 37424: Display additional materials note in batch checkout
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-07-23 21:55:01 UTC
Size:
2.05 KB
patch
obsolete
>From 1f6b81a90b791fdf45ab8bb5b8076df1e0b83ded Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <catrina@bywatersolutions.com> >--- > .../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 c2b5e9a8d5..0596cfb904 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 %] > <li><i class="fa fa-li fa-warning"></i>This item is currently checked out to this patron. Renew?</li> > [% END %] >+ [% IF checkout_info.ADDITIONAL_MATERIALS %] >+ <li><i class="fa fa-li fa-warning"></i>Please confirm that the accompanying materials are present: [% checkout_info.ADDITIONAL_MATERIALS | html %]</li> >+ [% END %] > [% IF checkout_info.RESERVE_WAITING %] > <li><i class="fa fa-li fa-warning"></i>This item is waiting for another patron.</li> > [% END %] >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37424
:
169379
|
169438
| 169447