Bug 12152: Holds to pull report - Display location descriptions

...instead of their code

Test plan:
Same as before, confirm the the location codes are replaced with their
descriptions.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a901ed155a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 0ee6451023)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 217c50382a)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This commit is contained in:
Jonathan Druart 2015-11-25 16:40:37 +00:00 committed by Liz Rea
parent e5b4d4e894
commit 7a2cd9dcc4
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
[% USE KohaDates %]
[% USE AuthorisedValues %]
[%- USE Branches -%]
[%- USE ItemTypes -%]
[% INCLUDE 'doc-head-open.inc' %]
@ -130,7 +131,7 @@ $(document).ready(function() {
<td><p>[% reserveloo.copyno %]</p></td>
<td><p>[% reserveloo.enumchron %]</p></td>
<td>[% ItemTypes.GetDescription( reserveloo.itype ) %]</td>
<td>[% reserveloo.location %]</td>
<td>[% AuthorisedValues.GetByCode('LOC', reserveloo.location) %]</td>
<td>
<span title="[% reserveloo.reservedate %]">[% reserveloo.reservedate | $KohaDates %] in [% Branches.GetName ( reserveloo.branch ) %]</span>
[% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]