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 $('#mainform').on('submit',function() {
64 $('#barcode').on('keypress',function(event) {
65 $('#barcodeSubmittedModal').modal();
66 event.preventDefault(); }
71 [% IF !( CircAutoPrintQuickSlip == 'clear' ) %]
72 // listen submit to trigger qslip on empty checkout
73 $('#mainform').bind('submit',function() {
74 if ($('#barcode').val() == '') {
75 return printx_window( '[% CircAutoPrintQuickSlip %]' );
79 toggle_onsite_checkout();
80 $("#onsite_checkout").click(function(){
81 toggle_onsite_checkout();
88 <body id="circ_circulation" class="circ">
90 [% INCLUDE 'header.inc' %]
91 [% INCLUDE 'circ-search.inc' %]
93 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
94 [% IF ( borrowernumber ) %]
95 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
97 <strong>Checkouts</strong>
100 [% IF ( selectborrower ) %]
101 <div id="doc" class="yui-t7">
107 <div id="doc3" class="yui-t2">
114 [% IF ( borrowernumber ) %]
115 [% INCLUDE 'members-toolbar.inc' %]
118 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
119 <div style="display: none;" id="add_message_form">
120 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
121 <fieldset id="borrower_messages" class="brief">
122 <legend>Leave a message</legend>
125 <label for="message_type">Add a message for:</label>
126 <select name="message_type" id="message_type">
127 <option value="L">Other librarians</option>
128 <option value="B">[% firstname %]</option>
131 [% IF ( canned_bor_notes_loop ) %]
133 <label for="type">Predefined notes: </label>
134 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
135 <option value="">Select note</option>
136 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
137 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
143 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
146 <fieldset class="action">
147 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
150 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
151 <input type="hidden" name="branchcode" value="[% branch %]" />
156 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
158 [% IF additional_materials %]
159 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
160 [% additional_materials %]
164 [% IF ( alert.ITEM_LOST ) %]
165 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
168 [% IF ( alert.OTHER_CHARGES ) %]
169 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
172 [% IF ( NEEDSCONFIRMATION ) %]
175 <div id="circ_needsconfirmation" class="dialog alert">
176 [% IF CAN_user_circulate_force_checkout %]
177 <h3>Please confirm checkout</h3>
179 <h3>Cannot check out</h3>
183 [%IF ( AGE_RESTRICTION ) %]
184 <li>Age restriction [% AGE_RESTRICTION %].
185 [% IF CAN_user_circulate_force_checkout %]
192 <li>The patron has a debt of [% DEBT %].</li>
195 [% IF ( RENTALCHARGE > 0 ) %]
196 <li>Rental charge for this item: [% RENTALCHARGE %]</li>
199 [% IF ( RENEW_ISSUE ) %]
200 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
203 [% IF ( RESERVE_WAITING ) %]
204 <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>
207 [% IF ( RESERVED ) %]
208 <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>
211 [% IF ( ISSUED_TO_ANOTHER ) %]
212 <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 %]).
213 [% IF CAN_user_circulate_force_checkout %]
214 Check in and check out?
219 [% IF ( TOO_MANY ) %]
220 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
223 [% IF ( BORRNOTSAMEBRANCH ) %]
224 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
227 [% IF ( PATRON_CANT ) %]
228 <li>This patron can't check out this item per library circulation policy</li>
231 [% IF ( NOT_FOR_LOAN_FORCING ) %]
233 [% IF ( itemtype_notforloan ) %]
234 Item type is normally not for loan.
235 [% ELSIF ( item_notforloan ) %]
236 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
237 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
239 [% IF CAN_user_circulate_force_checkout %]
245 [% IF ( USERBLOCKEDOVERDUE ) %]
246 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
247 [% IF CAN_user_circulate_force_checkout %]
253 [% IF ( ITEM_LOST ) %]
254 <li>This item has been lost with a status of "[% ITEM_LOST %]".
255 [% IF CAN_user_circulate_force_checkout %]
262 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
265 [% IF BIBLIO_ALREADY_ISSUED %]
267 Patron has already checked out another item from this record.
268 [% IF CAN_user_circulate_force_checkout %]
276 <script language="JavaScript" type="text/javascript">
277 $(document).ready(function() {
278 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
283 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
284 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
286 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
288 [% IF ( RESERVED ) %]
290 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
291 <label for="cancelreserve">Cancel hold</label>
295 [% IF ( RESERVE_WAITING ) %]
297 <label for="cancelreserve">Cancel hold</label>
298 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
299 <label for="revertreserve">Revert waiting status</label>
300 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
304 <input type="hidden" name="barcode" value="[% barcode |html %]" />
305 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
306 <input type="hidden" name="issueconfirmed" value="1" />
307 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
308 [% IF ( INVALID_DATE ) %]
310 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
311 <label for="duedatespec">Due date</label>
314 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
316 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
317 <input type="hidden" name="branch" value="[% branch %]" />
318 [% IF ( RENEW_ISSUE ) %]
319 <input type="submit" class="approve" value="Yes, renew (Y)" accesskey="y" />
321 <input type="submit" class="approve" value="Yes, check out (Y)" accesskey="y" />
323 <input type="hidden" name="onsite_checkout" value="[% onsite_checkout %]" />
327 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
328 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
329 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
330 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
331 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
332 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
333 [% IF ( RENEW_ISSUE ) %]
334 <input type="submit" class="deny" value="No, don't renew (N)" accesskey="n" />
336 <input type="submit" class="deny" value="No, don't check out (N)" accesskey="n" />
339 <input type="submit" class="deny" value="Continue" />
344 [% END %] <!-- NEEDSCONFIRMATION -->
346 [% IF ( IMPOSSIBLE ) %]
349 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
353 <div id="circ_impossible" class="dialog alert">
354 <!-- RESULT OF ISSUING REQUEST -->
357 <li>Local use recorded</li>
360 [% IF ( INVALID_DATE ) %]
361 <li>The due date "[% INVALID_DATE %]" is invalid</li>
364 [% IF ( UNKNOWN_BARCODE ) %]
365 <li>The barcode was not found [% barcode |html %]
366 [% IF ( fast_cataloging ) %]
367 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
368 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
372 [% IF ( FALLBACK ) %]
374 <br />The following items were found by searching:
375 [% FOREACH book IN options %]
377 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
378 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
379 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
380 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
381 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
382 <input type="hidden" name="branch" value="[% branch %]" />
383 <input type="hidden" name="barcode" value="[% book.barcode %]" />
384 <input type="submit" name="x" value="Check out [% book.barcode %]: [% book.title %]" />
388 <br />No items were found by searching.
395 [% IF ( NOT_FOR_LOAN ) %]
397 [% IF ( itemtype_notforloan ) %]
398 Item type not for loan.
399 [% ELSIF ( item_notforloan ) %]
400 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
401 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
406 [% IF ( WTHDRAWN ) %]
407 <li>Item has been withdrawn</li>
410 [% IF ( RESTRICTED ) %]
411 <li>Item is restricted</li>
415 <li>Patron's address is in doubt</li>
418 [% IF ( CARD_LOST ) %]
419 <li>Patron's card is lost</li>
422 [% IF ( DEBARRED ) %]
423 <li>Patron is restricted</li>
426 [% IF ( NO_MORE_RENEWALS ) %]
427 <li>No more renewals possible</li>
430 [%IF ( AGE_RESTRICTION ) %]
431 <li>Age restriction [% AGE_RESTRICTION %].</li>
435 <li>Patron's card is expired</li>
438 [% IF ( TOO_MANY ) %]
439 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
442 [% IF ( ITEMNOTSAMEBRANCH ) %]
443 <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
446 [% IF ( USERBLOCKEDWITHENDDATE ) %]
447 <li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li>
450 [% IF ( USERBLOCKEDNOENDDATE ) %]
451 <li>Patron has an indefinite restriction.</li>
454 [% IF ( USERBLOCKEDOVERDUE ) %]
455 <li>Checkouts are BLOCKED because patron has overdue items.</li>
459 [% IF (forceallow) %]
460 <li>Restriction overridden temporarily.</li>
466 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
469 [% IF (forceallow) %]
470 <div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div>
473 [% END %] <!-- /impossible -->
476 <p>Item checked out</p>
480 [% INCLUDE 'patron-toolbar.inc' %]
482 No patron matched <span class="ex">[% message %]</span>
487 [% IF ( selectborrower ) %]
488 [% INCLUDE 'patron-toolbar.inc' %]
490 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
491 <fieldset id="circ_circulation_selectborrower" class="brief">
492 <legend>Patron selection</legend>
494 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
495 <input type="hidden" name="branch" value="[% branch %]" />
496 <input type="hidden" name="printer" value="[% printer %]" />
497 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
498 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
501 <label for="borrowernumber">Select a patron: </label>
502 <select name="borrowernumber" id="borrowernumber" size="7" class="focus" ondblclick="document.forms['mainform'].submit()">
503 [% FOREACH borrower IN selectborrower.values %]
504 <option value="[% borrower %]">[% selectborrower.labels.$borrower %]</option>
509 <p><input type="submit" value="Select" /></p>
512 [% ELSE %] <!-- selectborrower -->
514 <!-- BARCODE ENTRY -->
516 [% IF ( borrowernumber ) %]
518 [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
520 <div class="yui-u first">
527 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
528 <fieldset id="circ_circulation_issue">
529 [% IF ( DisplayClearScreenButton ) %]
530 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
533 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
535 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
537 <div class="hint">Enter item barcode:</div>
539 [% IF NEEDSCONFIRMATION %]
540 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
542 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
544 <button type="submit" class="btn">Check out</button>
546 <div class="date-select">
547 [% IF NEEDSCONFIRMATION %]
548 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
550 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" />
552 <label for="auto_renew">Automatic renewal</label>
555 [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
556 [% IF ( SpecifyDueDate ) %]
557 <div class="date-select">
558 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
559 [% IF ( duedatespec ) %]
560 <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />
562 <input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
564 <label for="stickyduedate"> Remember for session:</label>
565 [% IF ( stickyduedate ) %]
566 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
568 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
570 <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>
575 [% IF Koha.Preference('OnSiteCheckouts') %]
576 <div class="onsite_checkout-select">
578 <div class="onsite-checkout-only">
579 <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>
580 <input type="text" name="duedatespec" id="duedatespec" readonly="readonly" />
581 <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
584 <input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label>
589 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
590 <input type="hidden" name="branch" value="[% branch %]" />
591 <input type="hidden" name="printer" value="[% printer %]" />
592 <input type="hidden" name="print" value="maybe" />
593 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
595 <input type="hidden" name="charges" value="yes" />
596 <input type="hidden" name="oldamount" value="[% amountold %]" />
599 </form></div>[% END %]<!-- /unless noissues -->
601 [% IF ( noissues ) %]
602 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
612 [% IF ( noissues ) %]
613 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
614 <div id="circmessages" class="circmessage attention">
616 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
617 <div id="circmessages" class="circmessage warning">
621 [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
622 <span class="circ-hlt">Only on-site checkouts are allowed</span>
626 <div id="circmessages" class="circmessage attention">
632 [% IF ( warndeparture ) %]
633 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
634 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>
639 [% IF ( returnbeforeexpiry ) %]
640 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
641 expiry date is before the date due, the date due will be set to the expiry date
646 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
647 [% 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>
653 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
657 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
660 [% IF ( userdebarred ) %]
662 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
664 [% IF ( userdebarreddate ) %]
665 until [% userdebarreddate %]
668 [% IF ( debarredcomment ) %]
669 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
673 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
674 [% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %]
675 <span class="override_debarment">
676 <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override restriction temporarily</a>
682 [% 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>
687 <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>.
688 [% IF ( charges_is_blocker ) %]
689 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
691 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
696 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
705 [% IF ( WaitingReserveLoop ) %]
706 <div id="holdswaiting" class="circmessage">
707 <h4>Holds waiting:</h4>
708 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
710 <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 %].
711 [% IF ( WaitingReserveLoo.waitingat ) %]
712 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
718 <!-- /If WaitingReserveLoop -->[% END %]
720 <div id="circnotes" class="circmessage">
722 <p><span class="circ-hlt">[% notesmsg %]</span></p>
726 <!-- /If notes -->[% END %]
728 <div id="messages" class="circmessage">
731 [% FOREACH lib_messages_loo IN lib_messages_loop %]
733 <span class="circ-hlt">
734 [% lib_messages_loo.message_date_formatted %]
735 [% lib_messages_loo.branchcode %]
736 <i>"[% lib_messages_loo.message %]"</i>
738 [% IF ( lib_messages_loo.can_delete ) %]
739 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
741 [% IF ( all_messages_del ) %]
742 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
747 [% FOREACH bor_messages_loo IN bor_messages_loop %]
748 <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>
749 [% ELSIF ( all_messages_del ) %]
750 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
757 <!-- /If flagged -->[% END %]
764 <div class="yui-g"><div id="patronlists" class="toptabs">
768 [% IF ( issuecount ) %]
769 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
771 <a href="#checkouts">0 Checkouts</a>
775 [% IF relatives_issues_count %]
776 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
780 [% IF ( holds_count ) %]
781 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
783 <a href="#reserves" id="holds-tab">0 Holds</a>
787 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
790 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
792 [% INCLUDE "checkouts-table.inc" %]
794 [% IF ( relatives_issues_count ) %]
795 <div id="relatives-issues">
796 <table id="relatives-issues-table">
799 <th scope="col">Due date (unformatted, hidden)</th>
800 <th scope="col">Due date</th>
801 <th scope="col">Title</th>
802 <th scope="col">Item type</th>
803 <th scope="col">Checked out on</th>
804 <th scope="col">Checked out from</th>
805 <th scope="col">Call no</th>
806 <th scope="col">Charge</th>
807 <th scope="col">Price</th>
808 <th scope="col">Patron</th>
815 [% INCLUDE borrower_debarments.inc %]
818 [% IF ( holds_count ) %]
819 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
820 <input type="hidden" name="from" value="circ" />
821 <table id="holds-table" style="width: 100% !Important;">
835 <fieldset class="action">
836 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
840 [% IF SuspendHoldsIntranet %]
841 <fieldset class="action">
842 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
843 <input type="hidden" name="from" value="circ" />
844 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
845 <input type="submit" value="Suspend all holds" />
847 [% IF AutoResumeSuspendedHolds %]
848 <label for="suspend_until">until</label>
849 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
850 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
855 <fieldset class="action">
856 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
857 <input type="hidden" name="from" value="circ" />
858 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
859 <input type="hidden" name="suspend" value="0" />
860 <input type="submit" value="Resume all suspended holds" />
863 [% END # IF SuspendHoldsIntranet %]
866 <p>Patron has nothing on hold.</p>
868 </div> <!-- reservesloop -->
870 [% END %] <!-- borrowernumber -->
878 [% UNLESS ( selectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
879 [% INCLUDE 'circ-menu.inc' %]
880 </div>[% END %][% END %]
883 <div id="barcodeSubmittedModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true">
884 <div class="modal-header">
885 <h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3>
888 <div class="modal-body">
889 <p>You have already submitted a barcode, please wait for the checkout to process...</p>
892 [% INCLUDE 'intranet-bottom.inc' %]