[Koha-bugs] [Bug 26057] Add Koha::Item::Transfer->cancel method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 3 15:31:09 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26057
--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 117586
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117586&action=edit
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 at cne-siar.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list