Bugzilla – Attachment 47526 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
0001-Bug-15564-Display-print-slip-option-when-returning-a.patch (text/plain), 2.15 KB, created by
Julian Maurice
on 2016-02-01 17:22:05 UTC
(
hide
)
Description:
Bug 15564 - Display "print slip" option when returning an item which is in a rotating collection
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-02-01 17:22:05 UTC
Size:
2.15 KB
patch
obsolete
>From 5461527d1ba1954e59fe0ee2792e595540f04859 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 | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 8ff9350..7e97d59 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -634,6 +634,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 aace2fb..1bbbd48 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -137,6 +137,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 %]: [% title %]</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 %] > >-- >1.9.1 >
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