Bugzilla – Attachment 7776 Details for
Bug 7467
Printing Transfer Slips for checkin items that do not have holds but need transfer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_7467: Printing Transfer Slips for transfers that do not have holds - Addendum: Use for automatic transfers as well.
bug7467-Printing-Transfer-Slips-for-transfers-that.patch (text/plain), 3.53 KB, created by
Kyle M Hall
on 2012-02-20 14:48:30 UTC
(
hide
)
Description:
bug_7467: Printing Transfer Slips for transfers that do not have holds - Addendum: Use for automatic transfers as well.
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-02-20 14:48:30 UTC
Size:
3.53 KB
patch
obsolete
>From a9596f28c685815795766ebd05201879f7e9f93b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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) { > </div> > [% END %] > <!-- case of a mistake in transfer loop --> >-[% IF ( WrongTransfer ) %]<div id="return2" class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% TransferWaitingAt %] or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel Transfer</a></h3> >+[% IF ( WrongTransfer ) %]<div id="return2" class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% TransferWaitingAt %]</h3><h3><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip'); return true;">Print Slip</a> or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel Transfer</a></h3> > [% IF ( wborcnum ) %]<h5>Hold for:</h5> > <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> > [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> >@@ -197,7 +197,7 @@ function Dopop(link) { > [% IF ( transfer ) %] > <!-- transfer: item with no reservation, must be returned to its homebranch --> > <div id="return1" class="dialog message"> >- <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3> >+ <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% homebranch %]&op=slip'); return true;">Print Slip</a> )</h3> > </div> > [% IF ( soundon ) %] > <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7467
:
7329
|
7775
| 7776