Adding Copy Number column to table of item information on holds pages.
authorOwen Leonard <oleonard@myacpl.org>
Thu, 26 Feb 2009 19:39:54 +0000 (13:39 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 4 Mar 2009 15:27:49 +0000 (09:27 -0600)
Fixes Bug 2753, Hold screen needs to show copy number.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl

index 3842667..d1bbd29 100644 (file)
@@ -216,10 +216,10 @@ if (alreadyreserved > "0"){
 
         <li> <label for="requestany">Place a hold on the next available copy </label>
                <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
+               <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
+               <input type="hidden" name="alreadyreserved" value="<!-- TMPL_VAR NAME="alreadyreserved" -->" />
         </li>
 
-        <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
-        <input type="hidden" name="alreadyreserved" value="<!-- TMPL_VAR NAME="alreadyreserved" -->" />
 </ol>
         <fieldset class="action">
             <!-- TMPL_IF NAME="cardnumber"-->
@@ -250,7 +250,8 @@ if (alreadyreserved > "0"){
             <th>Barcode</th>
             <th>Home Library</th>
             <th>Last Location</th>
-            <th>Call number</th>
+            <th>Call no.</th>
+            <th>Copy no.</th>
             <th>Information</th>
         </tr>
     <!-- TMPL_LOOP Name="itemloop" -->
@@ -284,6 +285,7 @@ if (alreadyreserved > "0"){
             <td>
             <!-- TMPL_VAR NAME="itemcallnumber" -->
             </td>
+            <td><!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
             <td>
                <!-- TMPL_IF Name="onloan" -->
             <span class="checkedout">Due <!-- TMPL_VAR NAME="onloan" --></span>
index 510313c..dc5bcfe 100644 (file)
                    <!-- TMPL_IF NAME="item-level_itypes" -->
                 <th>Item Type</th>
                 <!-- /TMPL_IF -->
-                <th>Barcode</th>
                 <!-- TMPL_UNLESS NAME="singleBranchMode" -->
                 <th>Home Library</th>
                 <th>Last Location</th>
                 <!-- /TMPL_UNLESS -->
                 <th>Call Number</th>
+                <th>Copy Number</th>
                 <th>Information</th>
             </tr>
         <!-- TMPL_LOOP Name="itemloop" -->
             <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" />
             </td>
             <!-- /TMPL_IF -->
-            <td><!-- TMPL_VAR NAME="barcode"           --></td>
             <!-- TMPL_UNLESS NAME="singleBranchMode" -->
             <td><!-- TMPL_VAR NAME="homebranchname"    --></td>
             <td><!-- TMPL_VAR NAME="holdingbranchname" --></td>
             <!-- /TMPL_UNLESS -->
             <td><!-- TMPL_VAR NAME="itemcallnumber"    --></td>
+            <td><!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
             <td>
         <!-- TMPL_IF Name="date_due" -->
             <span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>