From 7a2cd9dcc4097dbf57bb4f128dbaa5e6d892d32c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 25 Nov 2015 16:40:37 +0000 Subject: [PATCH] Bug 12152: Holds to pull report - Display location descriptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ...instead of their code Test plan: Same as before, confirm the the location codes are replaced with their descriptions. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit a901ed155a56a2c4ab95bb7bc951e2a0a7d04277) Signed-off-by: Julian Maurice (cherry picked from commit 0ee6451023ca0c973052bcf685e9ab329a390927) Signed-off-by: Frédéric Demians (cherry picked from commit 217c50382a436cecd159a63eb1f93f4802214a46) Signed-off-by: Liz Rea --- .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 62bfd763be..a7fd1f0455 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -1,4 +1,5 @@ [% USE KohaDates %] +[% USE AuthorisedValues %] [%- USE Branches -%] [%- USE ItemTypes -%] [% INCLUDE 'doc-head-open.inc' %] @@ -130,7 +131,7 @@ $(document).ready(function() {

[% reserveloo.copyno %]

[% reserveloo.enumchron %]

[% ItemTypes.GetDescription( reserveloo.itype ) %] - [% reserveloo.location %] + [% AuthorisedValues.GetByCode('LOC', reserveloo.location) %] [% reserveloo.reservedate | $KohaDates %] in [% Branches.GetName ( reserveloo.branch ) %] [% IF ( reserveloo.statusw ) %]

Waiting

[% END %][% IF ( reserveloo.statusf ) %]

Fullfilled

[% END %] -- 2.39.5