Koha-clms/C4/SIP/ILS/Transaction
Benjamin Rokseth 35c68e61b6 Bug 12021 - SIP2 checkin should alert on transfer and use CT for return branch
This small patch corrects the SIP2 checkin response if branch transfer is needed.
It depends on bug 7981 and also removes an obsolete alert check in SIP2.

Test plan:
 - apply bug 7981
 - make sure syspref AutomaticItemReturn is false
 - check 'Return policy' in 'Default checkout, hold and return policy'
 - make a SIP2 checkout and checkin from a branch different than item's home branch.
 - verify that SIP2 response gives alert CV04 (=send to different branch)
 - also verify that response field CT gives correct branch according to 'Return policy'

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Followed test plan, works as expected
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 37836951d3)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-04-22 00:39:54 +02:00
..
Checkin.pm Bug 12021 - SIP2 checkin should alert on transfer and use CT for return branch 2017-04-22 00:39:54 +02:00
Checkout.pm Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
FeePayment.pm Bug 15901 - Remove use of recordpayment in C4::SIP::ILS::Transaction::FeePayment 2016-09-27 13:52:34 +00:00
Hold.pm Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
Renew.pm Bug 14673: Work around change to AddIssue return 2015-11-06 12:03:37 -03:00
RenewAll.pm Bug 7904 Change SIP modules to use standard LIB path 2015-02-05 14:44:54 -03:00