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.
---
circ/transferstoreceive.pl | 6 ------
.../prog/en/modules/circ/transferstoreceive.tmpl | 7 -------
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl
index f148dd5..f3cdd8d 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 eb0cb85..58f20c4 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({
<th>Title</th>
<th>Reserved by </th>
<th>Localisation</th>
- <th>Action</th>
</tr></thead>
<tbody><!-- TMPL_LOOP NAME="reserv" -->
<!-- TMPL_IF NAME="messcompa" -->
@@ -84,12 +83,6 @@ $.tablesorter.addParser({
<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR
NAME="itemcallnumber" --></td>
- <td>
- <!--<form name="dotransfer"
action="currenttransfers.pl" method="post">
- <input type="hidden" name="itemnumber"
value="<!-- TMPL_VAR NAME="itemnumber" -->">
- <input type="submit" value="Cancel this transfer">
- </form>-->
- </td>
</tr>
<!-- /TMPL_LOOP --> </tbody>
</table>
--
1.5.5.GIT
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches