From dbdad59c583d62887f36c1ccbd85c87ab6f4cc47 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 Signed-off-by: Jonathan Druart --- 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.0