From baba5518def78e99a5f65ccbea0e744bb25130ea Mon Sep 17 00:00:00 2001
From: Matthias Meusburger <matthias.meusburger@biblibre.com>
Date: Tue, 12 Feb 2019 15:33:33 +0100
Subject: [PATCH] Bug 22372 - Add available location to Holds awaiting pickup

Test plan:
 - Go to Circulation, Holds awaiting pickup (circ/waitingreserves.pl)
 - Note the additional column for available location.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>
---
 koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
index 05ecfee..7694611 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
@@ -1,4 +1,5 @@
 [% USE ItemTypes %]
+[% USE AuthorisedValues %]
 <table id="[% table_name | html %]">
     <thead>
         <tr>
@@ -8,6 +9,7 @@
             <th>Patron</th>
             <th>Home branch</th>
             <th>Current location</th>
+            <th>Available location</th>
             <th>Call number</th>
             <th>Copy number</th>
             <th>Enumeration</th>
@@ -37,6 +39,7 @@
                 </td>
                 <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
                 <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
+                <td>[% AuthorisedValues.GetByCode('LOC', reserveloo.item.location) | html %]</td>
                 <td>[% reserveloo.item.itemcallnumber | html %]</td>
                 <td>[% reserveloo.item.copynumber | html %]</td>
                 <td>[% reserveloo.item.enumchron | html %]</td>
-- 
2.7.4