From 0c458aea553431933c74700f427eb6a95b70191d Mon Sep 17 00:00:00 2001 From: Natasha 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 Signed-off-by: Benjamin Rokseth Signed-off-by: Kyle M Hall --- 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 () {

Please transfer item to: [% collectionBranch %]

[% itembarcode |html %]: [% title |html %]

This item is part of a rotating collection.

+

Print slip

[% END %] -- 2.1.4