Koha/koha-tmpl/opac-tmpl/bootstrap
Martin Renvoize c16ec21f4b
Bug 36341: Add futureinclusive to future holds
This patch adds the flatpickr-futureinclusive data to the input field
for "Hold starts on date" in the OPAC.

We also add 'flatpickr-future' data to the input field for expiration
date as it also doesn't make sense to allow this to be a past data
either.

Test plan
1) Attempt to place a hold on an item from the OPAC
2) Expand the 'Show more options' dropdown
3) Note that without the patch 'Hold not needed after' allows setting to
   a date in the past.
4) Enable `AllowHoldDateInFuture` and `OPACAllowHoldDateInFuture` system
   preferences
5) The 'Hold starts on date' option should now appear if you refresh
   your hold placing page in the OPAC.
6) Note that the above input also allows setting a past date
7) Apply patch
8) Neith input should allow past dates now.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-04 15:24:33 +02:00
..
css Bug 35633: (follow-up) Custom style updates 2024-03-22 10:35:26 +01:00
en Bug 36341: Add futureinclusive to future holds 2024-04-04 15:24:33 +02:00
images
itemtypeimg
js Bug 36004: Fixed typo in successfully 2024-03-08 18:58:22 +01:00
lib/jquery Bug 32341: (Fix) Changing the placement of the button 2023-06-08 08:32:43 -03:00