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