3 [% IF ( export_remove_fields OR export_with_csv_profile ) %]
4 [% SET exports_enabled = 1 %]
6 [% USE AuthorisedValues %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 [% SET destination = "circ" %]
9 <title>Koha › Circulation
10 [% IF borrowernumber %]
11 › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
14 [% INCLUDE 'doc-head-close.inc' %]
15 [% INCLUDE 'calendar.inc' %]
17 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
18 [% INCLUDE 'strings.inc' %]
19 [% INCLUDE 'datatables.inc' %]
20 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
21 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script>
22 [% INCLUDE 'timepicker.inc' %]
23 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping.js"></script>
24 <script type="text/javascript" src="[% themelang %]/js/pages/circulation.js"></script>
25 <script type="text/javascript" src="[% themelang %]/js/checkouts.js"></script>
26 <script type="text/javascript" src="[% themelang %]/js/holds.js"></script>
27 <script type="text/javascript">
29 /* Set some variable needed in circulation.js */
30 var interface = "[% interface %]";
31 var theme = "[% theme %]";
32 var borrowernumber = "[% borrowernumber %]";
33 var branchcode = "[% branch %]";
34 var exports_enabled = "[% exports_enabled %]";
35 var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && AllowRenewalLimitOverride)? 1: 0 %];
36 var relatives_borrowernumbers = new Array();
37 [% FOREACH b IN relatives_borrowernumbers %]
38 relatives_borrowernumbers.push("[% b %]");
41 var MSG_ADD_MESSAGE = _("Add a new message");
42 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
43 [% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
44 [% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
46 $(document).ready(function() {
47 [% IF !( CircAutoPrintQuickSlip == 'clear' ) %]
48 // listen submit to trigger qslip on empty checkout
49 $('#mainform').bind('submit',function() {
50 if ($('#barcode').val() == '') {
51 return printx_window( '[% CircAutoPrintQuickSlip %]' );
59 <body id="circ_circulation" class="circ">
61 [% INCLUDE 'header.inc' %]
62 [% INCLUDE 'circ-search.inc' %]
64 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
65 [% IF ( borrowernumber ) %]
66 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
68 <strong>Checkouts</strong>
71 [% IF ( selectborrower ) %]
72 <div id="doc" class="yui-t7">
78 <div id="doc3" class="yui-t2">
85 [% IF ( borrowernumber ) %]
86 [% INCLUDE 'members-toolbar.inc' %]
89 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
90 <div style="display: none;" id="add_message_form">
91 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
92 <fieldset id="borrower_messages" class="brief">
93 <legend>Leave a message</legend>
96 <label for="message_type">Add a message for:</label>
97 <select name="message_type" id="message_type">
98 <option value="L">Other librarians</option>
99 <option value="B">[% firstname %]</option>
102 [% IF ( canned_bor_notes_loop ) %]
104 <label for="type">Predefined notes: </label>
105 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
106 <option value="">Select note</option>
107 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
108 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
114 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
117 <fieldset class="action">
118 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
121 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
122 <input type="hidden" name="branchcode" value="[% branch %]" />
127 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
129 [% IF additional_materials %]
130 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
131 [% additional_materials %]
135 [% IF ( alert.ITEM_LOST ) %]
136 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
139 [% IF ( alert.OTHER_CHARGES ) %]
140 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
143 [% IF ( NEEDSCONFIRMATION ) %]
146 <div id="circ_needsconfirmation" class="dialog alert">
147 [% IF CAN_user_circulate_force_checkout %]
148 <h3>Please confirm checkout</h3>
150 <h3>Cannot check out</h3>
154 [%IF ( AGE_RESTRICTION ) %]
155 <li>Age restriction [% AGE_RESTRICTION %].
156 [% IF CAN_user_circulate_force_checkout %]
163 <li>The patron has a debt of [% DEBT %]</li>
166 [% IF ( RENEW_ISSUE ) %]
167 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
170 [% IF ( RESERVE_WAITING ) %]
171 <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>
174 [% IF ( RESERVED ) %]
175 <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>
178 [% IF ( ISSUED_TO_ANOTHER ) %]
179 <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 %]).
180 [% IF CAN_user_circulate_force_checkout %]
181 Check in and check out?
186 [% IF ( TOO_MANY ) %]
187 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
190 [% IF ( BORRNOTSAMEBRANCH ) %]
191 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
194 [% IF ( PATRON_CANT ) %]
195 <li>This patron can't check out this item per library circulation policy</li>
198 [% IF ( NOT_FOR_LOAN_FORCING ) %]
200 [% IF ( itemtype_notforloan ) %]
201 Item type is normally not for loan.
202 [% ELSIF ( item_notforloan ) %]
203 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
204 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
206 [% IF CAN_user_circulate_force_checkout %]
212 [% IF ( USERBLOCKEDOVERDUE ) %]
213 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
214 [% IF CAN_user_circulate_force_checkout %]
220 [% IF ( ITEM_LOST ) %]
221 <li>This item has been lost with a status of "[% ITEM_LOST %]".
222 [% IF CAN_user_circulate_force_checkout %]
229 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
232 [% IF BIBLIO_ALREADY_ISSUED %]
234 Patron has already checked out another item from this record.
235 [% IF CAN_user_circulate_force_checkout %]
243 <script language="JavaScript" type="text/javascript">
244 $(document).ready(function() {
245 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
250 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
251 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
253 [% IF ( RESERVED ) %]
255 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
256 <label for="cancelreserve">Cancel hold</label>
260 [% IF ( RESERVE_WAITING ) %]
262 <label for="cancelreserve">Cancel hold</label>
263 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
264 <label for="revertreserve">Revert waiting status</label>
265 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
269 <input type="hidden" name="barcode" value="[% barcode |html %]" />
270 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
271 <input type="hidden" name="issueconfirmed" value="1" />
272 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
273 [% IF ( INVALID_DATE ) %]
275 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
276 <label for="duedatespec">Due date</label>
279 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
281 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
282 <input type="hidden" name="branch" value="[% branch %]" />
283 [% IF ( RENEW_ISSUE ) %]
284 <input type="submit" class="approve" value="Yes, renew (Y)" accesskey="y" />
286 <input type="submit" class="approve" value="Yes, check out (Y)" accesskey="y" />
291 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
292 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
293 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
294 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
295 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
296 [% IF ( RENEW_ISSUE ) %]
297 <input type="submit" class="deny" value="No, don't renew (N)" accesskey="n" />
299 <input type="submit" class="deny" value="No, don't check out (N)" accesskey="n" />
302 <input type="submit" class="deny" value="Continue" />
307 [% END %] <!-- NEEDSCONFIRMATION -->
309 [% IF ( IMPOSSIBLE ) %]
312 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
316 <div id="circ_impossible" class="dialog alert">
317 <!-- RESULT OF ISSUING REQUEST -->
320 <li>Local use recorded</li>
323 [% IF ( INVALID_DATE ) %]
324 <li>The due date "[% INVALID_DATE %]" is invalid</li>
327 [% IF ( UNKNOWN_BARCODE ) %]
328 <li>The barcode was not found [% barcode |html %]
329 [% IF ( fast_cataloging ) %]
330 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
331 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
335 [% IF ( FALLBACK ) %]
337 <br />The following items were found by searching:
338 [% FOREACH book IN options %]
340 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
341 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
342 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
343 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
344 <input type="hidden" name="branch" value="[% branch %]" />
345 <input type="hidden" name="barcode" value="[% book.barcode %]" />
346 <input type="submit" name="x" value="Check out [% book.barcode %]: [% book.title %]" />
350 <br />No items were found by searching.
357 [% IF ( NOT_FOR_LOAN ) %]
359 [% IF ( itemtype_notforloan ) %]
360 Item type not for loan.
361 [% ELSIF ( item_notforloan ) %]
362 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
363 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
368 [% IF ( WTHDRAWN ) %]
369 <li>Item has been withdrawn</li>
372 [% IF ( RESTRICTED ) %]
373 <li>Item is restricted</li>
377 <li>Patron's address is in doubt</li>
380 [% IF ( CARD_LOST ) %]
381 <li>Patron's card is lost</li>
384 [% IF ( DEBARRED ) %]
385 <li>Patron is restricted</li>
388 [% IF ( NO_MORE_RENEWALS ) %]
389 <li>No more renewals possible</li>
392 [%IF ( AGE_RESTRICTION ) %]
393 <li>Age restriction [% AGE_RESTRICTION %].</li>
397 <li>Patron's card is expired</li>
400 [% IF ( TOO_MANY ) %]
401 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
404 [% IF ( ITEMNOTSAMEBRANCH ) %]
405 <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
408 [% IF ( USERBLOCKEDREMAINING ) %]
409 <li>Patron has had overdue items and is blocked for [% USERBLOCKEDREMAINING %] day(s).</li>
412 [% IF ( USERBLOCKEDOVERDUE ) %]
413 <li>Checkouts are BLOCKED because patron has overdue items</li>
420 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
422 [% END %] <!-- /impossible -->
425 <p>Item checked out</p>
429 [% INCLUDE 'patron-toolbar.inc' %]
431 No patron matched <span class="ex">[% message %]</span>
436 [% IF ( selectborrower ) %]
437 [% INCLUDE 'patron-toolbar.inc' %]
439 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
440 <fieldset id="circ_circulation_selectborrower" class="brief">
441 <legend>Patron selection</legend>
443 <input type="hidden" name="branch" value="[% branch %]" />
444 <input type="hidden" name="printer" value="[% printer %]" />
445 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
446 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
449 <label for="borrowernumber">Select a patron: </label>
450 <select name="borrowernumber" id="borrowernumber" size="7" class="focus" ondblclick="document.forms['mainform'].submit()">
451 [% FOREACH borrower IN selectborrower.values %]
452 <option value="[% borrower %]">[% selectborrower.labels.$borrower %]</option>
457 <p><input type="submit" value="Select" /></p>
460 [% ELSE %] <!-- selectborrower -->
462 <!-- BARCODE ENTRY -->
464 [% IF ( borrowernumber ) %]
466 [% UNLESS ( noissues ) %]
468 <div class="yui-u first">
475 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
476 <fieldset id="circ_circulation_issue">
477 [% IF ( DisplayClearScreenButton ) %]
478 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
481 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
483 <div class="hint">Enter item barcode:</div>
485 [% IF NEEDSCONFIRMATION %]
486 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
488 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
490 <button type="submit" class="btn">Check out</button>
492 [% IF ( SpecifyDueDate ) %]<div class="date-select">
493 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
494 [% 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" />
496 <label for="stickyduedate"> Remember for session:</label>
497 [% IF ( stickyduedate ) %]
498 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
500 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
502 <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>
504 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
505 <input type="hidden" name="branch" value="[% branch %]" />
506 <input type="hidden" name="printer" value="[% printer %]" />
507 <input type="hidden" name="print" value="maybe" />
508 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
510 <input type="hidden" name="charges" value="yes" />
511 <input type="hidden" name="oldamount" value="[% amountold %]" />
514 </form></div>[% END %]<!-- /unless noissues -->
516 [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
519 [% IF ( noissues ) %]
520 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
521 <div id="circmessages" class="circmessage warning">
523 <div id="circmessages" class="circmessage attention">
526 <h3>[% IF ( noissues ) %]
528 [% ELSE %]Attention:[% END %]</h3>
531 [% IF ( warndeparture ) %]
532 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
533 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>
538 [% IF ( returnbeforeexpiry ) %]
539 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
540 expiry date is before the date due, the date due will be set to the expiry date
545 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
546 [% 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>
552 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
556 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
559 [% IF ( userdebarred ) %]
561 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
563 [% IF ( userdebarreddate ) %]
564 until [% userdebarreddate %]
567 [% IF ( debarredcomment ) %]
568 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
572 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
576 [% 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>
581 <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>.
582 [% IF ( charges_is_blocker ) %]
583 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
585 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
590 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
599 [% IF ( WaitingReserveLoop ) %]
600 <div id="holdswaiting" class="circmessage">
601 <h4>Holds waiting:</h4>
602 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
604 <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 %].
605 [% IF ( WaitingReserveLoo.waitingat ) %]
606 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
612 <!-- /If WaitingReserveLoop -->[% END %]
614 <div id="circnotes" class="circmessage">
616 <p><span class="circ-hlt">[% notesmsg %]</span></p>
620 <!-- /If notes -->[% END %]
622 <div id="messages" class="circmessage">
625 [% FOREACH lib_messages_loo IN lib_messages_loop %]
627 <span class="circ-hlt">
628 [% lib_messages_loo.message_date_formatted %]
629 [% lib_messages_loo.branchcode %]
630 <i>"[% lib_messages_loo.message %]"</i>
632 [% IF ( lib_messages_loo.can_delete ) %]
633 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
635 [% IF ( all_messages_del ) %]
636 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
641 [% FOREACH bor_messages_loo IN bor_messages_loop %]
642 <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>
643 [% ELSIF ( all_messages_del ) %]
644 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
651 <!-- /If flagged -->[% END %]
658 <div class="yui-g"><div id="patronlists" class="toptabs">
662 [% IF ( issuecount ) %]
663 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
665 <a href="#checkouts">0 Checkouts</a>
669 [% IF relatives_issues_count %]
670 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
674 [% IF ( holds_count ) %]
675 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
677 <a href="#reserves" id="holds-tab">0 Holds</a>
681 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
684 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
686 [% IF ( issuecount ) %]
687 <table id="issues-table">
690 <th scope="col"> </th>
691 <th scope="col"> </th>
692 <th scope="col">Due date</th>
693 <th scope="col">Due date</th>
694 <th scope="col">Title</th>
695 <th scope="col">Item type</th>
696 <th scope="col">Checked out on</th>
697 <th scope="col">Checked out from</th>
698 <th scope="col">Call no</th>
699 <th scope="col">Charge</th>
700 <th scope="col">Price</th>
701 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
702 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
703 <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
706 [% INCLUDE 'checkouts-table-footer.inc' %]
709 <fieldset class="action">
710 [% IF ( CAN_user_circulate_override_renewals ) %]
711 [% IF ( AllowRenewalLimitOverride ) %]
712 <label for="override_limit">Override renewal limit:</label>
713 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
716 <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
717 <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
720 <p>Patron has nothing checked out.</p>
724 [% IF ( relatives_issues_count ) %]
725 <div id="relatives-issues">
726 <table id="relatives-issues-table">
729 <th scope="col">Due date (unformatted, hidden)</th>
730 <th scope="col">Due date</th>
731 <th scope="col">Title</th>
732 <th scope="col">Item type</th>
733 <th scope="col">Checked out on</th>
734 <th scope="col">Checked out from</th>
735 <th scope="col">Call no</th>
736 <th scope="col">Charge</th>
737 <th scope="col">Price</th>
738 <th scope="col">Patron</th>
745 [% INCLUDE borrower_debarments.inc %]
748 [% IF ( holds_count ) %]
749 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
750 <input type="hidden" name="from" value="circ" />
751 <table id="holds-table" style="width: 100% !Important;">
765 <fieldset class="action">
766 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
770 [% IF SuspendHoldsIntranet %]
771 <fieldset class="action">
772 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
773 <input type="hidden" name="from" value="circ" />
774 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
775 <input type="submit" value="Suspend all holds" />
777 [% IF AutoResumeSuspendedHolds %]
778 <label for="suspend_until">until</label>
779 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
780 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
785 <fieldset class="action">
786 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
787 <input type="hidden" name="from" value="circ" />
788 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
789 <input type="hidden" name="suspend" value="0" />
790 <input type="submit" value="Resume all suspended holds" />
793 [% END # IF SuspendHoldsIntranet %]
796 <p>Patron has nothing on hold.</p>
798 </div> <!-- reservesloop -->
800 [% END %] <!-- borrowernumber -->
808 [% UNLESS ( selectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
809 [% INCLUDE 'circ-menu.inc' %]
810 </div>[% END %][% END %]
812 [% INCLUDE 'intranet-bottom.inc' %]