Bugzilla – Attachment 47274 Details for
Bug 15564
Display "print slip" option when returning an item which is in a rotating collection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15564 - Display "print slip" option when returning an item which is in a rotating collection
Bug-15564---Display-print-slip-option-when-returni.patch (text/plain), 2.42 KB, created by
Marc Véron
on 2016-01-25 18:48:23 UTC
(
hide
)
Description:
Bug 15564 - Display "print slip" option when returning an item which is in a rotating collection
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-01-25 18:48:23 UTC
Size:
2.42 KB
patch
obsolete
>From 68c8979c6c2030b4ea9986f6b403428d69eb5e25 Mon Sep 17 00:00:00 2001 >From: Natasha <tasham_8@hotmail.com> >Date: Wed, 20 Jan 2016 23:35:48 +0000 >Subject: [PATCH] Bug 15564 - Display "print slip" option when returning an > item which is in a rotating collection >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To Test - >1. Make a new rotating collection (under tools) with at least one book in it. >2. Check out the book/s from rotating collection. >3. Set library to a different library. >4. Check in book you just checked out. >5. Should show a dialog box with no print slip link or city. >6. Apply patch and repeat steps 1-4. Dialog box should now show the item name, city name and print slip link. > >Patch works as expected. (Superfluous white space removed on line 136) >Signed-off-by: Marc Véron <veron@veron.ch> >--- > circ/returns.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 5 ++++- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index f7fb52c..0b9d2f4 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -632,6 +632,7 @@ if ( $itemnumber ) { > $template->param( > collectionItemNeedsTransferred => 1, > collectionBranch => GetBranchName($collectionBranch), >+ 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 5895b60..3cf2af7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -133,7 +133,10 @@ $(document).ready(function () { > [% END %] > > [% IF ( collectionItemNeedsTransferred ) %] >- <div id="rotating-collection" class="dialog message">This item is part of a rotating collection and needs to be transferred to [% collectionBranch %]</div> >+ >+<div id="rotating-collection" class="dialog message"> >+<h3><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> is part of a rotating collection and needs to be transferred to [% Branches.GetName( returnbranch ) %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a> )</h3> >+</div> > [% END %] > > <!-- Patron has fines --> >-- >1.7.10.4
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 15564
:
47067
|
47274
|
47526
|
47904
|
50120
|
50121
|
50908
|
50909