From 1aed87679d72c2e01badef5359e67735edabf678 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 3 Jul 2008 16:27:13 -0500 Subject: [PATCH] bug 2171: remove cancel transfer The "transfers to receive" report included unused code to delete a transfer. Since the "transfers to receive" report is still useful to give a library a report of items that it should expect to receive, I am retaining the report. However, since the cancel transfer functionality would not work even if it were uncommented in the template, that portion is removed. Signed-off-by: Joshua Ferraro --- circ/transferstoreceive.pl | 6 ------ .../prog/en/modules/circ/transferstoreceive.tmpl | 7 ------- 2 files changed, 13 deletions(-) diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index f148dd5526..f3cdd8d7c5 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -42,12 +42,6 @@ my $input = new CGI; my $theme = $input->param('theme'); # only used if allowthemeoverride is set my $itemnumber = $input->param('itemnumber'); - -# if we have a resturn of the form to delete the transfer, we launch the subrroutine -if ($itemnumber) { - C4::Circulation::Circ2::DeleteTransfer($itemnumber); -} - my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "circ/transferstoreceive.tmpl", diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl index eb0cb85cf6..58f20c4768 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl @@ -49,7 +49,6 @@ $.tablesorter.addParser({ Title Reserved by Localisation - Action @@ -84,12 +83,6 @@ $.tablesorter.addParser({ - - "> - - --> - -- 2.39.5