[Koha-bugs] [Bug 26057] Add Koha::Item::Transfer->cancel method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 9 12:08:18 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26057
--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 116555
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116555&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