Bug 36120: Add pickup locations to place bookings modal
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 7 Mar 2024 13:18:19 +0000 (13:18 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 3 May 2024 14:02:47 +0000 (16:02 +0200)
commit9eb4a39c05d7af3eef7b5f02a93d96b6dbd4689a
tree8cc9533aedb9ca38a30b63e9affaf504840c557b
parentdadabbd92403af8128c6d538679f05810cda1ab0
Bug 36120: Add pickup locations to place bookings modal

This patch adds a call to /biblios/biblionumber/pickup_locations to
fetch valid pickup locations for the biblio.

Upon selecting a pickup location we adapt the item select to only allow
for selecting items returned as valid for pickup at the selected
location.

Sponsored-by: Cuyahoga County Public Library
Signed-off-by: Lisette Scheer <lisette.scheer@bywatersolutions.com>
Signed-off-by: Kristi Krueger <kkrueger@cuyahogalibrary.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/modals/place_booking.inc
koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js