4 [% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %]
5 [% SET exports_enabled = 1 %]
7 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 [% SET destination = "circ" %]
10 <title>Koha › Circulation
11 [% IF borrowernumber %]
12 › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
15 [% INCLUDE 'doc-head-close.inc' %]
16 [% INCLUDE 'calendar.inc' %]
18 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
19 [% INCLUDE 'strings.inc' %]
20 [% INCLUDE 'datatables.inc' %]
21 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
22 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script>
23 [% INCLUDE 'timepicker.inc' %]
24 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping.js"></script>
25 <script type="text/javascript" src="[% themelang %]/js/pages/circulation.js"></script>
26 <script type="text/javascript" src="[% themelang %]/js/checkouts.js"></script>
27 <script type="text/javascript" src="[% themelang %]/js/holds.js"></script>
28 <script type="text/javascript">
30 /* Set some variable needed in circulation.js */
31 var interface = "[% interface %]";
32 var theme = "[% theme %]";
33 var borrowernumber = "[% borrowernumber %]";
34 var branchcode = "[% branch %]";
35 var exports_enabled = "[% exports_enabled %]";
36 var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && AllowRenewalLimitOverride)? 1: 0 %];
37 var script = "circulation";
38 var relatives_borrowernumbers = new Array();
39 [% FOREACH b IN relatives_borrowernumbers %]
40 relatives_borrowernumbers.push("[% b %]");
43 var MSG_ADD_MESSAGE = _("Add a new message");
44 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
45 [% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
46 [% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
49 function toggle_onsite_checkout(){
50 if ( $("#onsite_checkout").attr('checked') ) {
51 $("#duedatespec").val("[% todaysdate | $KohaDates with_hours => 1%]")
52 $("#duedatespec").datetimepicker('destroy');
54 $("#duedatespec").datetimepicker({
55 onClose: function(dateText, inst) { $("#barcode").focus(); },
62 $(document).ready(function() {
63 [% IF !( CircAutoPrintQuickSlip == 'clear' ) %]
64 // listen submit to trigger qslip on empty checkout
65 $('#mainform').bind('submit',function() {
66 if ($('#barcode').val() == '') {
67 return printx_window( '[% CircAutoPrintQuickSlip %]' );
71 toggle_onsite_checkout();
72 $("#onsite_checkout").click(function(){
73 toggle_onsite_checkout();
80 <body id="circ_circulation" class="circ">
82 [% INCLUDE 'header.inc' %]
83 [% INCLUDE 'circ-search.inc' %]
85 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
86 [% IF ( borrowernumber ) %]
87 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
89 <strong>Checkouts</strong>
92 [% IF ( selectborrower ) %]
93 <div id="doc" class="yui-t7">
99 <div id="doc3" class="yui-t2">
106 [% IF ( borrowernumber ) %]
107 [% INCLUDE 'members-toolbar.inc' %]
110 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
111 <div style="display: none;" id="add_message_form">
112 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
113 <fieldset id="borrower_messages" class="brief">
114 <legend>Leave a message</legend>
117 <label for="message_type">Add a message for:</label>
118 <select name="message_type" id="message_type">
119 <option value="L">Other librarians</option>
120 <option value="B">[% firstname %]</option>
123 [% IF ( canned_bor_notes_loop ) %]
125 <label for="type">Predefined notes: </label>
126 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
127 <option value="">Select note</option>
128 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
129 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
135 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
138 <fieldset class="action">
139 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
142 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
143 <input type="hidden" name="branchcode" value="[% branch %]" />
148 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
150 [% IF additional_materials %]
151 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
152 [% additional_materials %]
156 [% IF ( alert.ITEM_LOST ) %]
157 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
160 [% IF ( alert.OTHER_CHARGES ) %]
161 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
164 [% IF ( NEEDSCONFIRMATION ) %]
167 <div id="circ_needsconfirmation" class="dialog alert">
168 [% IF CAN_user_circulate_force_checkout %]
169 <h3>Please confirm checkout</h3>
171 <h3>Cannot check out</h3>
175 [%IF ( AGE_RESTRICTION ) %]
176 <li>Age restriction [% AGE_RESTRICTION %].
177 [% IF CAN_user_circulate_force_checkout %]
184 <li>The patron has a debt of [% DEBT %]</li>
187 [% IF ( RENEW_ISSUE ) %]
188 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
191 [% IF ( RESERVE_WAITING ) %]
192 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% resbranchname %] since [% reswaitingdate %]</li>
195 [% IF ( RESERVED ) %]
196 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% resbranchname %] since [% resreservedate %]</li>
199 [% IF ( ISSUED_TO_ANOTHER ) %]
200 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]).
201 [% IF CAN_user_circulate_force_checkout %]
202 Check in and check out?
207 [% IF ( TOO_MANY ) %]
208 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
211 [% IF ( BORRNOTSAMEBRANCH ) %]
212 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
215 [% IF ( PATRON_CANT ) %]
216 <li>This patron can't check out this item per library circulation policy</li>
219 [% IF ( NOT_FOR_LOAN_FORCING ) %]
221 [% IF ( itemtype_notforloan ) %]
222 Item type is normally not for loan.
223 [% ELSIF ( item_notforloan ) %]
224 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
225 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
227 [% IF CAN_user_circulate_force_checkout %]
233 [% IF ( USERBLOCKEDOVERDUE ) %]
234 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
235 [% IF CAN_user_circulate_force_checkout %]
241 [% IF ( ITEM_LOST ) %]
242 <li>This item has been lost with a status of "[% ITEM_LOST %]".
243 [% IF CAN_user_circulate_force_checkout %]
250 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
253 [% IF BIBLIO_ALREADY_ISSUED %]
255 Patron has already checked out another item from this record.
256 [% IF CAN_user_circulate_force_checkout %]
264 <script language="JavaScript" type="text/javascript">
265 $(document).ready(function() {
266 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
271 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
272 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
274 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
276 [% IF ( RESERVED ) %]
278 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
279 <label for="cancelreserve">Cancel hold</label>
283 [% IF ( RESERVE_WAITING ) %]
285 <label for="cancelreserve">Cancel hold</label>
286 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
287 <label for="revertreserve">Revert waiting status</label>
288 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
292 <input type="hidden" name="barcode" value="[% barcode |html %]" />
293 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
294 <input type="hidden" name="issueconfirmed" value="1" />
295 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
296 [% IF ( INVALID_DATE ) %]
298 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
299 <label for="duedatespec">Due date</label>
302 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
304 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
305 <input type="hidden" name="branch" value="[% branch %]" />
306 [% IF ( RENEW_ISSUE ) %]
307 <input type="submit" class="approve" value="Yes, renew (Y)" accesskey="y" />
309 <input type="submit" class="approve" value="Yes, check out (Y)" accesskey="y" />
311 <input type="hidden" name="onsite_checkout" value="[% onsite_checkout %]" />
315 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
316 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
317 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
318 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
319 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
320 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
321 [% IF ( RENEW_ISSUE ) %]
322 <input type="submit" class="deny" value="No, don't renew (N)" accesskey="n" />
324 <input type="submit" class="deny" value="No, don't check out (N)" accesskey="n" />
327 <input type="submit" class="deny" value="Continue" />
332 [% END %] <!-- NEEDSCONFIRMATION -->
334 [% IF ( IMPOSSIBLE ) %]
337 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
341 <div id="circ_impossible" class="dialog alert">
342 <!-- RESULT OF ISSUING REQUEST -->
345 <li>Local use recorded</li>
348 [% IF ( INVALID_DATE ) %]
349 <li>The due date "[% INVALID_DATE %]" is invalid</li>
352 [% IF ( UNKNOWN_BARCODE ) %]
353 <li>The barcode was not found [% barcode |html %]
354 [% IF ( fast_cataloging ) %]
355 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
356 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
360 [% IF ( FALLBACK ) %]
362 <br />The following items were found by searching:
363 [% FOREACH book IN options %]
365 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
366 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
367 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
368 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
369 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
370 <input type="hidden" name="branch" value="[% branch %]" />
371 <input type="hidden" name="barcode" value="[% book.barcode %]" />
372 <input type="submit" name="x" value="Check out [% book.barcode %]: [% book.title %]" />
376 <br />No items were found by searching.
383 [% IF ( NOT_FOR_LOAN ) %]
385 [% IF ( itemtype_notforloan ) %]
386 Item type not for loan.
387 [% ELSIF ( item_notforloan ) %]
388 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
389 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
394 [% IF ( WTHDRAWN ) %]
395 <li>Item has been withdrawn</li>
398 [% IF ( RESTRICTED ) %]
399 <li>Item is restricted</li>
403 <li>Patron's address is in doubt</li>
406 [% IF ( CARD_LOST ) %]
407 <li>Patron's card is lost</li>
410 [% IF ( DEBARRED ) %]
411 <li>Patron is restricted</li>
414 [% IF ( NO_MORE_RENEWALS ) %]
415 <li>No more renewals possible</li>
418 [%IF ( AGE_RESTRICTION ) %]
419 <li>Age restriction [% AGE_RESTRICTION %].</li>
423 <li>Patron's card is expired</li>
426 [% IF ( TOO_MANY ) %]
427 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
430 [% IF ( ITEMNOTSAMEBRANCH ) %]
431 <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
434 [% IF ( USERBLOCKEDWITHENDDATE ) %]
435 <li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li>
438 [% IF ( USERBLOCKEDNOENDDATE ) %]
439 <li>Patron has a restriction (no expiry date).</li>
442 [% IF ( USERBLOCKEDOVERDUE ) %]
443 <li>Checkouts are BLOCKED because patron has overdue items.</li>
447 [% IF (forceallow) %]
448 <li>Restriction overridden temporarily</li>
454 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
457 [% IF (forceallow) %]
458 <div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div>
461 [% END %] <!-- /impossible -->
464 <p>Item checked out</p>
468 [% INCLUDE 'patron-toolbar.inc' %]
470 No patron matched <span class="ex">[% message %]</span>
475 [% IF ( selectborrower ) %]
476 [% INCLUDE 'patron-toolbar.inc' %]
478 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
479 <fieldset id="circ_circulation_selectborrower" class="brief">
480 <legend>Patron selection</legend>
482 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
483 <input type="hidden" name="branch" value="[% branch %]" />
484 <input type="hidden" name="printer" value="[% printer %]" />
485 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
486 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
489 <label for="borrowernumber">Select a patron: </label>
490 <select name="borrowernumber" id="borrowernumber" size="7" class="focus" ondblclick="document.forms['mainform'].submit()">
491 [% FOREACH borrower IN selectborrower.values %]
492 <option value="[% borrower %]">[% selectborrower.labels.$borrower %]</option>
497 <p><input type="submit" value="Select" /></p>
500 [% ELSE %] <!-- selectborrower -->
502 <!-- BARCODE ENTRY -->
504 [% IF ( borrowernumber ) %]
506 [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
508 <div class="yui-u first">
515 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
516 <fieldset id="circ_circulation_issue">
517 [% IF ( DisplayClearScreenButton ) %]
518 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
521 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
523 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
525 <div class="hint">Enter item barcode:</div>
527 [% IF NEEDSCONFIRMATION %]
528 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
530 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
532 <button type="submit" class="btn">Check out</button>
534 <div class="date-select">
535 [% IF NEEDSCONFIRMATION %]
536 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
538 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" />
540 <label for="auto_renew">Automatic renewal</label>
543 [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
544 [% IF ( SpecifyDueDate ) %]
545 <div class="date-select">
546 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
547 [% IF ( duedatespec ) %]
548 <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />
550 <input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
552 <label for="stickyduedate"> Remember for session:</label>
553 [% IF ( stickyduedate ) %]
554 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
556 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
558 <button class="btn btn-small action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button>
563 [% IF Koha.Preference('OnSiteCheckouts') %]
564 <div class="onsite_checkout-select">
566 <div class="onsite-checkout-only">
567 <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label>
568 <input type="text" name="duedatespec" id="duedatespec" readonly="readonly" />
569 <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
572 <input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label>
577 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
578 <input type="hidden" name="branch" value="[% branch %]" />
579 <input type="hidden" name="printer" value="[% printer %]" />
580 <input type="hidden" name="print" value="maybe" />
581 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
583 <input type="hidden" name="charges" value="yes" />
584 <input type="hidden" name="oldamount" value="[% amountold %]" />
587 </form></div>[% END %]<!-- /unless noissues -->
589 [% IF ( noissues ) %]
590 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
600 [% IF ( noissues ) %]
601 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
602 <div id="circmessages" class="circmessage attention">
604 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
605 <div id="circmessages" class="circmessage warning">
609 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
610 <span class="circ-hlt">Only on-site checkouts are allowed</span>
614 <div id="circmessages" class="circmessage attention">
620 [% IF ( warndeparture ) %]
621 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
622 Patron's card expires on [% expiry %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]">Edit Details</a>
627 [% IF ( returnbeforeexpiry ) %]
628 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
629 expiry date is before the date due, the date due will be set to the expiry date
634 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
635 [% IF ( expiry ) %]Patron's card expired on [% expiry %][% END %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]">Edit Details</a>
641 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
645 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
648 [% IF ( userdebarred ) %]
650 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
652 [% IF ( userdebarreddate ) %]
653 until [% userdebarreddate %]
656 [% IF ( debarredcomment ) %]
657 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
661 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
662 [% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %]
663 <span class="override_debarment">
664 <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override restriction temporarily</a>
670 [% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a>[% END %]</li>
675 <span class="circ-hlt">Fees & Charges:</span> Patron has <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Outstanding fees & charges[% IF ( chargesamount ) %] of [% chargesamount %][% END %]</a>.
676 [% IF ( charges_is_blocker ) %]
677 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
679 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
684 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
693 [% IF ( WaitingReserveLoop ) %]
694 <div id="holdswaiting" class="circmessage">
695 <h4>Holds waiting:</h4>
696 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
698 <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% WaitingReserveLoo.biblionumber %]">[% WaitingReserveLoo.title |html %]</a> ([% WaitingReserveLoo.itemtype %]), [% IF ( WaitingReserveLoo.author ) %]by [% WaitingReserveLoo.author %][% END %] [% IF ( WaitingReserveLoo.itemcallnumber ) %][[% WaitingReserveLoo.itemcallnumber %]] [% END %]Hold placed on [% WaitingReserveLoo.reservedate %].
699 [% IF ( WaitingReserveLoo.waitingat ) %]
700 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
706 <!-- /If WaitingReserveLoop -->[% END %]
708 <div id="circnotes" class="circmessage">
710 <p><span class="circ-hlt">[% notesmsg %]</span></p>
714 <!-- /If notes -->[% END %]
716 <div id="messages" class="circmessage">
719 [% FOREACH lib_messages_loo IN lib_messages_loop %]
721 <span class="circ-hlt">
722 [% lib_messages_loo.message_date_formatted %]
723 [% lib_messages_loo.branchcode %]
724 <i>"[% lib_messages_loo.message %]"</i>
726 [% IF ( lib_messages_loo.can_delete ) %]
727 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
729 [% IF ( all_messages_del ) %]
730 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
735 [% FOREACH bor_messages_loo IN bor_messages_loop %]
736 <li><span class="">[% bor_messages_loo.message_date_formatted %] [% bor_messages_loo.branchcode %] <i>"[% bor_messages_loo.message %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
737 [% ELSIF ( all_messages_del ) %]
738 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
745 <!-- /If flagged -->[% END %]
752 <div class="yui-g"><div id="patronlists" class="toptabs">
756 [% IF ( issuecount ) %]
757 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
759 <a href="#checkouts">0 Checkouts</a>
763 [% IF relatives_issues_count %]
764 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
768 [% IF ( holds_count ) %]
769 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
771 <a href="#reserves" id="holds-tab">0 Holds</a>
775 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
778 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
780 [% INCLUDE "checkouts-table.inc" %]
782 [% IF ( relatives_issues_count ) %]
783 <div id="relatives-issues">
784 <table id="relatives-issues-table">
787 <th scope="col">Due date (unformatted, hidden)</th>
788 <th scope="col">Due date</th>
789 <th scope="col">Title</th>
790 <th scope="col">Item type</th>
791 <th scope="col">Checked out on</th>
792 <th scope="col">Checked out from</th>
793 <th scope="col">Call no</th>
794 <th scope="col">Charge</th>
795 <th scope="col">Price</th>
796 <th scope="col">Patron</th>
803 [% INCLUDE borrower_debarments.inc %]
806 [% IF ( holds_count ) %]
807 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
808 <input type="hidden" name="from" value="circ" />
809 <table id="holds-table" style="width: 100% !Important;">
823 <fieldset class="action">
824 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
828 [% IF SuspendHoldsIntranet %]
829 <fieldset class="action">
830 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
831 <input type="hidden" name="from" value="circ" />
832 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
833 <input type="submit" value="Suspend all holds" />
835 [% IF AutoResumeSuspendedHolds %]
836 <label for="suspend_until">until</label>
837 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
838 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
843 <fieldset class="action">
844 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
845 <input type="hidden" name="from" value="circ" />
846 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
847 <input type="hidden" name="suspend" value="0" />
848 <input type="submit" value="Resume all suspended holds" />
851 [% END # IF SuspendHoldsIntranet %]
854 <p>Patron has nothing on hold.</p>
856 </div> <!-- reservesloop -->
858 [% END %] <!-- borrowernumber -->
866 [% UNLESS ( selectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
867 [% INCLUDE 'circ-menu.inc' %]
868 </div>[% END %][% END %]
870 [% INCLUDE 'intranet-bottom.inc' %]