Bug 22372: Add available location to Holds awaiting pickup
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Tue, 12 Feb 2019 14:33:33 +0000 (15:33 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 17 Apr 2019 12:25:25 +0000 (12:25 +0000)
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>

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

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc

index 05ecfee..7694611 100644 (file)
@@ -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>