]> git.koha-community.org Git - koha.git/commit
Bug 34440: Enforce lead/trail restrictions
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 25 Jul 2024 15:15:18 +0000 (16:15 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 30 Aug 2024 14:41:32 +0000 (16:41 +0200)
commitfe71a9f84c8f6dbec2477fb36c6f554883e69be0
tree60278074e5e7d375db2396d48abfc4228ce41568
parentcbf4faf8d48cc632fa0ef58b10740f357218d475
Bug 34440: Enforce lead/trail restrictions

This patch adds rule enforcement into the user interface. When
attempting to make a booking now, instead of just visually displaying
the lead and trail period and highlighting when an overlap appears, we
now block the ability to select a date when such an overlap case is
found.

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/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js