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 'datatables.inc' %]
19 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
20 [% INCLUDE 'strings.inc' %]
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 %];
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 ( CGIselectborrower ) %]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 ( CGIselectborrower ) %]
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 ( CGIselectborrower ) %]
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 [% CGIselectborrower %]
453 <p><input type="submit" value="Select" /></p>
456 [% ELSE %] <!-- CGIselectborrower -->
458 <!-- BARCODE ENTRY -->
460 [% IF ( borrowernumber ) %]
462 [% UNLESS ( noissues ) %]
464 <div class="yui-u first">
471 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
472 <fieldset id="circ_circulation_issue">
473 [% IF ( DisplayClearScreenButton ) %]
474 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
477 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
479 <div class="hint">Enter item barcode:</div>
481 [% IF NEEDSCONFIRMATION %]
482 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
484 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
486 <button type="submit" class="btn">Check out</button>
488 [% IF ( SpecifyDueDate ) %]<div class="date-select">
489 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
490 [% 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" />
492 <label for="stickyduedate"> Remember for session:</label>
493 [% IF ( stickyduedate ) %]
494 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
496 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
498 <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>
500 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
501 <input type="hidden" name="branch" value="[% branch %]" />
502 <input type="hidden" name="printer" value="[% printer %]" />
503 <input type="hidden" name="print" value="maybe" />
504 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
506 <input type="hidden" name="charges" value="yes" />
507 <input type="hidden" name="oldamount" value="[% amountold %]" />
510 </form></div>[% END %]<!-- /unless noissues -->
512 [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
515 [% IF ( noissues ) %]
516 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
517 <div id="circmessages" class="circmessage warning">
519 <div id="circmessages" class="circmessage attention">
522 <h3>[% IF ( noissues ) %]
524 [% ELSE %]Attention:[% END %]</h3>
527 [% IF ( warndeparture ) %]
528 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
529 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>
534 [% IF ( returnbeforeexpiry ) %]
535 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
536 expiry date is before the date due, the date due will be set to the expiry date
541 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
542 [% 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>
548 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
552 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
555 [% IF ( userdebarred ) %]
557 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
559 [% IF ( userdebarreddate ) %]
560 until [% userdebarreddate %]
563 [% IF ( debarredcomment ) %]
564 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
568 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
572 [% 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>
577 <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>.
578 [% IF ( charges_is_blocker ) %]
579 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
581 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
586 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
595 [% IF ( WaitingReserveLoop ) %]
596 <div id="holdswaiting" class="circmessage">
597 <h4>Holds waiting:</h4>
598 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
600 <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 %].
601 [% IF ( WaitingReserveLoo.waitingat ) %]
602 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
608 <!-- /If WaitingReserveLoop -->[% END %]
610 <div id="circnotes" class="circmessage">
612 <p><span class="circ-hlt">[% notesmsg %]</span></p>
616 <!-- /If notes -->[% END %]
618 <div id="messages" class="circmessage">
621 [% FOREACH lib_messages_loo IN lib_messages_loop %]
623 <span class="circ-hlt">
624 [% lib_messages_loo.message_date_formatted %]
625 [% lib_messages_loo.branchcode %]
626 <i>"[% lib_messages_loo.message %]"</i>
628 [% IF ( lib_messages_loo.can_delete ) %]
629 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
631 [% IF ( all_messages_del ) %]
632 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
637 [% FOREACH bor_messages_loo IN bor_messages_loop %]
638 <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>
639 [% ELSIF ( all_messages_del ) %]
640 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
647 <!-- /If flagged -->[% END %]
654 <div class="yui-g"><div id="patronlists" class="toptabs">
658 [% IF ( issuecount ) %]
659 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
661 <a href="#checkouts">0 Checkouts</a>
665 [% IF relatives_issues_count %]
666 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
670 [% IF ( holds_count ) %]
671 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
673 <a href="#reserves" id="holds-tab">0 Holds</a>
677 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
680 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
682 [% IF ( issuecount ) %]
683 <table id="issues-table">
686 <th scope="col"> </th>
687 <th scope="col">Due date</th>
688 <th scope="col">Due date</th>
689 <th scope="col">Title</th>
690 <th scope="col">Item type</th>
691 <th scope="col">Checked out on</th>
692 <th scope="col">Checked out from</th>
693 <th scope="col">Call no</th>
694 <th scope="col">Charge</th>
695 <th scope="col">Price</th>
696 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
697 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
698 <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
701 [% INCLUDE 'checkouts-table-footer.inc' %]
704 <fieldset class="action">
705 [% IF ( CAN_user_circulate_override_renewals ) %]
706 [% IF ( AllowRenewalLimitOverride ) %]
707 <label for="override_limit">Override renewal limit:</label>
708 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
711 <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
712 <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
715 <p>Patron has nothing checked out.</p>
719 [% IF ( relatives_issues_count ) %]
720 <div id="relatives-issues">
721 <table id="relatives-issues-table">
724 <th scope="col">Due date</th>
725 <th scope="col">Title</th>
726 <th scope="col">Item type</th>
727 <th scope="col">Checked out on</th>
728 <th scope="col">Checked out from</th>
729 <th scope="col">Call no</th>
730 <th scope="col">Charge</th>
731 <th scope="col">Price</th>
732 <th scope="col">Patron</th>
739 [% INCLUDE borrower_debarments.inc %]
742 [% IF ( holds_count ) %]
743 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
744 <input type="hidden" name="from" value="circ" />
745 <table id="holds-table" style="width: 100% !Important;">
759 <fieldset class="action">
760 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
764 [% IF SuspendHoldsIntranet %]
765 <fieldset class="action">
766 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
767 <input type="hidden" name="from" value="circ" />
768 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
769 <input type="submit" value="Suspend all holds" />
771 [% IF AutoResumeSuspendedHolds %]
772 <label for="suspend_until">until</label>
773 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
774 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
779 <fieldset class="action">
780 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
781 <input type="hidden" name="from" value="circ" />
782 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
783 <input type="hidden" name="suspend" value="0" />
784 <input type="submit" value="Resume all suspended holds" />
787 [% END # IF SuspendHoldsIntranet %]
790 <p>Patron has nothing on hold.</p>
792 </div> <!-- reservesloop -->
794 [% END %] <!-- borrowernumber -->
802 [% UNLESS ( CGIselectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
803 [% INCLUDE 'circ-menu.inc' %]
804 </div>[% END %][% END %]
806 [% INCLUDE 'intranet-bottom.inc' %]