From b420247f2db1ad72a27c8807b6cb9610006fe8b7 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 20 Feb 2012 09:48:05 -0500 Subject: [PATCH] bug_7467: Printing Transfer Slips for transfers that do not have holds - Addendum: Use for automatic transfers as well. Signed-off-by: Paul Poulain --- circ/returns.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 167bc5ff20..e142117eb2 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -150,6 +150,7 @@ if ( $query->param('resbarcode') ) { if ( $messages->{'transfert'} ) { $template->param( itemtitle => $iteminfo->{'title'}, + itemnumber => $iteminfo->{'itemnumber'}, itembiblionumber => $iteminfo->{'biblionumber'}, iteminfo => $iteminfo->{'author'}, tobranchname => GetBranchName($messages->{'transfert'}), @@ -313,6 +314,7 @@ if ( $messages->{'WasTransfered'} ) { $template->param( found => 1, transfer => 1, + itemnumber => $itemnumber, ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 1c30c5b588..004a44ef87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -86,7 +86,7 @@ function Dopop(link) { [% END %] -[% IF ( WrongTransfer ) %]

Please return [% title |html %] to [% TransferWaitingAt %] or Cancel Transfer

+[% IF ( WrongTransfer ) %]

Please return [% title |html %] to [% TransferWaitingAt %]

Print Slip or Cancel Transfer

[% IF ( wborcnum ) %]
Hold for: