Koha/circ
Nick Clemens 96442d7ac7 Bug 17798: Confirm hold when printing slip from another patron's account
This patch adds a few pieces of information to the print slip button
and makes the code confirm the hold

As we are printing before the confirm, we also add the ability to pass
in the itemnumber to 'ReserveSlip'

This is slightly hacky, however, I don't see another way to allow
printing without an additional page reload.

To test:
 1 - Place a title level hold for patron A, for delivery to library B
 2 - Attempt to checkout an item from the record above to Patron B from
     library A
 3 - You receive an alert about the hold
 4 - Click "Don't check out, confirm hold, and print slip"
 5 - Confirm the slip looks correct and has item info
 6 - Confirm that item is in transit to fill hold
 7 - Revert transit status
 8 - Attempt to checkout the item to Patron B from Library B
 9 - Click "Don't check out, confirm hold, and print slip"
10 - Confirm slip is correct
11 - Confirm item is marked waiting

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3ec73d80e2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-11-09 21:04:59 -10:00
..
add_message.pl Bug 21699: Allow circulation messages to be editable 2023-05-05 10:18:55 -03:00
article-request-slip.pl
article-requests.pl
bookcount.pl Bug 33149: Use template wrapper for breadcrumbs: Circulation part 1 2023-04-06 09:29:26 -03:00
branchoverdues.pl
branchtransfers.pl
checkout-notes.pl
circulation-home.pl Bug 33961: Remove built-in offline circ tool 2023-07-17 08:18:59 +01:00
circulation.pl Bug 17798: Confirm hold when printing slip from another patron's account 2023-11-09 21:04:59 -10:00
curbside_pickups.pl Bug 32883: (QA follow-up) Adjust ordering for pickups 2023-03-27 11:49:33 +02:00
del_message.pl
hold-transfer-slip.pl
on-site_checkouts.pl
overdue.pl
pendingreserves.pl Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
renew.pl Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
request-article.pl
reserveratios.pl
returns.pl Bug 31212: (follow-up) Fix datelastseen when returning item 2023-05-12 17:49:57 -03:00
set-library.pl Bug 30624: (QA follow-up) Use C4:Context to get permissions 2023-03-13 15:23:20 -03:00
transfer-slip.pl
transfers_to_send.pl
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl Bug 35003: Make cancelled hold requests filter by branch 2023-11-07 21:40:50 -10:00