From d31145ffccaeed7158163953b86f5640e646d2b0 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=utf8 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 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 74422066f7..fe8fb5028a 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 b490c05543..24ee9afe43 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.39.5