]> git.koha-community.org Git - koha.git/commit
Bug 24446: Add datesent/datecancelled handling to GetTransfersFromTo
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 7 Oct 2020 07:21:16 +0000 (08:21 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Mar 2021 14:36:13 +0000 (15:36 +0100)
commit2675c4ef05f7c7e1a15880eb36237df9f2b600bc
treeba39e2f0a4191ffb5d28fd3c977b82e303db2848
parent5b3befe58b4c7e6bd0bc5f8416e6b62cdfb1662e
Bug 24446: Add datesent/datecancelled handling to GetTransfersFromTo

With the first uses of Koha::Item->request_transfer and
Koha::Item::Transfer->cancel having been added, we need to update
GetTransferFromTo to respect transfers that have been requested but
not yet sent and not cancelled.

Test plan
1/ Run the included unit test
2/ Confirm the "Transfers to recieve" page loads
3/ Signoff

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
t/db_dependent/Circulation/transfers.t