]> git.koha-community.org Git - koha.git/commit
Bug 34440: Add itemtype selection to bookings modal
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 27 Mar 2024 22:04:07 +0000 (22:04 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 30 Aug 2024 14:41:27 +0000 (16:41 +0200)
commit3475ef06d482657733ab57d15fa1f6e3d8b88c93
treee344976a41e2897e37c304de8c118a0f77b4c92b
parent620527f97140370eedc6c2fb35930f770b97ffb3
Bug 34440: Add itemtype selection to bookings modal

Whilst we still don't need to know the specific item we will need to
know the itemtype to be able to fetch the correct circulation rules for
adjusting the datepicker with lead and trail times.

This patch adds such a picker option. You should be able to select the
item or itemtype in either order.. selecting itemtype first will limit
the items list to options available (and 'Any item').. upon selecting a
specific item the itemtype selector should become disabled and reflect
the itemtype of the item selected.

Sponsored-by: Cuyahoga County Public Library <https://cuyahogalibrary.org/>
Signed-off-by: Kristi Krueger <KKRUEGER@cuyahogalibrary.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
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