Koha-clms/C4/SIP/ILS/Transaction
Benjamin Rokseth 2dbb6a6942 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: Mason James <mtj@kohaaloha.com>
(cherry picked from commit a98b5468ba)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2017-05-10 11:46:33 +02:00
..
Checkin.pm Bug 12021 - SIP2 checkin should alert on transfer and use CT for return branch 2017-05-10 11:46:33 +02:00
Checkout.pm Bug 14673: Work around change to AddIssue return 2015-11-06 12:03:37 -03:00
FeePayment.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
Hold.pm Bug 9809: Update AddReserve prototype to remove constraint parameter 2015-08-26 10:26:43 -03: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