Koha/circ
Martin Renvoize 1cd0e927e4 Bug 27896: Remove DeleteTransfer from circ/return.pl
This patch replaces the DeleteTransfer call in circ/returns.pl with a
call to Koha::Item::Transfer->cancel.

Test plan
1/ Check an item out
2/ Add a transfer request for the item to a second library
3/ Attempt to check the item in at the first library
4/ Note that you should be given a 'WrongTransfer' modal and have to
option to cancel.
5/ Cancel the transfer
6/ Check in the database that the transfer now has 'datecancelled' set.
7/ Add a transfer for the item again
8/ From the transferstoreceive page cancel the transfer
9/ Click cancel and again check that datecancelled is set in the
database for your transfer

Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 27896: (follow-up) Fix Typo

Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-23 11:58:49 +02:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl
branchoverdues.pl Bug 27548: "use of uninitialized value" warning on branchoverdues.pl 2021-02-01 17:20:37 +01:00
branchtransfers.pl Bug 25690: (QA follow-up) PROCESSED -> PROCESSING for consistency 2021-03-04 16:18:42 +01:00
checkout-notes.pl
circulation-home.pl
circulation.pl Bug 18912: Display more info when using itemBarcodeFallbackSearch 2021-04-21 15:25:07 +02:00
del_message.pl
hold-transfer-slip.pl
offline-mf.pl
offline.pl
on-site_checkouts.pl
overdue.pl
pendingreserves.pl Bug 27131: Add get_items_that_can_fill 2021-02-18 11:53:10 +01:00
renew.pl Bug 27549: "use of uninitialized value" warning on renew.pl 2021-02-01 17:20:37 +01:00
request-article.pl
reserveratios.pl
returns.pl Bug 27896: Remove DeleteTransfer from circ/return.pl 2021-04-23 11:58:49 +02:00
set-library.pl
transfer-slip.pl
transfers_to_send.pl Bug 22569: Add a 'Transfers to send' report 2021-03-11 11:51:40 +01:00
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-01 11:16:42 +01:00
ypattrodue-attr-search-authvalue.pl
ysearch.pl