1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation
3 <!-- TMPL_IF NAME="borrowernumber" -->
4 › 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">
12 <!-- TMPL_IF NAME="UseTablesortForCirc" -->$.tablesorter.addParser({
14 is: function(s) {return false; },
15 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
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}}
26 $("#issuest").bind("sortEnd",function() {
27 $("#previous").parents("tr").remove(); // 'previous checkouts' header chokes table sorter
29 $("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
30 dateFormat: 'uk',<!-- /TMPL_IF -->
32 headers: { 1: { sorter: 'articles' }}
34 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
35 $( '#override_limit' ).click( function () {
37 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
39 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
41 } ).attr( 'checked', false );
44 var allcheckboxes = $(".checkboxed");
45 $("#renew_all").click(function(){
46 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
47 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]");
49 $("#CheckAllitems").click(function(){
50 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
51 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
53 $("#CheckNoitems").click(function(){
54 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
56 $("#CheckAllreturns").click(function(){
57 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
58 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
60 $("#CheckNoreturns" ).click(function(){
61 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
64 <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
65 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
66 $( '#override_limit' ).click( function () {
68 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
70 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
72 } ).attr( 'checked', false );
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",'');
82 $(this).attr("checked","checked");
83 radioCheckBox($(this));
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",'');
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();
102 $("#addmessage").click(function (){
104 $("#add_message_form").show();
107 $("input.radio").click(function(){
108 radioCheckBox($(this));
112 function validate1(date) {
113 var today = new Date();
114 if ( date < today ) {
120 function refocus(calendar) {
121 document.getElementById('barcode').focus();
127 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
131 <!-- TMPL_INCLUDE NAME="header.inc" -->
132 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
134 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›<!-- TMPL_IF NAME="borrowernumber" --> <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- TMPL_ELSE --> <strong>Checkouts</strong><!-- /TMPL_IF --></div>
137 <!-- TMPL_IF NAME="CGIselectborrower" -->
138 <div id="doc" class="yui-t7">
144 <div id="doc3" class="yui-t2">
151 <!-- TMPL_IF NAME="borrowernumber" -->
152 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
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>
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>
168 <!-- TMPL_IF NAME="canned_bor_notes_loop" -->
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>
180 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
183 <fieldset class="action">
184 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
187 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
188 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branch" -->" />
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" -->
197 <div id="circ_needsconfirmation" class="dialog alert">
198 <h3>Please Confirm Checkout</h3>
201 <!-- TMPL_IF NAME="DEBT" -->
202 <li>The patron has a debt of <!-- TMPL_VAR name="DEBT" --></li>
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>
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>
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>
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>
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>
225 <!-- TMPL_IF NAME="BORRNOTSAMEBRANCH" -->
226 <li>This patrons is from a different library (<!-- TMPL_VAR NAME="BORRNOTSAMEBRANCH" -->)</li>
229 <!-- TMPL_IF NAME="PATRON_CANT" -->
230 <li>This patron can't check out this item per library circulation policy</i>
233 <!-- TMPL_IF NAME="NOT_FOR_LOAN_FORCING" -->
234 <li>Item is normally not for loan. Check out anyway?</li>
236 <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
237 <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s). Check out anyway?</li>
241 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
243 <!-- TMPL_IF NAME="RESERVED" -->
245 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
246 <label for="cancelreserve">Cancel hold</label>
250 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
252 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
253 <label for="cancelreserve">Cancel hold</label>
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" -->
263 <input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
264 <label for="duedatespec">Due Date</label>
267 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
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" />
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" />
282 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
284 <!-- TMPL_IF NAME="IMPOSSIBLE" -->
286 <!-- TMPL_IF NAME="soundon" -->
287 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
291 <div id="circ_impossible" class="dialog alert">
292 <!-- RESULT OF ISSUING REQUEST -->
294 <!-- TMPL_IF NAME="STATS" -->
295 <li>Local Use Recorded</li>
298 <!-- TMPL_IF NAME="INVALID_DATE" -->
299 <li>The due date "<!-- TMPL_VAR NAME="INVALID_DATE" -->" is invalid</li>
302 <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
303 <li>The barcode was not found <!-- TMPL_VAR NAME="barcode" --></li>
306 <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
307 <li>Item not for loan</li>
310 <!-- TMPL_IF NAME="WTHDRAWN" -->
311 <li>Item has been withdrawn</li>
314 <!-- TMPL_IF NAME="RESTRICTED" -->
315 <li>Item is restricted</li>
318 <!-- TMPL_IF NAME="GNA" -->
319 <li>Patron's address is in doubt</li>
322 <!-- TMPL_IF NAME="CARD_LOST" -->
323 <li>Patron's card is lost</li>
326 <!-- TMPL_IF NAME="DEBARRED" -->
327 <li>Patron is restricted</li>
330 <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
331 <li>No more renewals possible</li>
334 <!-- TMPL_IF NAME="EXPIRED" -->
335 <li>Patron's card is expired</li>
338 <!-- TMPL_IF NAME="ITEMNOTSAMEBRANCH" -->
339 <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
342 <!-- TMPL_IF NAME="USERBLOCKEDREMAINING" -->
343 <li>Patron has had overdue items and is blocked for <!-- TMPL_VAR NAME="USERBLOCKEDREMAINING" --> day(s).</li>
346 <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
347 <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s). Check out anyway?</li>
351 <!-- TMPL_IF NAME="memberofinstution" -->
352 <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
357 <!-- TMPL_IF NAME="soundon" -->
358 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
360 <!--/TMPL_IF --> <!-- /impossible -->
362 <!-- TMPL_IF NAME="issued" -->
363 <p>Item Checked out</p>
366 <!-- TMPL_IF NAME="message" -->
367 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
369 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
374 <!-- TMPL_IF NAME="CGIselectborrower" -->
375 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
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>
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" -->" />
387 <label for="borrowernumber">Select a patron: </label>
388 <!-- TMPL_VAR name="CGIselectborrower" -->
391 <p><input type="submit" value="Select" /></p>
394 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
396 <!-- BARCODE ENTRY -->
398 <!-- TMPL_IF NAME="borrowernumber" -->
400 <!-- TMPL_UNLESS NAME="noissues" -->
401 <!-- TMPL_IF NAME="flagged" -->
402 <div class="yui-u first">
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'">
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>
418 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
419 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
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 -->
423 <input type="submit" value="Check Out" />
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="" />
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">
432 function validate1(date) {
433 var today = new Date();
434 if ( date < today ) {
440 function refocus(calendar) {
441 $('#barcode').focus();
444 //#TODO - ADD syspref (AllowPostDatedCheckouts).
447 inputField : "duedatespec",
448 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
449 button : "CalendarDueDate",
450 // disableFunc : validate1,
451 // dateStatusFunc : validate1,
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" />
462 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
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" -->" />
476 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
478 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
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">
485 <div id="circmessages" class="circmessage attention">
488 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
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" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
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
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" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
511 <!-- TMPL_IF NAME="gna" -->
512 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
515 <!-- TMPL_IF NAME="lost" -->
516 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
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" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&status=0">Lift restriction</a>
521 </li><!-- /TMPL_IF -->
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>
526 <!-- TMPL_IF NAME="charges" -->
527 <!-- TMPL_IF NAME="charges_is_blocker" -->
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.
536 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
539 <!-- TMPL_IF NAME="credits" -->
541 <span class="circ-hlt">Credits:</span> Patron has a credit<!-- TMPL_IF NAME="creditsamount" --> of <!-- TMPL_VAR name="creditsamount" --><!-- /TMPL_IF -->
550 <!-- TMPL_IF NAME="WaitingReserveLoop" -->
551 <div id="holdswaiting" class="circmessage">
552 <h4>Holds waiting:</h4>
553 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
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>
563 <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
564 <!-- TMPL_IF name="notes" -->
565 <div id="circnotes" class="circmessage">
567 <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
571 <!-- /If notes --><!-- /TMPL_IF -->
573 <div id="messages" class="circmessage">
576 <!--TMPL_LOOP NAME="lib_messages_loop" -->
578 <span class="circ-hlt">
579 <!--TMPL_VAR NAME="message_date_formatted"-->
580 <!--TMPL_VAR NAME="branchcode"-->
581 <i>"<!--TMPL_VAR NAME="message"-->"</i>
583 <!-- TMPL_IF NAME="can_delete" -->
584 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
586 <!-- TMPL_IF NAME="all_messages_del" -->
587 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
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" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a><!-- /TMPL_IF --></li>
599 <!-- /If flagged --><!-- /TMPL_IF -->
606 <div class="yui-g"><div id="patronlists" class="toptabs">
609 <li> <!--TMPL_IF NAME="issuecount"-->
610 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
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>
617 <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
618 <!-- /TMPL_IF --></li>
622 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
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" -->" />
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>
642 <!-- TMPL_IF NAME="todayissues" --></thead>
643 <!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
646 <!-- TMPL_LOOP NAME="todayissues" -->
647 <!-- TMPL_IF NAME="__odd__" -->
650 <tr class="highlight">
652 <td><!-- TMPL_VAR NAME="dd" --></td>
653 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&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" -->&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>
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" />
668 <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
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" />
676 <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
679 <span class="renewals-disabled">
681 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
684 <!-- TMPL_IF NAME="renew_error_too_many" -->
687 <!-- TMPL_IF NAME="can_confirm" -->
693 <!-- TMPL_IF NAME="return_failed" -->
694 <td class="problem">Checkin Failed</td>
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;" />
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" -->
709 <!-- TMPL_LOOP NAME="previssues" -->
710 <!-- TMPL_IF NAME="__odd__" -->
713 <tr class="highlight">
715 <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
716 <!-- TMPL_VAR NAME="dd" -->
718 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&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" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
720 <!-- TMPL_VAR NAME="itemtype" -->
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>
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" />
735 <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
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" />
743 <input type="checkbox" class="radio" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
746 <span class="renewals-disabled">
748 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
751 <!-- TMPL_IF NAME="renew_error_too_many" -->
754 <!-- TMPL_IF NAME="can_confirm" -->
760 <!-- TMPL_IF NAME="return_failed" -->
761 <td class="problem">Checkin Failed</td>
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;" />
768 <!-- /loop previssues --><!-- /TMPL_LOOP -->
769 <!--/if previssues --><!-- /TMPL_IF -->
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" />
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" />
786 <p>Patron has nothing checked out.</p>
792 <!-- TMPL_IF NAME="reservloop" -->
793 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
794 <input type="hidden" name="from" value="circ" />
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>
813 <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
814 <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
816 <!-- TMPL_IF name="nottransfered" --> hasn't been transferred yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
817 <!-- /TMPL_IF --></em></td>
819 <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
821 <td><select name="rank-request">
822 <option value="n">No</option>
823 <option value="del">Yes</option>
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" -->" />
830 <!-- /TMPL_LOOP --></tbody>
832 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
835 <p>Patron has nothing on hold.</p>
837 </div> <!-- reservesloop -->
839 <!-- /TMPL_IF --> <!-- borrowernumber -->
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 -->
851 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->