Bug 24298: Record transfer triggers for returns
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Jan 2020 13:56:41 +0000 (13:56 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 18:57:45 +0000 (18:57 +0000)
commit3fbc212d634ceac3d7d79d7a1dca09528cda7c82
treeb0993f420af11ed69f6a002d5fc29978158b84af
parent26b64bf8b45ea883f7c2c6c4e7bc7d4bdc1f68f6
Bug 24298: Record transfer triggers for returns

This patch adds handling to catch transfers that may have been triggered
on item return.

Test Plan:

1) Enable AutomaticItemReturn and accompanying system preference
2) Return an item to the wrong branch and note the transfer
3) Check the database for the new trigger value

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
C4/Items.pm
C4/SIP/ILS/Transaction/Checkin.pm
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt