Koha-clms/Koha/Item
Martin Renvoize 9378fb03a7 Bug 26057: Add 'cancel' method to Koha::Item::Transfer
This patch adds the 'cancel' method to Koha::Item::Transfer which sets
the transfer as cancelled by updating the datecancelled field. We also
update Koha::Item->get_transfer here to accomodate for the new
resolution available for a transfer.

Test plan:
1/ Run the included unit tests additions (t/db_dependent/Koha/Items.t,
t/db_dependent/Koha/Item/Transfer.t

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>
2021-03-03 15:36:13 +01:00
..
Search Bug 11425: Add unit tests 2014-11-04 19:10:28 -03:00
Transfer Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Transfer.pm Bug 26057: Add 'cancel' method to Koha::Item::Transfer 2021-03-03 15:36:13 +01:00
Transfers.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00