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 <jmf@liblime.com>
This commit is contained in:
parent
fecf5c38bb
commit
1aed87679d
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue