From a9596f28c685815795766ebd05201879f7e9f93b 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. --- circ/returns.pl | 2 ++ .../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 167bc5f..e142117 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 1c30c5b..004a44e 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: