Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / circulation.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation
3 <!-- TMPL_IF NAME="borrowernumber" -->
4 &rsaquo; Checking out to <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR name="firstname" -->
5 (<!-- TMPL_VAR NAME="cardnumber" -->)
6 <!-- /TMPL_IF --></title>
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <!-- TMPL_IF NAME="UseTablesortForCirc" --><script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script><!-- /TMPL_IF -->
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
10 <script type="text/javascript">
11 //<![CDATA[
12 <!-- TMPL_IF NAME="UseTablesortForCirc" -->$.tablesorter.addParser({
13     id: 'articles',
14     is: function(s) {return false;  },
15     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
16     type: 'text'
17 });<!-- /TMPL_IF -->
18 <!-- TMPL_UNLESS NAME="borrowernumber" --><!-- TMPL_UNLESS NAME="CGIselectborrower" -->window.onload=function(){ $('#findborrower').focus(); };<!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
19          $(document).ready(function() {
20                 $('#patronlists > ul').tabs();
21                 <!-- TMPL_IF NAME="UseTablesortForCirc" -->$.tablesorter.defaults.widgets = ['zebra'];
22                 $("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
23                 dateFormat: 'uk',<!-- /TMPL_IF -->
24                 headers: { 1: { sorter: 'articles' },5: { sorter: false },6:{sorter:false},7:{sorter:false},8:{sorter:false}}
25                 });
26                 $("#issuest").bind("sortEnd",function() {
27                 $("#previous").parents("tr").remove();  // 'previous checkouts' header chokes table sorter
28             });
29                 $("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
30                 dateFormat: 'uk',<!-- /TMPL_IF -->
31                         sortList: [[0,0]],
32                         headers: { 1: { sorter: 'articles' }}
33                 });<!-- /TMPL_IF -->
34         <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
35         $( '#override_limit' ).click( function () {
36             if ( this.checked ) {
37                 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
38             } else {
39                 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
40             }
41         } ).attr( 'checked', false );
42         <!-- /TMPL_IF -->
43
44 var allcheckboxes = $(".checkboxed");
45         $("#renew_all").click(function(){
46                 $(allcheckboxes).checkCheckboxes(":input[name*=items]"); 
47                 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]");
48         });
49         $("#CheckAllitems").click(function(){
50                 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
51                 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
52         });
53     $("#CheckNoitems").click(function(){
54                 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
55         });
56         $("#CheckAllreturns").click(function(){
57                 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
58                 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
59         });
60     $("#CheckNoreturns" ).click(function(){
61                 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
62         });
63
64     <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
65     <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
66     $( '#override_limit' ).click( function () {
67         if ( this.checked ) {
68            $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
69         } else {
70            $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
71         }
72     } ).attr( 'checked', false );
73     <!-- /TMPL_IF -->
74     <!-- /TMPL_IF -->
75     // Clicking the table cell checks the checkbox inside it
76         $("td").click(function(e){
77                 if(e.target.tagName.toLowerCase() == 'td'){
78            $(this).find("input:checkbox:visible").each( function() {
79                 if($(this).attr("checked")){
80                     $(this).attr("checked",'');
81                 } else {
82                     $(this).attr("checked","checked");
83                     radioCheckBox($(this));
84                 }
85            });
86         }
87         });
88     // prevent adjacent checkboxes from being checked simultaneously
89     function radioCheckBox(box){
90             box.parents("td").siblings().find("input:checkbox:visible").each(function(){
91                 if($(this).attr("checked")){
92                     $(this).attr("checked",'');
93                 }
94              });
95      }
96
97         $("#messages ul").after("<a href=\"#\" id=\"addmessage\">"+_("Add a new message")+"</a>");
98         $("#borrower_messages .cancel").click(function(){
99                 $("#add_message_form").hide();
100         $("#addmessage").show();
101         });
102         $("#addmessage").click(function (){
103         $(this).hide();
104                 $("#add_message_form").show();
105          });
106
107      $("input.radio").click(function(){
108         radioCheckBox($(this));
109      });
110  });
111
112 function validate1(date) {
113     var today = new Date();
114     if ( date < today ) {
115         return true;
116      } else {
117         return false;
118      }
119 };
120 function refocus(calendar) {
121    document.getElementById('barcode').focus();
122    calendar.hide();
123 };
124 //]]>
125 </script>
126
127 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
128 </head>
129 <body>
130
131 <!-- TMPL_INCLUDE NAME="header.inc" -->
132 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
133
134 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;<!-- TMPL_IF NAME="borrowernumber" --> <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> &rsaquo; <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- TMPL_ELSE --> <strong>Checkouts</strong><!-- /TMPL_IF --></div>
135
136
137 <!-- TMPL_IF NAME="CGIselectborrower" -->
138 <div id="doc" class="yui-t7">
139
140    <div id="bd">
141         <div id="yui-main">
142         <div class="yui-g">
143 <!-- TMPL_ELSE -->
144 <div id="doc3" class="yui-t2">
145
146    <div id="bd">
147         <div id="yui-main">
148         <div class="yui-b">
149 <!-- /TMPL_IF -->
150
151 <!-- TMPL_IF NAME="borrowernumber" -->
152 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
153 <!-- /TMPL_IF -->
154
155 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
156 <div style="display: none;" id="add_message_form">
157 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
158 <fieldset id="borrower_messages" class="brief">
159 <legend>Leave a message</legend>
160         <ol>
161     <li>
162             <label for="message_type">Add a message for:</label>
163           <select name="message_type" id="message_type">
164             <option value="L">Other Librarians</option>
165             <option value="B"><!-- TMPL_VAR name="firstname" --></option>
166         </select>
167     </li>
168     <!-- TMPL_IF NAME="canned_bor_notes_loop" -->
169         <li>
170                 <label for="type">Predefined notes: </label>
171                 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
172                     <option value="">Select Note</option>
173                     <!-- TMPL_LOOP NAME="canned_bor_notes_loop" -->
174                     <option value="<!-- TMPL_VAR NAME="lib" -->"><!--TMPL_VAR NAME="authorised_value" --></option>
175                     <!-- /TMPL_LOOP -->
176                 </select>
177         </li>
178     <!-- /TMPL_IF -->
179     <li>
180         <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
181     </li>
182         </ol>
183     <fieldset class="action">
184         <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
185     </fieldset>
186
187         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
188         <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branch" -->" />
189 </fieldset>
190 </form>
191 </div>
192
193 <!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
194 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
195 <div class="yui-g">
196
197 <div id="circ_needsconfirmation" class="dialog alert">
198 <h3>Please Confirm Checkout</h3>
199
200 <ul>
201 <!-- TMPL_IF NAME="DEBT" -->
202     <li>The patron has a debt of <!-- TMPL_VAR name="DEBT" --></li>
203 <!-- /TMPL_IF -->
204
205 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
206     <li>Item is currently checked out to this patron.  Renew?</li>
207 <!-- /TMPL_IF -->
208
209 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
210     <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
211 <!-- /TMPL_IF -->
212
213 <!-- TMPL_IF NAME="RESERVED" -->
214     <li>Item is on hold for <!-- TMPL_VAR NAME="RESERVED" --></li>
215 <!-- /TMPL_IF -->
216
217 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
218     <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) checked out to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Check in and check out?</li>
219 <!-- /TMPL_IF -->
220
221 <!-- TMPL_IF NAME="TOO_MANY" -->
222     <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
223 <!-- /TMPL_IF -->
224
225 <!-- TMPL_IF NAME="BORRNOTSAMEBRANCH" -->
226     <li>This patrons is from a different library (<!-- TMPL_VAR NAME="BORRNOTSAMEBRANCH" -->)</li>
227 <!-- /TMPL_IF -->
228
229 <!-- TMPL_IF NAME="PATRON_CANT" -->
230     <li>This patron can't check out this item per library circulation policy</i>
231 <!-- /TMPL_IF -->
232
233 <!-- TMPL_IF NAME="NOT_FOR_LOAN_FORCING" -->
234     <li>Item is normally not for loan.  Check out anyway?</li>
235 <!-- /TMPL_IF -->
236 <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
237     <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s).  Check out anyway?</li>
238 <!-- /TMPL_IF -->
239 </ul>
240
241 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
242
243 <!-- TMPL_IF NAME="RESERVED" -->
244     <p>
245     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
246     <label for="cancelreserve">Cancel hold</label>
247     </p>
248 <!-- /TMPL_IF -->
249
250 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
251     <p>
252     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
253     <label for="cancelreserve">Cancel hold</label>
254     </p>
255 <!-- /TMPL_IF -->
256
257     <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
258     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
259     <input type="hidden" name="issueconfirmed" value="1" />
260     <!-- TMPL_IF NAME="DEBT" --><input type="hidden" name="debt_confirmed" value="1" /><!-- /TMPL_IF -->
261     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
262     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
263     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
264     <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
265 </form>
266
267 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
268     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
269     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
270     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
271     <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
272 </form>
273
274 </div></div>
275 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
276
277         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
278
279 <!-- TMPL_IF NAME="soundon" -->
280 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
281 <!-- /TMPL_IF -->        
282
283 <div class="yui-g">
284 <div id="circ_impossible" class="dialog alert">
285 <!-- RESULT OF ISSUING REQUEST -->
286         <ul>
287         <!-- TMPL_IF NAME="STATS" -->
288             <li>Local Use Recorded</li>
289         <!-- /TMPL_IF -->
290
291         <!-- TMPL_IF NAME="INVALID_DATE" -->
292             <li>The due date &quot;<!-- TMPL_VAR NAME="INVALID_DATE" -->&quot; is invalid</li>
293         <!-- /TMPL_IF -->
294
295         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
296             <li>The barcode was not found <!-- TMPL_VAR NAME="barcode" --></li>
297         <!-- /TMPL_IF -->
298
299         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
300             <li>Item not for loan</li>
301         <!-- /TMPL_IF -->
302
303         <!-- TMPL_IF NAME="WTHDRAWN" -->
304             <li>Item has been withdrawn</li>
305         <!-- /TMPL_IF -->
306
307         <!-- TMPL_IF NAME="RESTRICTED" -->
308             <li>Item is restricted</li>
309         <!-- /TMPL_IF -->
310
311         <!-- TMPL_IF NAME="GNA" -->
312             <li>Patron's address is in doubt</li>
313         <!-- /TMPL_IF -->
314
315         <!-- TMPL_IF NAME="CARD_LOST" -->
316             <li>Patron's card is lost</li>
317         <!-- /TMPL_IF -->
318
319         <!-- TMPL_IF NAME="DEBARRED" -->
320             <li>Patron is restricted</li>
321         <!-- /TMPL_IF -->
322
323         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
324             <li>No more renewals possible</li>
325         <!-- /TMPL_IF -->
326
327         <!-- TMPL_IF NAME="EXPIRED" -->
328             <li>Patron's card is expired</li>
329         <!-- /TMPL_IF -->
330
331         <!-- TMPL_IF NAME="ITEMNOTSAMEBRANCH" -->
332             <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
333         <!-- /TMPL_IF -->
334
335         <!-- TMPL_IF NAME="USERBLOCKEDREMAINING" -->
336             <li>Patron has had overdue items and is blocked for <!-- TMPL_VAR NAME="USERBLOCKEDREMAINING" --> day(s).</li>
337         <!-- /TMPL_IF -->
338         
339             <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
340             <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s).  Check out anyway?</li>
341         <!-- /TMPL_IF -->
342         </ul>
343
344     <!-- TMPL_IF NAME="memberofinstution" -->
345     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
346     <!-- /TMPL_IF -->
347
348 </div></div>
349 <!-- TMPL_ELSE -->
350 <!-- TMPL_IF NAME="soundon" -->
351 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
352 <!-- /TMPL_IF -->
353     <!--/TMPL_IF --> <!-- /impossible -->
354
355 <!-- TMPL_IF NAME="issued" -->
356 <p>Item Checked out</p>
357 <!-- /TMPL_IF -->
358
359 <!-- TMPL_IF NAME="message" -->
360 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
361 <h4>
362 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
363 </h4>
364 <!-- /TMPL_IF -->
365
366
367 <!-- TMPL_IF NAME="CGIselectborrower" -->
368 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
369
370 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
371 <fieldset id="circ_circulation_selectborrower" class="brief">
372     <legend>Patron selection</legend>
373
374     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
375     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
376     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
377     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
378
379 <ol>    <li>
380     <label for="borrowernumber">Select a patron: </label>
381     <!-- TMPL_VAR name="CGIselectborrower" -->
382     </li>
383 </ol>
384 <p><input type="submit" value="Select" /></p>
385 </fieldset>
386 </form>
387 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
388
389 <!-- BARCODE ENTRY -->
390
391 <!-- TMPL_IF NAME="borrowernumber" -->
392 <div class="yui-g">
393 <!-- TMPL_UNLESS NAME="noissues" -->
394 <!-- TMPL_IF NAME="flagged" -->
395 <div class="yui-u first">
396 <!-- TMPL_ELSE -->
397 <div>
398
399 <!-- /TMPL_IF -->
400
401
402 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
403 <fieldset id="circ_circulation_issue">
404     <!-- TMPL_IF NAME="DisplayClearScreenButton" -->
405             <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'">
406     <!-- /TMPL_IF -->
407
408     <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
409         <div class="hint">Enter item barcode:</div>
410
411     <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
412             <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
413     <!-- TMPL_ELSE -->
414             <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
415     <!-- /TMPL_IF -->
416     <input type="submit" value="Check Out" />
417
418     <!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
419         <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
420                 <!-- TMPL_IF NAME="duedatespec" --><input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" /><!-- TMPL_ELSE --><input type="text" size="10" id="duedatespec" name="duedatespec" value="" />
421 <!-- /TMPL_IF -->
422                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar"  border="0" id="CalendarDueDate" style="cursor: pointer;" />
423              <script language="JavaScript" type="text/javascript">
424                          //<![CDATA[
425                    function validate1(date) {
426                          var today = new Date();
427                          if ( date < today ) {
428                              return true;
429                           } else {
430                              return false;
431                           }
432                      };
433                      function refocus(calendar) {
434                         $('#barcode').focus();
435                         calendar.hide();
436                      };
437                                 //#TODO - ADD syspref (AllowPostDatedCheckouts).
438                      Calendar.setup(
439                           {
440                              inputField : "duedatespec",
441                              ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
442                              button : "CalendarDueDate",
443                              disableFunc : validate1,
444                              dateStatusFunc : validate1,
445                              onClose : refocus
446                            }
447                         );
448                                 //]]>
449                  </script>
450
451           <label for="stickyduedate"> Remember for Session:</label>
452 <!-- TMPL_IF NAME="stickyduedate" -->
453 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
454 <!-- TMPL_ELSE -->
455 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
456 <!-- /TMPL_IF -->
457           <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
458 </div><!-- /TMPL_IF -->
459           <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
460           <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
461           <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
462           <input type="hidden" name="print" value="maybe" />
463           <input type="hidden" name="debt_confirmed" value="<!-- TMPL_VAR NAME="debt_confirmed" -->" />
464                 <!-- TMPL_IF NAME="CHARGES" -->
465                         <input type="hidden" name="charges" value="yes" />
466                         <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
467                 <!-- /TMPL_IF -->
468 </fieldset>
469 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
470
471 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
472
473     <!-- TMPL_IF NAME="flagged" -->
474                 <!-- TMPL_IF NAME="noissues" -->
475                  <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
476         <div id="circmessages" class="circmessage warning">
477                 <!-- TMPL_ELSE -->
478         <div id="circmessages" class="circmessage attention">
479                 <!-- /TMPL_IF -->
480
481                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
482                 <ul>
483
484                         <!-- TMPL_IF NAME = "warndeparture" -->
485                         <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
486                         Patron's card expires on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
487
488                         </li>
489                         <!-- /TMPL_IF -->
490
491                         <!-- TMPL_IF NAME="returnbeforeexpiry" -->
492                          <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
493                          expiry date is before the date due, the date due will be set to the expiry date
494                          </li>
495                         <!-- /TMPL_IF -->
496
497                         <!-- TMPL_IF NAME = "expired" -->
498                         <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
499                         Patron's card expired on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
500
501                         </li>
502                         <!-- /TMPL_IF -->
503
504             <!-- TMPL_IF NAME="gna" -->
505                         <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
506                         <!-- /TMPL_IF -->
507
508             <!-- TMPL_IF NAME="lost" -->
509                         <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
510                         <!-- /TMPL_IF -->
511
512             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
513                <span class="circ-hlt"> Restricted:</span> Patron's account is restricted <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;status=0">Lift restriction</a>
514 </li><!-- /TMPL_IF -->
515
516                 <!-- TMPL_IF name="odues" --><li><!-- TMPL_IF name="nonreturns" --><span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a><!-- /TMPL_IF --></li>
517             <!-- /TMPL_IF -->
518
519                 <!-- TMPL_IF NAME="charges" -->
520                 <!-- TMPL_IF NAME="charges_is_blocker" -->
521                                 <li class="blocker">
522                 <!-- TMPL_ELSE -->
523                                 <li>
524                 <!-- /TMPL_IF -->
525             <span class="circ-hlt">Fines:</span> Patron has  <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Outstanding fines<!-- TMPL_IF NAME="chargesamount" --> of <!-- TMPL_VAR NAME="chargesamount" --><!-- /TMPL_IF --></a>.
526                 <!-- TMPL_IF NAME="charges_is_blocker" -->
527                     Checkouts are blocked because fine balance is over the limit.
528                 <!-- /TMPL_IF -->
529             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
530                         <!-- /TMPL_IF -->
531
532                 <!-- TMPL_IF NAME="credits" -->
533                         <li>
534                 <span class="circ-hlt">Credits:</span> Patron has a credit<!-- TMPL_IF NAME="creditsamount" --> of <!-- TMPL_VAR name="creditsamount" --><!-- /TMPL_IF -->
535             </li>
536                         <!-- /TMPL_IF -->
537
538
539
540                         </ul>
541         </div>
542
543                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->
544                         <div id="holdswaiting" class="circmessage">
545                     <h4>Holds waiting:</h4>
546                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
547                                     <ul>
548                                         <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> (<!-- TMPL_VAR NAME="itemtype"-->), <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author"--><!-- /TMPL_IF --> Hold placed on <!-- TMPL_VAR NAME="reservedate"-->.
549                                     <!-- TMPL_IF NAME="waitingat" -->
550                                         <br /><!-- TMPL_IF NAME="waitinghere" --><strong class="waitinghere"><!-- TMPL_ELSE --><strong><!-- /TMPL_IF -->Waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
551                                     <!-- /TMPL_IF -->
552                                         </li>
553                                     </ul>
554                             <!-- /TMPL_LOOP -->
555                         </div>
556                         <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
557         <!-- TMPL_IF name="notes" -->
558                         <div id="circnotes" class="circmessage">
559                         <h4>Notes:</h4>
560             <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
561                         </div>
562
563
564     <!-- /If notes --><!-- /TMPL_IF -->
565
566         <div id="messages" class="circmessage">
567                 <h4>Messages:</h4>
568                 <ul>
569                         <!--TMPL_LOOP NAME="lib_messages_loop" -->
570                                 <li>
571                                         <span class="circ-hlt">
572                                                 <!--TMPL_VAR NAME="message_date_formatted"-->
573                                                 <!--TMPL_VAR NAME="branchcode"-->
574                                                 <i>"<!--TMPL_VAR NAME="message"-->"</i>
575                                         </span>
576                                         <!-- TMPL_IF NAME="can_delete" -->
577                                                 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&amp;borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
578                                         <!-- TMPL_ELSE -->
579                                                 <!-- TMPL_IF NAME="all_messages_del" -->
580                                                         <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&amp;borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
581                                                 <!-- /TMPL_IF -->
582                                         <!-- /TMPL_IF -->
583                                 </li>
584                         <!-- /TMPL_LOOP -->
585                         <!--TMPL_LOOP NAME="bor_messages_loop" -->
586                                 <li><span class=""><!--TMPL_VAR NAME="message_date_formatted"--> <!--TMPL_VAR NAME="branchcode"--> <i>"<!--TMPL_VAR NAME="message"-->"</i></span> <!-- TMPL_IF NAME="can_delete" --><a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&amp;borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a><!-- /TMPL_IF --></li>
587                         <!-- /TMPL_LOOP -->
588
589                 </ul>
590         </div>  
591         
592      <!-- /If flagged --><!-- /TMPL_IF -->
593
594         
595
596 </div>
597 </div>
598
599 <div class="yui-g"><div id="patronlists" class="toptabs">
600
601 <ul>
602 <li>    <!--TMPL_IF NAME="issuecount"-->
603             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
604     <!-- TMPL_ELSE -->
605             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
606     <!-- /TMPL_IF --></li>
607 <li><!-- TMPL_IF NAME="countreserv"-->
608             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
609     <!-- TMPL_ELSE -->
610             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
611     <!-- /TMPL_IF --></li>
612
613 </ul>
614
615 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
616 <div id="checkouts">
617 <!--TMPL_IF NAME="issuecount"-->
618     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
619     <input type="hidden" value="circ" name="destination" />
620     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
621     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
622     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
623         <table id="issuest">
624     <thead><tr>
625         <th scope="col">Due date</th>
626         <th scope="col">Title</th>
627         <th scope="col">Item Type</th>
628         <th scope="col">Checked out on</th> 
629         <th scope="col">Call no</th>
630         <th scope="col">Charge</th>
631         <th scope="col">Price</th>
632         <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
633         <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
634     </tr>
635 <!-- TMPL_IF NAME="todayissues" --></thead>
636 <!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
637         <tbody>
638
639     <!-- TMPL_LOOP NAME="todayissues" -->
640     <!-- TMPL_IF NAME="__odd__" -->
641     <tr>
642     <!-- TMPL_ELSE -->
643     <tr class="highlight">
644     <!-- /TMPL_IF -->
645         <td><!-- TMPL_VAR NAME="dd" --></td>
646         <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="itemnotes" -->- <span class="circ-hlt"><!-- TMPL_VAR name="itemnotes" --></span><!-- /TMPL_IF --> <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
647         <td><!-- TMPL_UNLESS NAME="noItemTypeImages" --> <!-- TMPL_IF NAME="itemtype_image" --><img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" /><!-- /TMPL_IF --><!-- /TMPL_UNLESS --><!-- TMPL_VAR NAME="itemtype" --></td>
648         <td><!-- TMPL_VAR NAME="checkoutdate" --></td>
649         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
650             <td><!-- TMPL_VAR NAME="charge" --></td>
651             <td><!-- TMPL_VAR NAME="replacementprice" --></td>
652       <!-- TMPL_IF NAME="renew_failed" -->
653             <td class="problem">Renewal Failed</td>
654       <!-- TMPL_ELSE -->
655         <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
656         <!-- TMPL_IF NAME="can_renew" -->
657         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
658         <!-- TMPL_IF NAME="od" -->
659             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
660         <!-- TMPL_ELSE -->
661             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
662         <!-- /TMPL_IF -->
663         <!-- TMPL_ELSE -->
664             <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
665                 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
666                 <!-- TMPL_IF NAME="od" -->
667                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
668                 <!-- TMPL_ELSE -->
669                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
670                 <!-- /TMPL_IF -->
671                 </span>
672                 <span class="renewals-disabled">
673             <!-- /TMPL_IF -->
674                 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
675                         On Hold
676                 <!-- /TMPL_IF -->
677                 <!-- TMPL_IF NAME="renew_error_too_many" -->
678                         Not Renewable
679                 <!-- /TMPL_IF -->
680             <!-- TMPL_IF NAME="can_confirm" -->
681                 </span>
682             <!-- /TMPL_IF -->
683         <!-- /TMPL_IF -->
684         </td>
685         <!-- /TMPL_IF -->
686   <!-- TMPL_IF NAME="return_failed" -->
687             <td class="problem">Checkin Failed</td>
688       <!--TMPL_ELSE-->
689             <td><input type="checkbox" class="radio" name="barcodes[]"  value="<!-- TMPL_VAR NAME="barcode" -->" />
690                 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
691             </td>
692       <!-- /TMPL_IF -->
693     </tr>
694     <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
695     <!-- /if todayissues --><!-- /TMPL_IF -->
696 <!-- TMPL_IF NAME="previssues" -->
697 <!-- TMPL_IF NAME="todayissues" --><tr><th colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr><!-- TMPL_ELSE -->
698 <tr><th class="{sorter: false}" colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr></thead>
699 <!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
700         <tbody>
701 <!-- /TMPL_IF -->
702     <!-- TMPL_LOOP NAME="previssues" -->
703     <!-- TMPL_IF NAME="__odd__" -->
704         <tr>
705     <!-- TMPL_ELSE -->
706         <tr class="highlight">
707     <!-- /TMPL_IF -->
708         <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
709         <!-- TMPL_VAR NAME="dd" -->
710         </td>
711         <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF --> <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
712         <td>
713             <!-- TMPL_VAR NAME="itemtype" -->
714         </td>
715         <td><!-- TMPL_VAR NAME="displaydate" --></td>
716         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
717         <td><!-- TMPL_VAR NAME="charge" --></td>
718         <td><!-- TMPL_VAR NAME="replacementprice" --></td>
719       <!-- TMPL_IF NAME="renew_failed" -->
720             <td class="problem">Renewal Failed</td>
721       <!-- TMPL_ELSE -->
722         <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
723         <!-- TMPL_IF NAME="can_renew" -->
724         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
725         <!-- TMPL_IF NAME="od" -->
726             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
727         <!-- TMPL_ELSE -->
728             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
729         <!-- /TMPL_IF -->
730         <!-- TMPL_ELSE -->
731             <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
732                 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
733                 <!-- TMPL_IF NAME="od" -->
734                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
735                 <!-- TMPL_ELSE -->
736                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
737                 <!-- /TMPL_IF -->
738                 </span>
739                 <span class="renewals-disabled">
740             <!-- /TMPL_IF -->
741                 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
742                         On Hold
743                 <!-- /TMPL_IF -->
744                 <!-- TMPL_IF NAME="renew_error_too_many" -->
745                         Not Renewable
746                 <!-- /TMPL_IF -->
747             <!-- TMPL_IF NAME="can_confirm" -->
748                 </span>
749             <!-- /TMPL_IF -->
750         <!-- /TMPL_IF -->
751         </td>
752         <!-- /TMPL_IF -->
753                   <!-- TMPL_IF NAME="return_failed" -->
754             <td class="problem">Checkin Failed</td>
755         <!--TMPL_ELSE-->
756             <td><input type="checkbox" class="radio" name="barcodes[]"  value="<!-- TMPL_VAR NAME="barcode" -->" />
757                 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
758             </td>
759       <!-- /TMPL_IF -->
760     </tr>
761     <!-- /loop previssues --><!-- /TMPL_LOOP -->
762 <!--/if previssues --><!-- /TMPL_IF -->
763       </tbody>
764     </table>
765     <!--TMPL_IF NAME="issuecount"-->
766     <fieldset class="action">
767         <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
768         <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
769         <label for="override_limit">Override Renewal Limit:</label>
770         <input type="checkbox" name="override_limit" id="override_limit" value="1" />
771         <!-- /TMPL_IF -->
772         <!-- /TMPL_IF -->
773         <input type="submit" name="renew_checked" value="Renew or Return checked items" />
774         <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
775         </fieldset>
776     <!-- /TMPL_IF -->
777 </form>
778 <!-- TMPL_ELSE -->
779 <p>Patron has nothing checked out.</p>
780 <!-- /TMPL_IF -->
781 </div>
782
783
784 <div id="reserves">
785 <!-- TMPL_IF NAME="reservloop" -->
786 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
787         <input type="hidden" name="from" value="circ" />
788     <table id="holdst">
789         <thead><tr>
790             <th>Hold date</th>
791             <th>Title</th>
792             <th>Call Number</th>
793                         <th>Barcode</th>
794             <th>Priority</th>
795                         <th>Delete?</th>
796         </tr></thead>
797                 <tbody>
798         <!-- TMPL_LOOP NAME="reservloop" -->
799         <tr class="<!-- TMPL_VAR NAME="color" -->">
800                     <td><!-- TMPL_VAR NAME="reservedate" --></td>
801                     <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --></td>
802                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
803                                         <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
804                         <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
805                         <!-- /TMPL_IF -->
806                         <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
807                         <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
808                         <!-- /TMPL_IF -->
809                         <!-- TMPL_IF name="nottransfered" --> hasn't been transferred yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
810                         <!-- /TMPL_IF --></em></td>
811                     <td>
812                         <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
813                     </td>
814                                 <td><select name="rank-request">
815                     <option value="n">No</option>
816                     <option value="del">Yes</option>
817                 </select>
818                 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
819                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
820             </td>
821             </tr>
822         <!-- /TMPL_LOOP --></tbody>
823     </table>
824                 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
825     </form>
826         <!-- TMPL_ELSE -->
827         <p>Patron has nothing on hold.</p>
828 <!-- /TMPL_IF -->
829 </div> <!-- reservesloop -->
830
831 <!-- /TMPL_IF --> <!-- borrowernumber -->
832 </div></div>
833 <!--/TMPL_IF -->
834
835
836
837 </div>
838 </div>
839 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
840 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
841 </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
842 </div>
843 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->