Bug 24446: Catch daterequested in circ returns
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Jan 2020 13:58:12 +0000 (13:58 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Mar 2021 14:36:13 +0000 (15:36 +0100)
commit7e919d12d846c72fd5d376c4c8549f6b7135f9d9
tree2cff35bd7b985eca3624eec7cb1f1f667ff7bfdf
parentaca8b71364f549d939fdde6a234419d7ba86fe25
Bug 24446: Catch daterequested in circ returns

Update C4::Circulation::AddReturn to use Koha::Item->get_transfer to
find requested transfers and use Koha::Item::Transfer->receipt to complete
transfer requests if they have arrived at their destination or return the
relevant 'WrongTransfer', 'WasTransfered' and 'TransferTrigger' messages
to the end user.

Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt