Bugzilla – Attachment 50908 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.28 KB, created by
Kyle M Hall (khall)
on 2016-04-28 12:39:21 UTC
(
hide
)
Description:
Bug 15564 - Display "print slip" option when returning an item which is in a rotating collection
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-04-28 12:39:21 UTC
Size:
2.28 KB
patch
obsolete
>From 0c458aea553431933c74700f427eb6a95b70191d 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> > >Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > circ/returns.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 7442206..fe8fb50 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -646,6 +646,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 2c650d9..680066e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -149,6 +149,7 @@ $(document).ready(function () { > <h3>Please transfer item to: [% collectionBranch %]</h3> > <p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> > <p>This item is part of a rotating collection.</p> >+ <p><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a></p> > </div> > [% END %] > >-- >2.1.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