Bug 17331 - Show holding branch in holds awaiting pickup report

This patch adds a holdingbranch column to waitingreseves.tt and
separates 'Location' into Home branch and callnumber columns

To test:
1 - Have some holds waiting and holds over
2 - View the report before the patch
3 - Note that location contains homebranch and call number
4 - View the report after the patch
5 - Note the new columns
6 - Ensure data is correct and no info has been lost

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 98bca8f34b)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Nick Clemens 2016-09-21 23:09:55 +00:00 committed by Frédéric Demians
parent 3f23584449
commit 5cd5b755cd
1 changed files with 12 additions and 4 deletions

View File

@ -85,7 +85,9 @@
<th class="title-string">Available since</th>
<th class="anti-the">Title</th>
<th>Patron</th>
<th>Location</th>
<th>Home branch</th>
<th>Current location</th>
<th>Call number</th>
<th>Copy number</th>
<th>Enumeration</th>
<th>Action</th>
@ -104,7 +106,9 @@
[% IF ( reserveloo.borrowermail ) %]<br /><a href="mailto:[% reserveloo.borrowermail %]?subject=Hold waiting: [% reserveloo.title %]">
[% reserveloo.borrowermail %]</a>[% END %]
</td>
<td>[% Branches.GetName( reserveloo.homebranch ) %]<br />[% reserveloo.itemcallnumber %]</td>
<td>[% Branches.GetName( reserveloo.homebranch ) %]</td>
<td>[% Branches.GetName( reserveloo.holdingbranch ) %]</td>
<td>[% reserveloo.itemcallnumber %]</td>
<td>[% reserveloo.copynumber %]</td>
<td>[% reserveloo.enumchron %]</td>
<td>
@ -147,7 +151,9 @@
<th class="title-string">Available since</th>
<th class="anti-the">Title</th>
<th>Patron</th>
<th>Location</th>
<th>Home branch</th>
<th>Current location</th>
<th>Call number</th>
<th>Copy number</th>
<th>Enumeration</th>
<th>Action</th>
@ -165,7 +171,9 @@
[% IF ( overloo.borrowermail ) %]<a href="mailto:[% overloo.borrowermail %]?subject=Reservation: [% overloo.title |url %]">
[% overloo.borrowermail %]</a>[% END %]
</td>
<td>[% Branches.GetName( overloo.homebranch ) %] [% overloo.itemcallnumber %]</td>
<td>[% Branches.GetName( overloo.homebranch ) %]</td>
<td>[% Branches.GetName( overloo.holdingbranch ) %]</td>
<td>[% overloo.itemcallnumber %]</td>
<td>[% overloo.copynumber %]</td>
<td>[% overloo.enumchron %]</td>
<td><form name="cancelReserve" action="waitingreserves.pl" method="post">