From 4a6e1a9920752d26822c94fbc6d00998b0a95853 Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Tue, 11 Jun 2024 16:39:05 +0000 Subject: [PATCH] Bug 37047: Make Patron Bookings table visible from Patrons Checkout page This patch makes it so that the patron bookings table loads properly from teh checkout page. Previously, it was only loading correctly from the details page. To test: 1. Create an item bookable. 2. Book an item for a patron. 3. Go to the patron's checkout page. 4. See they have a Booking (1) in their tab. 5. Click this tab, but nothing appears. 6. Apply patch, restart_all 7. See they still have a Booking (1) in their tab. 8. Click this tab, table loads as expected. Signed-off-by: Pedro Amorim Signed-off-by: Martin Renvoize --- .../prog/en/modules/circ/circulation.tt | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index c124dcb6cfb..76859fe0980 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -986,6 +986,7 @@ [% END %] +[% INCLUDE modals/cancel_booking.inc %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] @@ -1026,10 +1027,113 @@ [% END %] [% Asset.js("js/holds.js") | $raw %] [% INCLUDE 'calendar.inc' %] + [% Asset.js("js/cancel_booking_modal.js") | $raw %] + [% INCLUDE 'js-biblio-format.inc' %]