4 [% IF ( export_remove_fields OR export_with_csv_profile ) %]
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 %]
48 $(document).ready(function() {
49 [% IF !( CircAutoPrintQuickSlip == 'clear' ) %]
50 // listen submit to trigger qslip on empty checkout
51 $('#mainform').bind('submit',function() {
52 if ($('#barcode').val() == '') {
53 return printx_window( '[% CircAutoPrintQuickSlip %]' );
60 function toggle_onsite_checkout(){
61 if ( $("#onsite_checkout").attr('checked') ) {
62 $("#duedatespec").val("[% todaysdate | $KohaDates with_hours => 1%]")
63 $("#duedatespec").datetimepicker('destroy');
65 $("#duedatespec").datetimepicker({
66 onClose: function(dateText, inst) { $("#barcode").focus(); },
76 <body id="circ_circulation" class="circ">
78 [% INCLUDE 'header.inc' %]
79 [% INCLUDE 'circ-search.inc' %]
81 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
82 [% IF ( borrowernumber ) %]
83 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
85 <strong>Checkouts</strong>
88 [% IF ( selectborrower ) %]
89 <div id="doc" class="yui-t7">
95 <div id="doc3" class="yui-t2">
102 [% IF ( borrowernumber ) %]
103 [% INCLUDE 'members-toolbar.inc' %]
106 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
107 <div style="display: none;" id="add_message_form">
108 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
109 <fieldset id="borrower_messages" class="brief">
110 <legend>Leave a message</legend>
113 <label for="message_type">Add a message for:</label>
114 <select name="message_type" id="message_type">
115 <option value="L">Other librarians</option>
116 <option value="B">[% firstname %]</option>
119 [% IF ( canned_bor_notes_loop ) %]
121 <label for="type">Predefined notes: </label>
122 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
123 <option value="">Select note</option>
124 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
125 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
131 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
134 <fieldset class="action">
135 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
138 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
139 <input type="hidden" name="branchcode" value="[% branch %]" />
144 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
146 [% IF additional_materials %]
147 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
148 [% additional_materials %]
152 [% IF ( alert.ITEM_LOST ) %]
153 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
156 [% IF ( alert.OTHER_CHARGES ) %]
157 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
160 [% IF ( NEEDSCONFIRMATION ) %]
163 <div id="circ_needsconfirmation" class="dialog alert">
164 [% IF CAN_user_circulate_force_checkout %]
165 <h3>Please confirm checkout</h3>
167 <h3>Cannot check out</h3>
171 [%IF ( AGE_RESTRICTION ) %]
172 <li>Age restriction [% AGE_RESTRICTION %].
173 [% IF CAN_user_circulate_force_checkout %]
180 <li>The patron has a debt of [% DEBT %]</li>
183 [% IF ( RENEW_ISSUE ) %]
184 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
187 [% IF ( RESERVE_WAITING ) %]
188 <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>
191 [% IF ( RESERVED ) %]
192 <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>
195 [% IF ( ISSUED_TO_ANOTHER ) %]
196 <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 %]).
197 [% IF CAN_user_circulate_force_checkout %]
198 Check in and check out?
203 [% IF ( TOO_MANY ) %]
204 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
207 [% IF ( BORRNOTSAMEBRANCH ) %]
208 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
211 [% IF ( PATRON_CANT ) %]
212 <li>This patron can't check out this item per library circulation policy</li>
215 [% IF ( NOT_FOR_LOAN_FORCING ) %]
217 [% IF ( itemtype_notforloan ) %]
218 Item type is normally not for loan.
219 [% ELSIF ( item_notforloan ) %]
220 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
221 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
223 [% IF CAN_user_circulate_force_checkout %]
229 [% IF ( USERBLOCKEDOVERDUE ) %]
230 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
231 [% IF CAN_user_circulate_force_checkout %]
237 [% IF ( ITEM_LOST ) %]
238 <li>This item has been lost with a status of "[% ITEM_LOST %]".
239 [% IF CAN_user_circulate_force_checkout %]
246 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
249 [% IF BIBLIO_ALREADY_ISSUED %]
251 Patron has already checked out another item from this record.
252 [% IF CAN_user_circulate_force_checkout %]
260 <script language="JavaScript" type="text/javascript">
261 $(document).ready(function() {
262 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
267 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
268 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
270 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
272 [% IF ( RESERVED ) %]
274 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
275 <label for="cancelreserve">Cancel hold</label>
279 [% IF ( RESERVE_WAITING ) %]
281 <label for="cancelreserve">Cancel hold</label>
282 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
283 <label for="revertreserve">Revert waiting status</label>
284 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
288 <input type="hidden" name="barcode" value="[% barcode |html %]" />
289 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
290 <input type="hidden" name="issueconfirmed" value="1" />
291 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
292 [% IF ( INVALID_DATE ) %]
294 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
295 <label for="duedatespec">Due date</label>
298 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
300 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
301 <input type="hidden" name="branch" value="[% branch %]" />
302 [% IF ( RENEW_ISSUE ) %]
303 <input type="submit" class="approve" value="Yes, renew (Y)" accesskey="y" />
305 <input type="submit" class="approve" value="Yes, check out (Y)" accesskey="y" />
307 <input type="hidden" name="onsite_checkout" value="[% onsite_checkout %]" />
311 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
312 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
313 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
314 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
315 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
316 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
317 [% IF ( RENEW_ISSUE ) %]
318 <input type="submit" class="deny" value="No, don't renew (N)" accesskey="n" />
320 <input type="submit" class="deny" value="No, don't check out (N)" accesskey="n" />
323 <input type="submit" class="deny" value="Continue" />
328 [% END %] <!-- NEEDSCONFIRMATION -->
330 [% IF ( IMPOSSIBLE ) %]
333 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
337 <div id="circ_impossible" class="dialog alert">
338 <!-- RESULT OF ISSUING REQUEST -->
341 <li>Local use recorded</li>
344 [% IF ( INVALID_DATE ) %]
345 <li>The due date "[% INVALID_DATE %]" is invalid</li>
348 [% IF ( UNKNOWN_BARCODE ) %]
349 <li>The barcode was not found [% barcode |html %]
350 [% IF ( fast_cataloging ) %]
351 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
352 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
356 [% IF ( FALLBACK ) %]
358 <br />The following items were found by searching:
359 [% FOREACH book IN options %]
361 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
362 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
363 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
364 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
365 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
366 <input type="hidden" name="branch" value="[% branch %]" />
367 <input type="hidden" name="barcode" value="[% book.barcode %]" />
368 <input type="submit" name="x" value="Check out [% book.barcode %]: [% book.title %]" />
372 <br />No items were found by searching.
379 [% IF ( NOT_FOR_LOAN ) %]
381 [% IF ( itemtype_notforloan ) %]
382 Item type not for loan.
383 [% ELSIF ( item_notforloan ) %]
384 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
385 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
390 [% IF ( WTHDRAWN ) %]
391 <li>Item has been withdrawn</li>
394 [% IF ( RESTRICTED ) %]
395 <li>Item is restricted</li>
399 <li>Patron's address is in doubt</li>
402 [% IF ( CARD_LOST ) %]
403 <li>Patron's card is lost</li>
406 [% IF ( DEBARRED ) %]
407 <li>Patron is restricted</li>
410 [% IF ( NO_MORE_RENEWALS ) %]
411 <li>No more renewals possible</li>
414 [%IF ( AGE_RESTRICTION ) %]
415 <li>Age restriction [% AGE_RESTRICTION %].</li>
419 <li>Patron's card is expired</li>
422 [% IF ( TOO_MANY ) %]
423 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
426 [% IF ( ITEMNOTSAMEBRANCH ) %]
427 <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
430 [% IF ( USERBLOCKEDWITHENDDATE ) %]
431 <li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li>
434 [% IF ( USERBLOCKEDNOENDDATE ) %]
435 <li>Patron has a restriction (no expiry date).</li>
438 [% IF ( USERBLOCKEDOVERDUE ) %]
439 <li>Checkouts are BLOCKED because patron has overdue items.</li>
443 [% IF (forceallow) %]
444 <li>Restriction overridden temporarily</li>
450 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
453 [% IF (forceallow) %]
454 <div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div>
457 [% END %] <!-- /impossible -->
460 <p>Item checked out</p>
464 [% INCLUDE 'patron-toolbar.inc' %]
466 No patron matched <span class="ex">[% message %]</span>
471 [% IF ( selectborrower ) %]
472 [% INCLUDE 'patron-toolbar.inc' %]
474 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
475 <fieldset id="circ_circulation_selectborrower" class="brief">
476 <legend>Patron selection</legend>
478 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
479 <input type="hidden" name="branch" value="[% branch %]" />
480 <input type="hidden" name="printer" value="[% printer %]" />
481 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
482 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
485 <label for="borrowernumber">Select a patron: </label>
486 <select name="borrowernumber" id="borrowernumber" size="7" class="focus" ondblclick="document.forms['mainform'].submit()">
487 [% FOREACH borrower IN selectborrower.values %]
488 <option value="[% borrower %]">[% selectborrower.labels.$borrower %]</option>
493 <p><input type="submit" value="Select" /></p>
496 [% ELSE %] <!-- selectborrower -->
498 <!-- BARCODE ENTRY -->
500 [% IF ( borrowernumber ) %]
502 [% IF !noissues || Koha.Preference('OnSiteCheckoutsForce') %]
504 <div class="yui-u first">
511 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
512 <fieldset id="circ_circulation_issue">
513 [% IF ( DisplayClearScreenButton ) %]
514 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
517 [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
519 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
521 <div class="hint">Enter item barcode:</div>
523 [% IF NEEDSCONFIRMATION %]
524 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
526 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
528 <button type="submit" class="btn">Check out</button>
530 <div class="date-select">
531 [% IF NEEDSCONFIRMATION %]
532 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
534 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" />
536 <label for="auto_renew">Automatic renewal</label>
539 [% IF ( SpecifyDueDate ) %]<div class="date-select">
540 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
541 [% IF ( duedatespec ) %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />[% ELSE %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
543 <label for="stickyduedate"> Remember for session:</label>
544 [% IF ( stickyduedate ) %]
545 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
547 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
549 <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>
552 [% IF Koha.Preference('OnSiteCheckouts') %]
553 <div class="onsite_checkout-select">
555 <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkout</label>
556 <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
558 <input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label>
563 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
564 <input type="hidden" name="branch" value="[% branch %]" />
565 <input type="hidden" name="printer" value="[% printer %]" />
566 <input type="hidden" name="print" value="maybe" />
567 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
569 <input type="hidden" name="charges" value="yes" />
570 <input type="hidden" name="oldamount" value="[% amountold %]" />
573 </form></div>[% END %]<!-- /unless noissues -->
575 [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
578 [% IF NOT noissues || ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
579 <div id="circmessages" class="circmessage attention">
581 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
582 <div id="circmessages" class="circmessage warning">
587 [% IF Koha.Preference('OnSiteCheckoutsForce') %]
588 <span style="color:red;">Only on-site checkouts are allowed</span>
597 [% IF ( warndeparture ) %]
598 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
599 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>
604 [% IF ( returnbeforeexpiry ) %]
605 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
606 expiry date is before the date due, the date due will be set to the expiry date
611 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
612 [% 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>
618 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
622 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
625 [% IF ( userdebarred ) %]
627 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
629 [% IF ( userdebarreddate ) %]
630 until [% userdebarreddate %]
633 [% IF ( debarredcomment ) %]
634 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
638 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
639 [% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %]
640 <span class="override_debarment">
641 <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override restriction temporarily</a>
647 [% 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>
652 <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>.
653 [% IF ( charges_is_blocker ) %]
654 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
656 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
661 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
670 [% IF ( WaitingReserveLoop ) %]
671 <div id="holdswaiting" class="circmessage">
672 <h4>Holds waiting:</h4>
673 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
675 <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 %].
676 [% IF ( WaitingReserveLoo.waitingat ) %]
677 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
683 <!-- /If WaitingReserveLoop -->[% END %]
685 <div id="circnotes" class="circmessage">
687 <p><span class="circ-hlt">[% notesmsg %]</span></p>
691 <!-- /If notes -->[% END %]
693 <div id="messages" class="circmessage">
696 [% FOREACH lib_messages_loo IN lib_messages_loop %]
698 <span class="circ-hlt">
699 [% lib_messages_loo.message_date_formatted %]
700 [% lib_messages_loo.branchcode %]
701 <i>"[% lib_messages_loo.message %]"</i>
703 [% IF ( lib_messages_loo.can_delete ) %]
704 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
706 [% IF ( all_messages_del ) %]
707 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
712 [% FOREACH bor_messages_loo IN bor_messages_loop %]
713 <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>
714 [% ELSIF ( all_messages_del ) %]
715 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
722 <!-- /If flagged -->[% END %]
729 <div class="yui-g"><div id="patronlists" class="toptabs">
733 [% IF ( issuecount ) %]
734 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
736 <a href="#checkouts">0 Checkouts</a>
740 [% IF relatives_issues_count %]
741 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
745 [% IF ( holds_count ) %]
746 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
748 <a href="#reserves" id="holds-tab">0 Holds</a>
752 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
755 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
757 [% IF ( issuecount ) %]
758 <div id="issues-table-loading-message">
760 <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
764 <table id="issues-table">
767 <th scope="col"> </th>
768 <th scope="col"> </th>
769 <th scope="col">Due date</th>
770 <th scope="col">Due date</th>
771 <th scope="col">Title</th>
772 <th scope="col">Item type</th>
773 <th scope="col">Checked out on</th>
774 <th scope="col">Checked out from</th>
775 <th scope="col">Call no</th>
776 <th scope="col">Charge</th>
777 <th scope="col">Price</th>
778 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
779 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
780 <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
783 [% INCLUDE 'checkouts-table-footer.inc' %]
786 <label for="issues-table-load-immediately">Always show checkouts immediately</label>
787 <input id="issues-table-load-immediately" type="checkbox" />
789 <fieldset id="issues-table-actions" class="action">
790 [% IF ( CAN_user_circulate_override_renewals ) %]
791 [% IF ( AllowRenewalLimitOverride ) %]
792 <label for="override_limit">Override renewal limit:</label>
793 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
796 <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
797 <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
800 <p>Patron has nothing checked out.</p>
804 [% IF ( relatives_issues_count ) %]
805 <div id="relatives-issues">
806 <table id="relatives-issues-table">
809 <th scope="col">Due date (unformatted, hidden)</th>
810 <th scope="col">Due date</th>
811 <th scope="col">Title</th>
812 <th scope="col">Item type</th>
813 <th scope="col">Checked out on</th>
814 <th scope="col">Checked out from</th>
815 <th scope="col">Call no</th>
816 <th scope="col">Charge</th>
817 <th scope="col">Price</th>
818 <th scope="col">Patron</th>
825 [% INCLUDE borrower_debarments.inc %]
828 [% IF ( holds_count ) %]
829 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
830 <input type="hidden" name="from" value="circ" />
831 <table id="holds-table" style="width: 100% !Important;">
845 <fieldset class="action">
846 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
850 [% IF SuspendHoldsIntranet %]
851 <fieldset class="action">
852 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
853 <input type="hidden" name="from" value="circ" />
854 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
855 <input type="submit" value="Suspend all holds" />
857 [% IF AutoResumeSuspendedHolds %]
858 <label for="suspend_until">until</label>
859 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
860 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
865 <fieldset class="action">
866 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
867 <input type="hidden" name="from" value="circ" />
868 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
869 <input type="hidden" name="suspend" value="0" />
870 <input type="submit" value="Resume all suspended holds" />
873 [% END # IF SuspendHoldsIntranet %]
876 <p>Patron has nothing on hold.</p>
878 </div> <!-- reservesloop -->
880 [% END %] <!-- borrowernumber -->
888 [% UNLESS ( selectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
889 [% INCLUDE 'circ-menu.inc' %]
890 </div>[% END %][% END %]
892 [% INCLUDE 'intranet-bottom.inc' %]