From cf4d45d687723682b8039df1ddd4efa995b2bd48 Mon Sep 17 00:00:00 2001
From: Ian Walls <ian.walls@bywatersolutions.com>
Date: Tue, 3 Jan 2012 12:00:26 -0500
Subject: [PATCH] [SIGNED-OFF] Bug 7399: Holds Queue should show reserve notes

The notes for a specific hold, if they existed, were being added to the tmp_holdsqueue
table by build_holds_queue.pl, but they were not displayed anywhere, which seems a waste.

This patch adds the Notes column to the far right of view_holdsqueue.pl.

To Test:

Place a hold with a note
Run build_holds_queue.pl to place it in the Holds Queue
View the Holds Queue; you should see the note on the far right of the table

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
---
 .../prog/en/modules/circ/view_holdsqueue.tt        |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
index e54529a..8f0d9cb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
@@ -50,6 +50,7 @@ $(document).ready(function() {
         <th class="hq-patron">Patron</th>
         <th class="hq-sendto">Send To</th>
         <th class="hq-date">Date</th>
+        <th class="hq-notes">Notes</th>
     </tr>
 	</thead>
      <tbody>[% FOREACH itemsloo IN itemsloop %]
@@ -75,6 +76,7 @@ $(document).ready(function() {
 			<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
             <td class="hq-sendto">[% itemsloo.pickbranch %]</td>
             <td class="hq-date">[% itemsloo.reservedate %]</td>
+            <td class="hq-notes">[% itemsloo.notes %]</td>
         </tr>
     [% END %]</tbody>
     </table>
-- 
1.7.2.3