From 4fd2da66f8ed10c8b0691c83418cbde4351ec1be Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sat, 17 Feb 2018 18:48:50 -0300 Subject: [PATCH] Bug 19467: Display description instead of code for itemtype and location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On reports/itemslost.pl you must now see the descriptions instead of the code for itemtype and location Signed-off-by: delaye Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt index 99026f3898..7412ef4027 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -2,6 +2,7 @@ [% USE Branches %] [% USE ColumnsSettings %] [% USE KohaDates %] +[% USE ItemTypes %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Reports › Lost items @@ -94,9 +95,9 @@ [% item.price %] [% item.replacementprice %] [% Branches.GetName(item.homebranch) %] - [% item.effective_itemtype %] + [% ItemTypes.GetDescription(item.effective_itemtype) %] [% Branches.GetName(item.holdingbranch) %] - [% item.location %] + [% AuthorisedValues.GetByCode( 'LOC', item.location )%] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] [% item.itemnotes %] -- 2.14.1