Koha-clms/C4/SIP/ILS/Transaction
Lucas Gass 8c8c480db0
Bug 38615: Add ability to set hold cancellation request via SIP
To test:
1. APPLY PATCH, updatedatabase, restart_all
2. Search for the new system preference HoldCancellationRequestSIP, it should be set to 'Don't'. Leave it as is.
3. Make some holds, either in the staff client of via SIP.
    -/kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su term1 -sp term1 -m hold --patron 23529000035676 --item 39999000001310 --hold-mode +

4. Mark the hold as waiting.
5. Cancel it via SIP:
    -/kohadevbox/koha/misc/sip_cli_emulator.pl -a localhost -p 6001 -l CPL -su term1 -sp term1 -m hold --patron 23529000035676 --item 39999000001310 --hold-mode -

6. The hold is cancelled like normal, the screen msg should be "Hold Cancelled."
7. Change HoldCancellationRequestSIP to 'Do'.
8. Do steps 3-5 again.
9. Now the screen message is 'Hold Cancellation Requested.'
10. Now check Holds awaiting pickup. In the "Holds with cancellation requests" tab you should now see the hold from step 8.

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-03-17 08:21:26 +01:00
..
Checkin.pm Bug 36431: Add screen message for NeedsTransfer when AutomaticItemReturn is off 2025-03-07 18:02:58 +01:00
Checkout.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
FeePayment.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Hold.pm Bug 38615: Add ability to set hold cancellation request via SIP 2025-03-17 08:21:26 +01:00
Renew.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
RenewAll.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00