From 3494a50dbf04c8d7dee12d5a3f2edba3c561c6ac Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 22 Nov 2015 02:23:11 +0100 Subject: [PATCH] Bug 15216: Returns - Show branch names and item type description Changes the table with returned items to display the branch names for home and holding branch and the itemtype description instead of the codes. To test: - Check out some items - Return the items - Verify the changes in the table of returned items Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ca23a94..3762e32 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -2,6 +2,7 @@ [% USE Branches %] [% USE Koha %] [% USE Borrowers %] +[% USE ItemTypes %] [% USE AuthorisedValues %] [% INCLUDE 'doc-head-open.inc' %] @@ -583,11 +584,11 @@ $(document).ready(function () { [% riloo.itemtitle |html %] [% riloo.itemauthor %] [% riloo.barcode %] - [% riloo.homebranch %] - [% riloo.holdingbranch %] + [% Branches.GetName( riloo.homebranch ) %] + [% Branches.GetName( riloo.holdingbranch ) %] [% riloo.location %] [% riloo.itemcallnumber %] - [% riloo.itemtype %] [% riloo.ccode %] + [% ItemTypes.GetDescription( riloo.itemtype ) %] [% riloo.ccode %] [% IF ( riloo.duedate ) %] [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %]) -- 2.1.4