Fix for Bug 4946 - hold warning needs rewording
[koha.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 <i><!-- TMPL_VAR NAME="getTitleMessageIteminfo" --></i> (<!-- TMPL_VAR NAME="getBarcodeMessageIteminfo" -->) is currently checked out to this patron.  Renew?</li>
207 <!-- /TMPL_IF -->
208
209 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
210     <li>Item <i><!-- TMPL_VAR NAME="getTitleMessageIteminfo" --></i> (<!-- TMPL_VAR NAME="getBarcodeMessageIteminfo" -->) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="resborrowernumber" -->"><!-- TMPL_VAR NAME="resfirstname" --> <!-- TMPL_VAR NAME="ressurname" --></a> (<!-- TMPL_VAR NAME="rescardnumber" -->) at <!-- TMPL_VAR NAME="resbranchname" --> since <!-- TMPL_VAR NAME="reswaitingdate" --></li>
211 <!-- /TMPL_IF -->
212
213 <!-- TMPL_IF NAME="RESERVED" -->
214     <li>Item <i><!-- TMPL_VAR NAME="getTitleMessageIteminfo" --></i> (<!-- TMPL_VAR NAME="getBarcodeMessageIteminfo" -->) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="resborrowernumber" -->"><!-- TMPL_VAR NAME="resfirstname" --> <!-- TMPL_VAR NAME="ressurname" --></a> (<!-- TMPL_VAR NAME="rescardnumber" -->) at <!-- TMPL_VAR NAME="resbranchname" --> since <!-- TMPL_VAR NAME="resreservedate" --></li>
215 <!-- /TMPL_IF -->
216
217 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
218     <li>Item <i><!-- TMPL_VAR NAME="getTitleMessageIteminfo" --></i> (<!-- TMPL_VAR NAME="getBarcodeMessageIteminfo" -->) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="issued_borrowernumber" -->"><!-- TMPL_VAR NAME="issued_firstname" --> <!-- TMPL_VAR NAME="issued_surname" --></a> (<!-- TMPL_VAR NAME="issued_cardnumber" -->). Check in and check out?</li>
219 <!-- /TMPL_IF -->
220
221 <!-- TMPL_IF NAME="TOO_MANY" -->
222     <li>Too many checked out. <!-- TMPL_VAR NAME="current_loan_count" --> checked out, only <!-- TMPL_VAR NAME="max_loans_allowed" --> are allowed.</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     <!-- TMPL_IF NAME="INVALID_DATE" -->
262     <p>
263     <input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
264     <label for="duedatespec">Due Date</label>
265     </p>
266     <!-- TMPL_ELSE -->
267     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
268     <!-- /TMPL_IF -->
269     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
270     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
271     <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
272 </form>
273
274 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
275     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
276     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
277     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
278     <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
279 </form>
280
281 </div></div>
282 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
283
284         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
285
286 <!-- TMPL_IF NAME="soundon" -->
287 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
288 <!-- /TMPL_IF -->        
289
290 <div class="yui-g">
291 <div id="circ_impossible" class="dialog alert">
292 <!-- RESULT OF ISSUING REQUEST -->
293         <ul>
294         <!-- TMPL_IF NAME="STATS" -->
295             <li>Local Use Recorded</li>
296         <!-- /TMPL_IF -->
297
298         <!-- TMPL_IF NAME="INVALID_DATE" -->
299             <li>The due date &quot;<!-- TMPL_VAR NAME="INVALID_DATE" -->&quot; is invalid</li>
300         <!-- /TMPL_IF -->
301
302         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
303             <li>The barcode was not found <!-- TMPL_VAR NAME="barcode" --></li>
304         <!-- /TMPL_IF -->
305
306         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
307             <li>Item not for loan</li>
308         <!-- /TMPL_IF -->
309
310         <!-- TMPL_IF NAME="WTHDRAWN" -->
311             <li>Item has been withdrawn</li>
312         <!-- /TMPL_IF -->
313
314         <!-- TMPL_IF NAME="RESTRICTED" -->
315             <li>Item is restricted</li>
316         <!-- /TMPL_IF -->
317
318         <!-- TMPL_IF NAME="GNA" -->
319             <li>Patron's address is in doubt</li>
320         <!-- /TMPL_IF -->
321
322         <!-- TMPL_IF NAME="CARD_LOST" -->
323             <li>Patron's card is lost</li>
324         <!-- /TMPL_IF -->
325
326         <!-- TMPL_IF NAME="DEBARRED" -->
327             <li>Patron is restricted</li>
328         <!-- /TMPL_IF -->
329
330         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
331             <li>No more renewals possible</li>
332         <!-- /TMPL_IF -->
333
334         <!-- TMPL_IF NAME="EXPIRED" -->
335             <li>Patron's card is expired</li>
336         <!-- /TMPL_IF -->
337
338         <!-- TMPL_IF NAME="ITEMNOTSAMEBRANCH" -->
339             <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
340         <!-- /TMPL_IF -->
341
342         <!-- TMPL_IF NAME="USERBLOCKEDREMAINING" -->
343             <li>Patron has had overdue items and is blocked for <!-- TMPL_VAR NAME="USERBLOCKEDREMAINING" --> day(s).</li>
344         <!-- /TMPL_IF -->
345         
346             <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
347             <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s).  Check out anyway?</li>
348         <!-- /TMPL_IF -->
349         </ul>
350
351     <!-- TMPL_IF NAME="memberofinstution" -->
352     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
353     <!-- /TMPL_IF -->
354
355 </div></div>
356 <!-- TMPL_ELSE -->
357 <!-- TMPL_IF NAME="soundon" -->
358 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
359 <!-- /TMPL_IF -->
360     <!--/TMPL_IF --> <!-- /impossible -->
361
362 <!-- TMPL_IF NAME="issued" -->
363 <p>Item Checked out</p>
364 <!-- /TMPL_IF -->
365
366 <!-- TMPL_IF NAME="message" -->
367 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
368 <h4>
369 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
370 </h4>
371 <!-- /TMPL_IF -->
372
373
374 <!-- TMPL_IF NAME="CGIselectborrower" -->
375 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
376
377 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
378 <fieldset id="circ_circulation_selectborrower" class="brief">
379     <legend>Patron selection</legend>
380
381     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
382     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
383     <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
384     <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
385
386 <ol>    <li>
387     <label for="borrowernumber">Select a patron: </label>
388     <!-- TMPL_VAR name="CGIselectborrower" -->
389     </li>
390 </ol>
391 <p><input type="submit" value="Select" /></p>
392 </fieldset>
393 </form>
394 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
395
396 <!-- BARCODE ENTRY -->
397
398 <!-- TMPL_IF NAME="borrowernumber" -->
399 <div class="yui-g">
400 <!-- TMPL_UNLESS NAME="noissues" -->
401 <!-- TMPL_IF NAME="flagged" -->
402 <div class="yui-u first">
403 <!-- TMPL_ELSE -->
404 <div>
405
406 <!-- /TMPL_IF -->
407
408
409 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
410 <fieldset id="circ_circulation_issue">
411     <!-- TMPL_IF NAME="DisplayClearScreenButton" -->
412             <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'">
413     <!-- /TMPL_IF -->
414
415     <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
416         <div class="hint">Enter item barcode:</div>
417
418     <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
419             <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
420     <!-- TMPL_ELSE -->
421             <!-- TMPL_IF NAME="barcode" --><input type="text" name="barcode" id="barcode" class="barcode focus" size="14" value="<!-- TMPL_VAR NAME="barcode" -->"/><!-- TMPL_ELSE --><input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /><!-- /TMPL_IF -->
422     <!-- /TMPL_IF -->
423     <input type="submit" value="Check Out" />
424
425     <!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
426         <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
427                 <!-- 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="" />
428 <!-- /TMPL_IF -->
429                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar"  border="0" id="CalendarDueDate" style="cursor: pointer;" />
430              <script language="JavaScript" type="text/javascript">
431                          //<![CDATA[
432                    function validate1(date) {
433                          var today = new Date();
434                          if ( date < today ) {
435                              return true;
436                           } else {
437                              return false;
438                           }
439                      };
440                      function refocus(calendar) {
441                         $('#barcode').focus();
442                         calendar.hide();
443                      };
444                                 //#TODO - ADD syspref (AllowPostDatedCheckouts).
445                      Calendar.setup(
446                           {
447                              inputField : "duedatespec",
448                              ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
449                              button : "CalendarDueDate",
450 //                           disableFunc : validate1,
451 //                           dateStatusFunc : validate1,
452                              onClose : refocus
453                            }
454                         );
455                                 //]]>
456                  </script>
457
458           <label for="stickyduedate"> Remember for Session:</label>
459 <!-- TMPL_IF NAME="stickyduedate" -->
460 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
461 <!-- TMPL_ELSE -->
462 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
463 <!-- /TMPL_IF -->
464           <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;" />
465 </div><!-- /TMPL_IF -->
466           <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
467           <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
468           <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
469           <input type="hidden" name="print" value="maybe" />
470           <input type="hidden" name="debt_confirmed" value="<!-- TMPL_VAR NAME="debt_confirmed" -->" />
471                 <!-- TMPL_IF NAME="CHARGES" -->
472                         <input type="hidden" name="charges" value="yes" />
473                         <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
474                 <!-- /TMPL_IF -->
475 </fieldset>
476 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
477
478 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
479
480     <!-- TMPL_IF NAME="flagged" -->
481                 <!-- TMPL_IF NAME="noissues" -->
482                  <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
483         <div id="circmessages" class="circmessage warning">
484                 <!-- TMPL_ELSE -->
485         <div id="circmessages" class="circmessage attention">
486                 <!-- /TMPL_IF -->
487
488                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
489                 <ul>
490
491                         <!-- TMPL_IF NAME = "warndeparture" -->
492                         <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
493                         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>
494
495                         </li>
496                         <!-- /TMPL_IF -->
497
498                         <!-- TMPL_IF NAME="returnbeforeexpiry" -->
499                          <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
500                          expiry date is before the date due, the date due will be set to the expiry date
501                          </li>
502                         <!-- /TMPL_IF -->
503
504                         <!-- TMPL_IF NAME = "expired" -->
505                         <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
506                         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>
507
508                         </li>
509                         <!-- /TMPL_IF -->
510
511             <!-- TMPL_IF NAME="gna" -->
512                         <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
513                         <!-- /TMPL_IF -->
514
515             <!-- TMPL_IF NAME="lost" -->
516                         <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
517                         <!-- /TMPL_IF -->
518
519             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
520                <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>
521 </li><!-- /TMPL_IF -->
522
523                 <!-- 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>
524             <!-- /TMPL_IF -->
525
526                 <!-- TMPL_IF NAME="charges" -->
527                 <!-- TMPL_IF NAME="charges_is_blocker" -->
528                                 <li class="blocker">
529                 <!-- TMPL_ELSE -->
530                                 <li>
531                 <!-- /TMPL_IF -->
532             <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>.
533                 <!-- TMPL_IF NAME="charges_is_blocker" -->
534                     Checkouts are blocked because fine balance is over the limit.
535                 <!-- /TMPL_IF -->
536             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
537                         <!-- /TMPL_IF -->
538
539                 <!-- TMPL_IF NAME="credits" -->
540                         <li>
541                 <span class="circ-hlt">Credits:</span> Patron has a credit<!-- TMPL_IF NAME="creditsamount" --> of <!-- TMPL_VAR name="creditsamount" --><!-- /TMPL_IF -->
542             </li>
543                         <!-- /TMPL_IF -->
544
545
546
547                         </ul>
548         </div>
549
550                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->
551                         <div id="holdswaiting" class="circmessage">
552                     <h4>Holds waiting:</h4>
553                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
554                                     <ul>
555                                         <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"-->.
556                                     <!-- TMPL_IF NAME="waitingat" -->
557                                         <br /><!-- TMPL_IF NAME="waitinghere" --><strong class="waitinghere"><!-- TMPL_ELSE --><strong><!-- /TMPL_IF -->Waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
558                                     <!-- /TMPL_IF -->
559                                         </li>
560                                     </ul>
561                             <!-- /TMPL_LOOP -->
562                         </div>
563                         <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
564         <!-- TMPL_IF name="notes" -->
565                         <div id="circnotes" class="circmessage">
566                         <h4>Notes:</h4>
567             <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
568                         </div>
569
570
571     <!-- /If notes --><!-- /TMPL_IF -->
572
573         <div id="messages" class="circmessage">
574                 <h4>Messages:</h4>
575                 <ul>
576                         <!--TMPL_LOOP NAME="lib_messages_loop" -->
577                                 <li>
578                                         <span class="circ-hlt">
579                                                 <!--TMPL_VAR NAME="message_date_formatted"-->
580                                                 <!--TMPL_VAR NAME="branchcode"-->
581                                                 <i>"<!--TMPL_VAR NAME="message"-->"</i>
582                                         </span>
583                                         <!-- TMPL_IF NAME="can_delete" -->
584                                                 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&amp;borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
585                                         <!-- TMPL_ELSE -->
586                                                 <!-- TMPL_IF NAME="all_messages_del" -->
587                                                         <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&amp;borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
588                                                 <!-- /TMPL_IF -->
589                                         <!-- /TMPL_IF -->
590                                 </li>
591                         <!-- /TMPL_LOOP -->
592                         <!--TMPL_LOOP NAME="bor_messages_loop" -->
593                                 <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>
594                         <!-- /TMPL_LOOP -->
595
596                 </ul>
597         </div>  
598         
599      <!-- /If flagged --><!-- /TMPL_IF -->
600
601         
602
603 </div>
604 </div>
605
606 <div class="yui-g"><div id="patronlists" class="toptabs">
607
608 <ul>
609 <li>    <!--TMPL_IF NAME="issuecount"-->
610             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
611     <!-- TMPL_ELSE -->
612             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
613     <!-- /TMPL_IF --></li>
614 <li><!-- TMPL_IF NAME="countreserv"-->
615             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
616     <!-- TMPL_ELSE -->
617             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
618     <!-- /TMPL_IF --></li>
619
620 </ul>
621
622 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
623 <div id="checkouts">
624 <!--TMPL_IF NAME="issuecount"-->
625     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
626     <input type="hidden" value="circ" name="destination" />
627     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
628     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
629     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
630         <table id="issuest">
631     <thead><tr>
632         <th scope="col">Due date</th>
633         <th scope="col">Title</th>
634         <th scope="col">Item Type</th>
635         <th scope="col">Checked out on</th> 
636         <th scope="col">Call no</th>
637         <th scope="col">Charge</th>
638         <th scope="col">Price</th>
639         <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
640         <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
641     </tr>
642 <!-- TMPL_IF NAME="todayissues" --></thead>
643 <!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
644         <tbody>
645
646     <!-- TMPL_LOOP NAME="todayissues" -->
647     <!-- TMPL_IF NAME="__odd__" -->
648     <tr>
649     <!-- TMPL_ELSE -->
650     <tr class="highlight">
651     <!-- /TMPL_IF -->
652         <td><!-- TMPL_VAR NAME="dd" --></td>
653         <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>
654         <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>
655         <td><!-- TMPL_VAR NAME="checkoutdate" --></td>
656         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
657             <td><!-- TMPL_VAR NAME="charge" --></td>
658             <td><!-- TMPL_VAR NAME="replacementprice" --></td>
659       <!-- TMPL_IF NAME="renew_failed" -->
660             <td class="problem">Renewal Failed</td>
661       <!-- TMPL_ELSE -->
662         <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
663         <!-- TMPL_IF NAME="can_renew" -->
664         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
665         <!-- TMPL_IF NAME="od" -->
666             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
667         <!-- TMPL_ELSE -->
668             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
669         <!-- /TMPL_IF -->
670         <!-- TMPL_ELSE -->
671             <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
672                 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
673                 <!-- TMPL_IF NAME="od" -->
674                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
675                 <!-- TMPL_ELSE -->
676                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
677                 <!-- /TMPL_IF -->
678                 </span>
679                 <span class="renewals-disabled">
680             <!-- /TMPL_IF -->
681                 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
682                         On Hold
683                 <!-- /TMPL_IF -->
684                 <!-- TMPL_IF NAME="renew_error_too_many" -->
685                         Not Renewable
686                 <!-- /TMPL_IF -->
687             <!-- TMPL_IF NAME="can_confirm" -->
688                 </span>
689             <!-- /TMPL_IF -->
690         <!-- /TMPL_IF -->
691         </td>
692         <!-- /TMPL_IF -->
693   <!-- TMPL_IF NAME="return_failed" -->
694             <td class="problem">Checkin Failed</td>
695       <!--TMPL_ELSE-->
696             <td><input type="checkbox" class="radio" name="barcodes[]"  value="<!-- TMPL_VAR NAME="barcode" -->" />
697                 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
698             </td>
699       <!-- /TMPL_IF -->
700     </tr>
701     <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
702     <!-- /if todayissues --><!-- /TMPL_IF -->
703 <!-- TMPL_IF NAME="previssues" -->
704 <!-- TMPL_IF NAME="todayissues" --><tr><th colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr><!-- TMPL_ELSE -->
705 <tr><th class="{sorter: false}" colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr></thead>
706 <!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
707         <tbody>
708 <!-- /TMPL_IF -->
709     <!-- TMPL_LOOP NAME="previssues" -->
710     <!-- TMPL_IF NAME="__odd__" -->
711         <tr>
712     <!-- TMPL_ELSE -->
713         <tr class="highlight">
714     <!-- /TMPL_IF -->
715         <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
716         <!-- TMPL_VAR NAME="dd" -->
717         </td>
718         <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>
719         <td>
720             <!-- TMPL_VAR NAME="itemtype" -->
721         </td>
722         <td><!-- TMPL_VAR NAME="displaydate" --></td>
723         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
724         <td><!-- TMPL_VAR NAME="charge" --></td>
725         <td><!-- TMPL_VAR NAME="replacementprice" --></td>
726       <!-- TMPL_IF NAME="renew_failed" -->
727             <td class="problem">Renewal Failed</td>
728       <!-- TMPL_ELSE -->
729         <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
730         <!-- TMPL_IF NAME="can_renew" -->
731         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
732         <!-- TMPL_IF NAME="od" -->
733             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
734         <!-- TMPL_ELSE -->
735             <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
736         <!-- /TMPL_IF -->
737         <!-- TMPL_ELSE -->
738             <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
739                 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
740                 <!-- TMPL_IF NAME="od" -->
741                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
742                 <!-- TMPL_ELSE -->
743                     <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
744                 <!-- /TMPL_IF -->
745                 </span>
746                 <span class="renewals-disabled">
747             <!-- /TMPL_IF -->
748                 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
749                         On Hold
750                 <!-- /TMPL_IF -->
751                 <!-- TMPL_IF NAME="renew_error_too_many" -->
752                         Not Renewable
753                 <!-- /TMPL_IF -->
754             <!-- TMPL_IF NAME="can_confirm" -->
755                 </span>
756             <!-- /TMPL_IF -->
757         <!-- /TMPL_IF -->
758         </td>
759         <!-- /TMPL_IF -->
760                   <!-- TMPL_IF NAME="return_failed" -->
761             <td class="problem">Checkin Failed</td>
762         <!--TMPL_ELSE-->
763             <td><input type="checkbox" class="radio" name="barcodes[]"  value="<!-- TMPL_VAR NAME="barcode" -->" />
764                 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
765             </td>
766       <!-- /TMPL_IF -->
767     </tr>
768     <!-- /loop previssues --><!-- /TMPL_LOOP -->
769 <!--/if previssues --><!-- /TMPL_IF -->
770       </tbody>
771     </table>
772     <!--TMPL_IF NAME="issuecount"-->
773     <fieldset class="action">
774         <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
775         <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
776         <label for="override_limit">Override Renewal Limit:</label>
777         <input type="checkbox" name="override_limit" id="override_limit" value="1" />
778         <!-- /TMPL_IF -->
779         <!-- /TMPL_IF -->
780         <input type="submit" name="renew_checked" value="Renew or Return checked items" />
781         <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
782         </fieldset>
783     <!-- /TMPL_IF -->
784 </form>
785 <!-- TMPL_ELSE -->
786 <p>Patron has nothing checked out.</p>
787 <!-- /TMPL_IF -->
788 </div>
789
790
791 <div id="reserves">
792 <!-- TMPL_IF NAME="reservloop" -->
793 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
794         <input type="hidden" name="from" value="circ" />
795     <table id="holdst">
796         <thead><tr>
797             <th>Hold date</th>
798             <th>Title</th>
799             <th>Call Number</th>
800                         <th>Barcode</th>
801             <th>Priority</th>
802                         <th>Delete?</th>
803         </tr></thead>
804                 <tbody>
805         <!-- TMPL_LOOP NAME="reservloop" -->
806         <tr class="<!-- TMPL_VAR NAME="color" -->">
807                     <td><!-- TMPL_VAR NAME="reservedate" --></td>
808                     <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>
809                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
810                                         <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
811                         <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
812                         <!-- /TMPL_IF -->
813                         <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
814                         <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
815                         <!-- /TMPL_IF -->
816                         <!-- TMPL_IF name="nottransfered" --> hasn't been transferred yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
817                         <!-- /TMPL_IF --></em></td>
818                     <td>
819                         <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
820                     </td>
821                                 <td><select name="rank-request">
822                     <option value="n">No</option>
823                     <option value="del">Yes</option>
824                 </select>
825                 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
826                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
827                 <input type="hidden" name="reservenumber" value="<!-- TMPL_VAR name="reservenumber" -->" />
828             </td>
829             </tr>
830         <!-- /TMPL_LOOP --></tbody>
831     </table>
832                 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
833     </form>
834         <!-- TMPL_ELSE -->
835         <p>Patron has nothing on hold.</p>
836 <!-- /TMPL_IF -->
837 </div> <!-- reservesloop -->
838
839 <!-- /TMPL_IF --> <!-- borrowernumber -->
840 </div></div>
841 <!--/TMPL_IF -->
842
843
844
845 </div>
846 </div>
847 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
848 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
849 </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
850 </div>
851 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->