Koha-clms/C4/SIP/ILS/Transaction
Martin Renvoize 86699e47f8 Bug 34767: Pass fee_ack into ::Transaction::Renew(All)
This patch copies the $fee_ack field into the generated
::Transaction::Renew|All objects such that the fee acknowldegement flag
is respected for renewals.

Test plan
To test:
1) Add a rental charge to an itemtype
2) Checkout an item of that itemtype to a user
3) Attempt a renewal of that item via SIP2 and note that it fails
   sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL --patron 23529000035676 --item 39999000007756 -m renew
4) Pass the fee_acknowledgement bit in renewal and note the renewal
   still fails.
   sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL --fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m renew
5) Apply patch and note the above now succeeds
   sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL --fee-acknowledged Y --patron 23529000035676 --item 39999000007756 -m renew

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3a2dcf0733)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 11c73ed5b8)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-10-12 15:31:49 +00:00
..
Checkin.pm Bug 29936: Add holds_get_captured option to sip config 2022-05-05 11:17:37 -10:00
Checkout.pm Bug 12225: Use ProcessOfflineIssue 2022-08-25 08:22:35 -03:00
FeePayment.pm Bug 33216: Catch and handle RegisterRequired exceptions for SIP fee paid messages 2023-05-09 21:42:17 +01:00
Hold.pm Bug 29094: Adding hold via SIP should check if patron can hold item first 2022-07-18 10:24:58 -03:00
Renew.pm Bug 34767: Pass fee_ack into ::Transaction::Renew(All) 2023-10-12 15:31:49 +00:00
RenewAll.pm Bug 34767: Pass fee_ack into ::Transaction::Renew(All) 2023-10-12 15:31:49 +00:00