Bug 6405: added enumchron to reserve copy list
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / modules / reserve / request.tt
index cbcfc55..1719af4 100644 (file)
@@ -389,6 +389,9 @@ function checkMultiHold() {
             <th>Last Location</th>
             <th>Call no.</th>
             <th>Copy no.</th>
+            [% IF itemdata_enumchron %]
+            <th>Vol no.</th>
+            [% END %]
             <th>Information</th>
         </tr>
     [% FOREACH itemloo IN bibitemloo.itemloop %]
@@ -427,6 +430,11 @@ function checkMultiHold() {
             [% itemloo.itemcallnumber %]
             </td>
             <td>[% IF ( itemloo.copynumber ) %][% itemloo.copynumber %][% ELSE %]&nbsp;[% END %]</td>
+            [% IF itemdata_enumchron %]
+            <td>
+            [% itemloo.enumchron %]
+            </td>
+            [% END %]
             <td>
                [% IF ( itemloo.onloan ) %]
             <span class="checkedout">Due [% itemloo.date_due %]</span>
@@ -516,7 +524,7 @@ function checkMultiHold() {
             [% END %]
 
           [% IF ( biblioloo.alreadyres ) %]
-              <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% biblioloo.borrowernumber %]">[% biblioloo.borrowerfirstname %] [% biblioloo.borrowersurname %]</a> <strong>already has a hold</strong> on this item </li>
+              <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a> <strong>already has a hold</strong> on this item </li>
           [% END %]
           [% IF ( biblioloo.none_avail ) %]
               <li> <strong>No copies are available</strong> to be placed on hold</li>
@@ -567,7 +575,7 @@ function checkMultiHold() {
 
     [% IF ( biblioloo.reserveloop ) %]
     <table>
-      [% IF ( biblioloo.multi_hold ) %]
+      [% IF ( multi_hold ) %]
           <caption><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber %]">[% biblioloo.title |html %]</a></caption>
       [% END %]
       <tr>