1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation
3 <!-- TMPL_IF NAME="borrowernumber" -->
4 › Checking out to <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR name="firstname" -->
5 (<!-- TMPL_VAR NAME="cardnumber" -->)
6 <!-- /TMPL_IF --></title>
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
10 <script type="text/javascript">
12 $.tablesorter.addParser({
14 is: function(s) {return false; },
15 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
18 <!-- TMPL_UNLESS NAME="borrowernumber" --><!-- TMPL_UNLESS NAME="CGIselectborrower" -->window.onload=function(){ $('#findborrower').focus(); };<!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
19 $(document).ready(function() {
20 $('#patronlists > ul').tabs();
21 $.tablesorter.defaults.widgets = ['zebra'];
22 $("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
23 dateFormat: 'uk',<!-- /TMPL_IF -->
24 headers: { 1: { sorter: 'articles' },5: { sorter: false },6:{sorter:false},7:{sorter:false},8:{sorter:false}}
26 $("#issuest").bind("sortEnd",function() {
27 $("#previous").parents("tr").remove(); // 'previous checkouts' header chokes table sorter
29 $("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
30 dateFormat: 'uk',<!-- /TMPL_IF -->
32 headers: { 1: { sorter: 'articles' }}
35 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
36 $( '#override_limit' ).click( function () {
38 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
40 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
42 } ).attr( 'checked', false );
45 var allcheckboxes = $(".checkboxed");
46 $("#renew_all").click(function(){
47 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
48 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]");
50 $("#return_all").click(function(){
51 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
52 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]");
54 $("#CheckAllitems").click(function(){
55 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
56 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
58 $("#CheckNoitems").click(function(){
59 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
61 $("#CheckAllreturns").click(function(){
62 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
63 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
65 $("#CheckNoreturns" ).click(function(){
66 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
69 <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
70 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
71 $( '#override_limit' ).click( function () {
73 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
75 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
77 } ).attr( 'checked', false );
80 $("td").click(function(e){
81 if(e.target.tagName.toLowerCase() == 'td'){
82 $(this).find("input:checkbox").each( function() {
83 $(this).attr('checked', !$(this).attr('checked'));
84 if($(this).attr('checked')){
85 $(this).parent().siblings().find("input:checkbox").each(function(){
86 if($(this).attr('checked')){ $(this).attr('checked',''); }
92 $("#messages ul").after("<a href=\"#\" id=\"addmessage\">"+_("Add a new message")+"</a>");
93 $("#borrower_messages .cancel").click(function(){
94 $("#add_message_form").hide();
95 $("#addmessage").show();
97 $("#addmessage").click(function (){
99 $("#add_message_form").show();
102 function uncheck_sibling(me){
103 nodename=me.getAttribute("name");
104 if (nodename =="barcodes[]"){
105 var Node=me.parentNode.previousSibling;
106 while (Node.nodeName!="TD"){Node=Node.previousSibling}
107 var Nodes=Node.childNodes;
108 for (var i=0;i<Nodes.length;i++){
109 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
110 Nodes[i].checked=false;
115 var Node=me.parentNode.nextSibling;
116 while (Node.nodeName!="TD"){Node=Node.nextSibling}
117 var Nodes=Node.childNodes;
118 for (var i=0;i<Nodes.length;i++){
119 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
120 Nodes[i].checked=false;
125 function validate1(date) {
126 var today = new Date();
127 if ( date < today ) {
133 function refocus(calendar) {
134 document.getElementById('barcode').focus();
140 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
144 <!-- TMPL_INCLUDE NAME="header.inc" -->
145 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
147 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›<!-- TMPL_IF NAME="borrowernumber" --> <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- TMPL_ELSE --> <strong>Checkouts</strong><!-- /TMPL_IF --></div>
150 <!-- TMPL_IF NAME="CGIselectborrower" -->
151 <div id="doc" class="yui-t7">
157 <div id="doc3" class="yui-t2">
164 <!-- TMPL_IF NAME="borrowernumber" -->
165 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
168 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
169 <div style="display: none;" id="add_message_form">
170 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
171 <fieldset id="borrower_messages" class="brief">
172 <legend>Leave a message</legend>
175 <label for="message_type">Add a message for:</label>
176 <select name="message_type" id="message_type">
177 <option value="L">Other Librarians</option>
178 <option value="B"><!-- TMPL_VAR name="firstname" --></option>
181 <!-- TMPL_IF NAME="canned_bor_notes_loop" -->
183 <label for="canned_notes">Predefined notes: </label>
184 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
185 <option value="">Select Note</option>
186 <!-- TMPL_LOOP NAME="canned_bor_notes_loop" -->
187 <option value="<!-- TMPL_VAR NAME="lib" -->"><!--TMPL_VAR NAME="authorised_value" --></option>
193 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
196 <fieldset class="action">
197 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
200 <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
201 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branch" -->" />
206 <!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
207 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
210 <div id="circ_needsconfirmation" class="dialog alert">
211 <h3>Please Confirm Checkout</h3>
214 <!-- TMPL_IF NAME="DEBT" -->
215 <li>The patron has a debt of <!-- TMPL_VAR name="DEBT" --></li>
218 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
219 <li>Item is currently checked out to this patron. Renew?</li>
222 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
223 <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
226 <!-- TMPL_IF NAME="RESERVED" -->
227 <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
230 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
231 <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) checked out to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Check in and check out?</li>
234 <!-- TMPL_IF NAME="TOO_MANY" -->
235 <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
238 <!-- TMPL_IF NAME="BORRNOTSAMEBRANCH" -->
239 <li>This patrons is from a different library (<!-- TMPL_VAR NAME="BORRNOTSAMEBRANCH" -->)</li>
242 <!-- TMPL_IF NAME="PATRON_CANT" -->
243 <li>This patron can't check out this item per library circulation policy</i>
246 <!-- TMPL_IF NAME="NOT_FOR_LOAN_FORCING" -->
247 <li>Item is normally not for loan. Check out anyway?</li>
249 <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
250 <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s). Check out anyway?</li>
254 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
256 <!-- TMPL_IF NAME="RESERVED" -->
258 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
259 <label for="cancelreserve">Cancel Reserve</label>
263 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
265 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
266 <label for="cancelreserve">Cancel Reserve</label>
270 <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
271 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
272 <input type="hidden" name="issueconfirmed" value="1" />
273 <!-- TMPL_IF NAME="DEBT" --><input type="hidden" name="debt_confirmed" value="1" /><!-- /TMPL_IF -->
274 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
275 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
276 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
277 <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
280 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
281 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
282 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
283 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
284 <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
288 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
290 <!-- TMPL_IF NAME="IMPOSSIBLE" -->
292 <!-- TMPL_IF NAME="soundon" -->
293 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
297 <div id="circ_impossible" class="dialog alert">
298 <!-- RESULT OF ISSUING REQUEST -->
300 <!-- TMPL_IF NAME="STATS" -->
301 <li>Local Use Recorded</li>
304 <!-- TMPL_IF NAME="INVALID_DATE" -->
305 <li>The due date "<!-- TMPL_VAR NAME="INVALID_DATE" -->" is invalid</li>
308 <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
309 <li>The barcode was not found</li>
312 <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
313 <li>Item not for loan</li>
316 <!-- TMPL_IF NAME="WTHDRAWN" -->
317 <li>Item has been withdrawn</li>
320 <!-- TMPL_IF NAME="RESTRICTED" -->
321 <li>Item is restricted</li>
324 <!-- TMPL_IF NAME="GNA" -->
325 <li>Patron's address is in doubt</li>
328 <!-- TMPL_IF NAME="CARD_LOST" -->
329 <li>Patron's card is lost</li>
332 <!-- TMPL_IF NAME="DEBARRED" -->
333 <li>Patron is restricted</li>
336 <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
337 <li>No more renewals possible</li>
340 <!-- TMPL_IF NAME="EXPIRED" -->
341 <li>Patron's card is expired</li>
344 <!-- TMPL_IF NAME="ITEMNOTSAMEBRANCH" -->
345 <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
348 <!-- TMPL_IF NAME="USERBLOCKEDREMAINING" -->
349 <li>Patron has had overdue items and is blocked for <!-- TMPL_VAR NAME="USERBLOCKEDREMAINING" --> day(s).</li>
352 <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
353 <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s). Check out anyway?</li>
357 <!-- TMPL_IF NAME="memberofinstution" -->
358 <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
363 <!-- TMPL_IF NAME="soundon" -->
364 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
366 <!--/TMPL_IF --> <!-- /impossible -->
368 <!-- TMPL_IF NAME="issued" -->
369 <p>Item Checked out</p>
372 <!-- TMPL_IF NAME="message" -->
373 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
375 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
380 <!-- TMPL_IF NAME="CGIselectborrower" -->
381 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
383 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
384 <fieldset id="circ_circulation_selectborrower" class="brief">
385 <legend>Patron selection</legend>
387 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
388 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
389 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
390 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
393 <label for="borrowernumber">Select a patron: </label>
394 <!-- TMPL_VAR name="CGIselectborrower" -->
397 <p><input type="submit" value="Select" /></p>
400 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
402 <!-- BARCODE ENTRY -->
404 <!-- TMPL_IF NAME="borrowernumber" -->
406 <!-- TMPL_UNLESS NAME="noissues" -->
407 <!-- TMPL_IF NAME="flagged" -->
408 <div class="yui-u first">
415 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
416 <fieldset id="circ_circulation_issue">
417 <!-- TMPL_IF NAME="DisplayClearScreenButton" -->
418 <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'">
421 <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
422 <div class="hint">Enter item barcode:</div>
424 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->disabled="disabled"<!-- /TMPL_IF -->/> <input type="submit" value="Check Out" />
426 <!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
427 <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
428 <!-- TMPL_IF NAME="duedatespec" --><input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" /><!-- TMPL_ELSE --><input type="text" size="10" id="duedatespec" name="duedatespec" value="" />
430 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarDueDate" style="cursor: pointer;" />
431 <script language="JavaScript" type="text/javascript">
433 function validate1(date) {
434 var today = new Date();
435 if ( date < today ) {
441 function refocus(calendar) {
442 $('#barcode').focus();
445 //#TODO - ADD syspref (AllowPostDatedCheckouts).
448 inputField : "duedatespec",
449 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
450 button : "CalendarDueDate",
451 disableFunc : validate1,
452 dateStatusFunc : validate1,
459 <label for="stickyduedate"> Remember for Session:</label>
460 <!-- TMPL_IF NAME="stickyduedate" -->
461 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
463 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
465 <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
466 </div><!-- /TMPL_IF -->
467 <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
468 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
469 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
470 <input type="hidden" name="print" value="maybe" />
471 <input type="hidden" name="debt_confirmed" value="<!-- TMPL_VAR NAME="debt_confirmed" -->" />
472 <!-- TMPL_IF NAME="CHARGES" -->
473 <input type="hidden" name="charges" value="yes" />
474 <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
477 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
479 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
481 <!-- TMPL_IF NAME="flagged" -->
482 <!-- TMPL_IF NAME="noissues" -->
483 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
484 <div id="circmessages" class="circmessage warning">
486 <div id="circmessages" class="circmessage attention">
489 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
492 <!-- TMPL_IF NAME = "warndeparture" -->
493 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
494 Patron's card expires on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
499 <!-- TMPL_IF NAME="returnbeforeexpiry" -->
500 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
501 expiry date is before the date due, the date due will be set to the expiry date
505 <!-- TMPL_IF NAME = "expired" -->
506 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
507 Patron's card expired on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->">Edit Details</a>
512 <!-- TMPL_IF NAME="gna" -->
513 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
516 <!-- TMPL_IF NAME="lost" -->
517 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
520 <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
521 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&status=0">Lift restriction</a>
522 </li><!-- /TMPL_IF -->
524 <!-- TMPL_IF name="odues" --><li><!-- TMPL_IF name="nonreturns" --><span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a><!-- /TMPL_IF --></li>
527 <!-- TMPL_IF NAME="charges" -->
528 <!-- TMPL_IF NAME="charges_is_blocker" -->
533 <span class="circ-hlt">Fines:</span> Patron has <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Outstanding fines<!-- TMPL_IF NAME="chargesamount" --> of <!-- TMPL_VAR NAME="chargesamount" --><!-- /TMPL_IF --></a>.
534 <!-- TMPL_IF NAME="charges_is_blocker" -->
535 Checkouts are blocked because fine balance is over the limit.
537 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
540 <!-- TMPL_IF NAME="credits" -->
542 <span class="circ-hlt">Credits:</span> Patron has a credit<!-- TMPL_IF NAME="creditsamount" --> of <!-- TMPL_VAR name="creditsamount" --><!-- /TMPL_IF -->
551 <!-- TMPL_IF NAME="WaitingReserveLoop" -->
552 <div id="holdswaiting" class="circmessage">
553 <h4>Holds waiting:</h4>
554 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
556 <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> (<!-- TMPL_VAR NAME="itemtype"-->), <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author"--><!-- /TMPL_IF --> Hold placed on <!-- TMPL_VAR NAME="reservedate"-->.
557 <!-- TMPL_IF NAME="waitingat" -->
558 <br /><!-- TMPL_IF NAME="waitinghere" --><strong class="waitinghere"><!-- TMPL_ELSE --><strong><!-- /TMPL_IF -->Waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
564 <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
565 <!-- TMPL_IF name="notes" -->
566 <div id="circnotes" class="circmessage">
568 <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
572 <!-- /If notes --><!-- /TMPL_IF -->
574 <div id="messages" class="circmessage">
577 <!--TMPL_LOOP NAME="lib_messages_loop" -->
579 <span class="circ-hlt">
580 <!--TMPL_VAR NAME="message_date_formatted"-->
581 <!--TMPL_VAR NAME="branchcode"-->
582 <i>"<!--TMPL_VAR NAME="message"-->"</i>
584 <!-- TMPL_IF NAME="can_delete" -->
585 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
587 <!-- TMPL_IF NAME="all_messages_del" -->
588 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
593 <!--TMPL_LOOP NAME="bor_messages_loop" -->
594 <li><span class=""><!--TMPL_VAR NAME="message_date_formatted"--> <!--TMPL_VAR NAME="branchcode"--> <i>"<!--TMPL_VAR NAME="message"-->"</i></span> <!-- TMPL_IF NAME="can_delete" --><a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a><!-- /TMPL_IF --></li>
600 <!-- /If flagged --><!-- /TMPL_IF -->
607 <div class="yui-g"><div id="patronlists" class="toptabs">
610 <li> <!--TMPL_IF NAME="issuecount"-->
611 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
613 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
614 <!-- /TMPL_IF --></li>
615 <li><!-- TMPL_IF NAME="countreserv"-->
616 <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
618 <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
619 <!-- /TMPL_IF --></li>
623 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
625 <!--TMPL_IF NAME="issuecount"-->
626 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
627 <input type="hidden" value="circ" name="destination" />
628 <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
629 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
630 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
633 <th scope="col">Due date</th>
634 <th scope="col">Title</th>
635 <th scope="col">Item Type</th>
636 <th scope="col">Checked out on</th>
637 <th scope="col">Call no</th>
638 <th scope="col">Charge</th>
639 <th scope="col">Price</th>
640 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
641 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
643 <!-- TMPL_IF NAME="todayissues" --></thead>
646 <td colspan="5" style="text-align: right; font-weight:bold;">Totals:</td>
647 <td><!-- TMPL_VAR NAME="totaldue" --></td>
648 <td><!-- TMPL_VAR NAME="totalprice" --></td>
651 Renewal due date: <input type="text" size="8" id="newduedate" name="newduedate" value="<!-- TMPL_VAR Name="newduedate" -->" />
652 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="newduedate_button" alt="Show Calendar" />
653 <script type="text/javascript"> //<![CDATA[
654 //#TODO - ADD syspref (AllowPostDatedCheckouts).
657 inputField : "newduedate",
658 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
659 button : "newduedate_button",
660 disableFunc : validate1,
661 dateStatusFunc : validate1,
669 <label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label>
676 <!-- TMPL_LOOP NAME="todayissues" -->
677 <!-- TMPL_IF NAME="__odd__" -->
680 <tr class="highlight">
682 <td><!-- TMPL_VAR NAME="dd" --></td>
683 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&type=intra"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="itemnotes" -->- <span class="circ-hlt"><!-- TMPL_VAR name="itemnotes" --></span><!-- /TMPL_IF --> <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
684 <td><!-- TMPL_UNLESS NAME="noItemTypeImages" --> <!-- TMPL_IF NAME="itemtype_image" --><img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" /><!-- /TMPL_IF --><!-- /TMPL_UNLESS --><!-- TMPL_VAR NAME="itemtype" --></td>
685 <td><!-- TMPL_VAR NAME="checkoutdate" --></td>
686 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
687 <td><!-- TMPL_VAR NAME="charge" --></td>
688 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
689 <!-- TMPL_IF NAME="renew_failed" -->
690 <td class="problem">Renewal Failed</td>
692 <td><span style="padding: 0 1em;"><!-- TMPL_VAR NAME="renewals" --></span>
693 <!-- TMPL_IF NAME="can_renew" -->
694 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
695 <!-- TMPL_IF NAME="od" -->
696 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
698 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
701 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
702 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
703 <!-- TMPL_IF NAME="od" -->
704 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
706 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
709 <span class="renewals-disabled">
711 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
714 <!-- TMPL_IF NAME="renew_error_too_many" -->
717 <!-- TMPL_IF NAME="can_confirm" -->
723 <!-- TMPL_IF NAME="return_failed" -->
724 <td class="problem">Checkin Failed</td>
726 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
727 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
731 <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
732 <!-- /if todayissues --><!-- /TMPL_IF -->
733 <!-- TMPL_IF NAME="previssues" -->
734 <!-- TMPL_IF NAME="todayissues" --><tr><th colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr><!-- TMPL_ELSE -->
735 <tr><th class="{sorter: false}" colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr></thead>
738 <!-- TMPL_LOOP NAME="previssues" -->
739 <!-- TMPL_IF NAME="__odd__" -->
742 <tr class="highlight">
744 <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
745 <!-- TMPL_VAR NAME="dd" -->
747 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&type=intra"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF --> <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
749 <!-- TMPL_VAR NAME="itemtype" -->
751 <td><!-- TMPL_VAR NAME="displaydate" --></td>
752 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
753 <td><!-- TMPL_VAR NAME="charge" --></td>
754 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
755 <!-- TMPL_IF NAME="renew_failed" -->
756 <td class="problem">Renewal Failed</td>
758 <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
759 <!-- TMPL_IF NAME="can_renew" -->
760 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
761 <!-- TMPL_IF NAME="od" -->
762 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
764 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
767 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
768 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
769 <!-- TMPL_IF NAME="od" -->
770 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
772 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
775 <span class="renewals-disabled">
777 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
780 <!-- TMPL_IF NAME="renew_error_too_many" -->
783 <!-- TMPL_IF NAME="can_confirm" -->
789 <!-- TMPL_IF NAME="return_failed" -->
790 <td class="problem">Checkin Failed</td>
792 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
793 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
797 <!-- /loop previssues --><!-- /TMPL_LOOP -->
798 <!--/if previssues --><!-- /TMPL_IF -->
801 <!--TMPL_IF NAME="issuecount"-->
802 <fieldset class="action">
803 <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
804 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
805 <label for="override_limit">Override Renewal Limit:</label>
806 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
809 <input type="submit" name="renew_checked" value="Renew or Return checked items" />
810 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
811 <input type="submit" id="return_all" name="return_all" value="Return all" />
816 <p>Patron has nothing checked out.</p>
822 <!-- TMPL_IF NAME="reservloop" -->
823 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
824 <input type="hidden" name="from" value="circ" />
835 <!-- TMPL_LOOP NAME="reservloop" -->
836 <tr class="<!-- TMPL_VAR NAME="color" -->">
837 <td><!-- TMPL_VAR NAME="reservedate" --></td>
838 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --></td>
839 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
840 <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
841 <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
843 <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
844 <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
846 <!-- TMPL_IF name="nottransfered" --> hasn't been transfered yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
847 <!-- /TMPL_IF --></em></td>
849 <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
851 <td><select name="rank-request">
852 <option value="n">No</option>
853 <option value="del">Yes</option>
855 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
856 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
859 <!-- /TMPL_LOOP --></tbody>
861 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
864 <p>Patron has nothing on hold.</p>
866 </div> <!-- reservesloop -->
868 <!-- /TMPL_IF --> <!-- borrowernumber -->
876 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
877 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
878 </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
880 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->