From 4b45a00905cc15a01631902a8d188c23c4f9f059 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 --- 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 %]) -- 1.9.1