Koha/circ
Martin Renvoize 620527f971
Bug 34440: Take preparation period into account at checkout
This patch ensures we catch checkouts that would interfer with the
preparation period set for an existing booking by adding said period to
the bookings search.

We also reduce the proposed due date for the checkout to be confirmed by
the preparation period for the item.

Test plan
1) Set a booking preparation period for an itemtype
2) Add a booking for an item with that itemtype to fall beyond the due
   date that the item would be assigned if you were to check it out now
   to your test user, but within the number of days you've set for your
   preparation period.
3) Attempt to check the item out to your test user.
4) Note that we catch the booking and warn and that the latest return
   date suggested take the preparation period into account.

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>
2024-08-30 16:41:27 +02:00
..
add_message.pl Bug 29393: (QA follow-up) Tidy add_message.pl 2024-04-29 17:38:01 +02:00
article-request-slip.pl Bug 33478: Apply formatting to AR_SLIP 2024-04-26 20:15:46 +02:00
article-requests.pl
bookcount.pl
branchoverdues.pl Bug 34478: op =~ ^cud- in pl/pm - Manual cud-email => email 2024-03-01 10:57:14 +01:00
branchtransfers.pl Bug 25682: Style transfers interface to match checkin page 2024-04-29 18:53:07 +02:00
checkout-notes.pl Bug 34478: Rename action with op - circ/checkout-notes 2024-03-01 10:56:39 +01:00
circulation-home.pl
circulation.pl Bug 34440: Take preparation period into account at checkout 2024-08-30 16:41:27 +02:00
curbside_pickups.pl
del_message.pl Bug 34478: Manual fix - add op and change link to form - members-toolbar.inc / patron_messages.inc 2024-03-01 10:57:26 +01:00
hold-transfer-slip.pl Bug 33478: Apply formatting to HOLD_SLIP 2024-04-26 20:15:41 +02:00
on-site_checkouts.pl
overdue.pl Bug 37210: Properly escape SQL query parameters by using bind values 2024-08-01 17:26:46 +02:00
pendingreserves.pl Bug 34972: (QA follow-up) Remove some ModReserveCancelAll imports 2024-05-07 15:53:43 +02:00
renew.pl Bug 34478: Add 'op' to circ/renew.pl 2024-03-01 10:58:48 +01:00
request-article.pl Bug 34478: Rename action with op - circ/request-article 2024-03-01 10:56:39 +01:00
reserveratios.pl Bug 23208: Add ability to set a default hold ratio value 2024-03-25 09:53:22 +01:00
returns.pl Bug 37400 - In returns.pl don't search for a patron unless needed 2024-07-22 10:42:05 +01:00
set-library.pl Bug 36572: Fix and clean-up set library 2024-04-12 11:25:59 +02:00
transfer-slip.pl Bug 33478: Apply formatting to TRANSFERSLIP 2024-04-26 20:15:42 +02:00
transfers_to_send.pl Bug 35388: Add comment to 'Transfers to send' 2024-03-19 18:09:07 +01:00
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl Bug 34478: Manual fix - add ops / change confirmation forms to get - waiting_holds.inc / waitingreserves.tt 2024-03-01 10:57:25 +01:00