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 %]' );
61 <body id="circ_circulation" class="circ">
63 [% INCLUDE 'header.inc' %]
64 [% INCLUDE 'circ-search.inc' %]
66 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
67 [% IF ( borrowernumber ) %]
68 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
70 <strong>Checkouts</strong>
73 [% IF ( selectborrower ) %]
74 <div id="doc" class="yui-t7">
80 <div id="doc3" class="yui-t2">
87 [% IF ( borrowernumber ) %]
88 [% INCLUDE 'members-toolbar.inc' %]
91 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
92 <div style="display: none;" id="add_message_form">
93 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
94 <fieldset id="borrower_messages" class="brief">
95 <legend>Leave a message</legend>
98 <label for="message_type">Add a message for:</label>
99 <select name="message_type" id="message_type">
100 <option value="L">Other librarians</option>
101 <option value="B">[% firstname %]</option>
104 [% IF ( canned_bor_notes_loop ) %]
106 <label for="type">Predefined notes: </label>
107 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
108 <option value="">Select note</option>
109 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
110 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
116 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
119 <fieldset class="action">
120 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
123 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
124 <input type="hidden" name="branchcode" value="[% branch %]" />
129 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
131 [% IF additional_materials %]
132 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
133 [% additional_materials %]
137 [% IF ( alert.ITEM_LOST ) %]
138 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
141 [% IF ( alert.OTHER_CHARGES ) %]
142 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
145 [% IF ( NEEDSCONFIRMATION ) %]
148 <div id="circ_needsconfirmation" class="dialog alert">
149 [% IF CAN_user_circulate_force_checkout %]
150 <h3>Please confirm checkout</h3>
152 <h3>Cannot check out</h3>
156 [%IF ( AGE_RESTRICTION ) %]
157 <li>Age restriction [% AGE_RESTRICTION %].
158 [% IF CAN_user_circulate_force_checkout %]
165 <li>The patron has a debt of [% DEBT %]</li>
168 [% IF ( RENEW_ISSUE ) %]
169 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
172 [% IF ( RESERVE_WAITING ) %]
173 <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>
176 [% IF ( RESERVED ) %]
177 <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>
180 [% IF ( ISSUED_TO_ANOTHER ) %]
181 <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 %]).
182 [% IF CAN_user_circulate_force_checkout %]
183 Check in and check out?
188 [% IF ( TOO_MANY ) %]
189 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
192 [% IF ( BORRNOTSAMEBRANCH ) %]
193 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
196 [% IF ( PATRON_CANT ) %]
197 <li>This patron can't check out this item per library circulation policy</li>
200 [% IF ( NOT_FOR_LOAN_FORCING ) %]
202 [% IF ( itemtype_notforloan ) %]
203 Item type is normally not for loan.
204 [% ELSIF ( item_notforloan ) %]
205 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
206 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
208 [% IF CAN_user_circulate_force_checkout %]
214 [% IF ( USERBLOCKEDOVERDUE ) %]
215 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
216 [% IF CAN_user_circulate_force_checkout %]
222 [% IF ( ITEM_LOST ) %]
223 <li>This item has been lost with a status of "[% ITEM_LOST %]".
224 [% IF CAN_user_circulate_force_checkout %]
231 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
234 [% IF BIBLIO_ALREADY_ISSUED %]
236 Patron has already checked out another item from this record.
237 [% IF CAN_user_circulate_force_checkout %]
245 <script language="JavaScript" type="text/javascript">
246 $(document).ready(function() {
247 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
252 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
253 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
255 [% IF ( RESERVED ) %]
257 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
258 <label for="cancelreserve">Cancel hold</label>
262 [% IF ( RESERVE_WAITING ) %]
264 <label for="cancelreserve">Cancel hold</label>
265 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
266 <label for="revertreserve">Revert waiting status</label>
267 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
271 <input type="hidden" name="barcode" value="[% barcode |html %]" />
272 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
273 <input type="hidden" name="issueconfirmed" value="1" />
274 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
275 [% IF ( INVALID_DATE ) %]
277 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
278 <label for="duedatespec">Due date</label>
281 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
283 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
284 <input type="hidden" name="branch" value="[% branch %]" />
285 [% IF ( RENEW_ISSUE ) %]
286 <input type="submit" class="approve" value="Yes, renew (Y)" accesskey="y" />
288 <input type="submit" class="approve" value="Yes, check out (Y)" accesskey="y" />
293 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
294 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
295 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
296 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
297 [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
298 [% IF ( RENEW_ISSUE ) %]
299 <input type="submit" class="deny" value="No, don't renew (N)" accesskey="n" />
301 <input type="submit" class="deny" value="No, don't check out (N)" accesskey="n" />
304 <input type="submit" class="deny" value="Continue" />
309 [% END %] <!-- NEEDSCONFIRMATION -->
311 [% IF ( IMPOSSIBLE ) %]
314 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
318 <div id="circ_impossible" class="dialog alert">
319 <!-- RESULT OF ISSUING REQUEST -->
322 <li>Local use recorded</li>
325 [% IF ( INVALID_DATE ) %]
326 <li>The due date "[% INVALID_DATE %]" is invalid</li>
329 [% IF ( UNKNOWN_BARCODE ) %]
330 <li>The barcode was not found [% barcode |html %]
331 [% IF ( fast_cataloging ) %]
332 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
333 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
337 [% IF ( FALLBACK ) %]
339 <br />The following items were found by searching:
340 [% FOREACH book IN options %]
342 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
343 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
344 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
345 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
346 <input type="hidden" name="branch" value="[% branch %]" />
347 <input type="hidden" name="barcode" value="[% book.barcode %]" />
348 <input type="submit" name="x" value="Check out [% book.barcode %]: [% book.title %]" />
352 <br />No items were found by searching.
359 [% IF ( NOT_FOR_LOAN ) %]
361 [% IF ( itemtype_notforloan ) %]
362 Item type not for loan.
363 [% ELSIF ( item_notforloan ) %]
364 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
365 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
370 [% IF ( WTHDRAWN ) %]
371 <li>Item has been withdrawn</li>
374 [% IF ( RESTRICTED ) %]
375 <li>Item is restricted</li>
379 <li>Patron's address is in doubt</li>
382 [% IF ( CARD_LOST ) %]
383 <li>Patron's card is lost</li>
386 [% IF ( DEBARRED ) %]
387 <li>Patron is restricted</li>
390 [% IF ( NO_MORE_RENEWALS ) %]
391 <li>No more renewals possible</li>
394 [%IF ( AGE_RESTRICTION ) %]
395 <li>Age restriction [% AGE_RESTRICTION %].</li>
399 <li>Patron's card is expired</li>
402 [% IF ( TOO_MANY ) %]
403 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
406 [% IF ( ITEMNOTSAMEBRANCH ) %]
407 <li>This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.</li>
410 [% IF ( USERBLOCKEDREMAINING ) %]
411 <li>Patron has had overdue items and is blocked for [% USERBLOCKEDREMAINING %] day(s).</li>
414 [% IF ( USERBLOCKEDOVERDUE ) %]
415 <li>Checkouts are BLOCKED because patron has overdue items</li>
422 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
424 [% END %] <!-- /impossible -->
427 <p>Item checked out</p>
431 [% INCLUDE 'patron-toolbar.inc' %]
433 No patron matched <span class="ex">[% message %]</span>
438 [% IF ( selectborrower ) %]
439 [% INCLUDE 'patron-toolbar.inc' %]
441 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
442 <fieldset id="circ_circulation_selectborrower" class="brief">
443 <legend>Patron selection</legend>
445 <input type="hidden" name="branch" value="[% branch %]" />
446 <input type="hidden" name="printer" value="[% printer %]" />
447 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
448 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
451 <label for="borrowernumber">Select a patron: </label>
452 <select name="borrowernumber" id="borrowernumber" size="7" class="focus" ondblclick="document.forms['mainform'].submit()">
453 [% FOREACH borrower IN selectborrower.values %]
454 <option value="[% borrower %]">[% selectborrower.labels.$borrower %]</option>
459 <p><input type="submit" value="Select" /></p>
462 [% ELSE %] <!-- selectborrower -->
464 <!-- BARCODE ENTRY -->
466 [% IF ( borrowernumber ) %]
468 [% UNLESS ( noissues ) %]
470 <div class="yui-u first">
477 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
478 <fieldset id="circ_circulation_issue">
479 [% IF ( DisplayClearScreenButton ) %]
480 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
483 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
485 <div class="hint">Enter item barcode:</div>
487 [% IF NEEDSCONFIRMATION %]
488 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
490 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
492 <button type="submit" class="btn">Check out</button>
494 <div class="date-select">
495 [% IF NEEDSCONFIRMATION %]
496 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
498 <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" />
500 <label for="auto_renew">Automatic renewal</label>
503 [% IF ( SpecifyDueDate ) %]<div class="date-select">
504 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
505 [% 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" />
507 <label for="stickyduedate"> Remember for session:</label>
508 [% IF ( stickyduedate ) %]
509 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
511 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
513 <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>
515 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
516 <input type="hidden" name="branch" value="[% branch %]" />
517 <input type="hidden" name="printer" value="[% printer %]" />
518 <input type="hidden" name="print" value="maybe" />
519 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
521 <input type="hidden" name="charges" value="yes" />
522 <input type="hidden" name="oldamount" value="[% amountold %]" />
525 </form></div>[% END %]<!-- /unless noissues -->
527 [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
530 [% IF ( noissues ) %]
531 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
532 <div id="circmessages" class="circmessage warning">
534 <div id="circmessages" class="circmessage attention">
537 <h3>[% IF ( noissues ) %]
539 [% ELSE %]Attention:[% END %]</h3>
542 [% IF ( warndeparture ) %]
543 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
544 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>
549 [% IF ( returnbeforeexpiry ) %]
550 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
551 expiry date is before the date due, the date due will be set to the expiry date
556 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
557 [% 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>
563 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
567 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
570 [% IF ( userdebarred ) %]
572 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted
574 [% IF ( userdebarreddate ) %]
575 until [% userdebarreddate %]
578 [% IF ( debarredcomment ) %]
579 with the explanation: <br/><i>[% debarredcomment | html_line_break %]</i>
583 <a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
587 [% 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>
592 <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>.
593 [% IF ( charges_is_blocker ) %]
594 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
596 <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Make payment</a></li>
601 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
610 [% IF ( WaitingReserveLoop ) %]
611 <div id="holdswaiting" class="circmessage">
612 <h4>Holds waiting:</h4>
613 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
615 <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 %].
616 [% IF ( WaitingReserveLoo.waitingat ) %]
617 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
623 <!-- /If WaitingReserveLoop -->[% END %]
625 <div id="circnotes" class="circmessage">
627 <p><span class="circ-hlt">[% notesmsg %]</span></p>
631 <!-- /If notes -->[% END %]
633 <div id="messages" class="circmessage">
636 [% FOREACH lib_messages_loo IN lib_messages_loop %]
638 <span class="circ-hlt">
639 [% lib_messages_loo.message_date_formatted %]
640 [% lib_messages_loo.branchcode %]
641 <i>"[% lib_messages_loo.message %]"</i>
643 [% IF ( lib_messages_loo.can_delete ) %]
644 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
646 [% IF ( all_messages_del ) %]
647 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
652 [% FOREACH bor_messages_loo IN bor_messages_loop %]
653 <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>
654 [% ELSIF ( all_messages_del ) %]
655 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
662 <!-- /If flagged -->[% END %]
669 <div class="yui-g"><div id="patronlists" class="toptabs">
673 [% IF ( issuecount ) %]
674 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
676 <a href="#checkouts">0 Checkouts</a>
680 [% IF relatives_issues_count %]
681 <li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li>
685 [% IF ( holds_count ) %]
686 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
688 <a href="#reserves" id="holds-tab">0 Holds</a>
692 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
695 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
697 [% IF ( issuecount ) %]
698 <div id="issues-table-loading-message">
700 <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
704 <table id="issues-table">
707 <th scope="col"> </th>
708 <th scope="col"> </th>
709 <th scope="col">Due date</th>
710 <th scope="col">Due date</th>
711 <th scope="col">Title</th>
712 <th scope="col">Item type</th>
713 <th scope="col">Checked out on</th>
714 <th scope="col">Checked out from</th>
715 <th scope="col">Call no</th>
716 <th scope="col">Charge</th>
717 <th scope="col">Price</th>
718 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
719 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
720 <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
723 [% INCLUDE 'checkouts-table-footer.inc' %]
726 <label for="issues-table-load-immediately">Always show checkouts immediately</label>
727 <input id="issues-table-load-immediately" type="checkbox" />
729 <fieldset id="issues-table-actions" class="action">
730 [% IF ( CAN_user_circulate_override_renewals ) %]
731 [% IF ( AllowRenewalLimitOverride ) %]
732 <label for="override_limit">Override renewal limit:</label>
733 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
736 <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
737 <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
740 <p>Patron has nothing checked out.</p>
744 [% IF ( relatives_issues_count ) %]
745 <div id="relatives-issues">
746 <table id="relatives-issues-table">
749 <th scope="col">Due date (unformatted, hidden)</th>
750 <th scope="col">Due date</th>
751 <th scope="col">Title</th>
752 <th scope="col">Item type</th>
753 <th scope="col">Checked out on</th>
754 <th scope="col">Checked out from</th>
755 <th scope="col">Call no</th>
756 <th scope="col">Charge</th>
757 <th scope="col">Price</th>
758 <th scope="col">Patron</th>
765 [% INCLUDE borrower_debarments.inc %]
768 [% IF ( holds_count ) %]
769 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
770 <input type="hidden" name="from" value="circ" />
771 <table id="holds-table" style="width: 100% !Important;">
785 <fieldset class="action">
786 <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
790 [% IF SuspendHoldsIntranet %]
791 <fieldset class="action">
792 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
793 <input type="hidden" name="from" value="circ" />
794 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
795 <input type="submit" value="Suspend all holds" />
797 [% IF AutoResumeSuspendedHolds %]
798 <label for="suspend_until">until</label>
799 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
800 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
805 <fieldset class="action">
806 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
807 <input type="hidden" name="from" value="circ" />
808 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
809 <input type="hidden" name="suspend" value="0" />
810 <input type="submit" value="Resume all suspended holds" />
813 [% END # IF SuspendHoldsIntranet %]
816 <p>Patron has nothing on hold.</p>
818 </div> <!-- reservesloop -->
820 [% END %] <!-- borrowernumber -->
828 [% UNLESS ( selectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
829 [% INCLUDE 'circ-menu.inc' %]
830 </div>[% END %][% END %]
832 [% INCLUDE 'intranet-bottom.inc' %]