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="PATRON_CANT" -->
239 <li>This patron can't check out this item per library circulation policy</i>
242 <!-- TMPL_IF NAME="NOT_FOR_LOAN_FORCING" -->
243 <li>Item is normally not for loan. Check out anyway?</li>
247 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
249 <!-- TMPL_IF NAME="RESERVED" -->
251 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
252 <label for="cancelreserve">Cancel Reserve</label>
256 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
258 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
259 <label for="cancelreserve">Cancel Reserve</label>
263 <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
264 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
265 <input type="hidden" name="issueconfirmed" value="1" />
266 <!-- TMPL_IF NAME="DEBT" --><input type="hidden" name="debt_confirmed" value="1" /><!-- /TMPL_IF -->
267 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
268 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
269 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
270 <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
273 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
274 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
275 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
276 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
277 <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
281 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
283 <!-- TMPL_IF NAME="IMPOSSIBLE" -->
285 <!-- TMPL_IF NAME="soundon" -->
286 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
290 <div id="circ_impossible" class="dialog alert">
291 <!-- RESULT OF ISSUING REQUEST -->
293 <!-- TMPL_IF NAME="STATS" -->
294 <li>Local Use Recorded</li>
297 <!-- TMPL_IF NAME="INVALID_DATE" -->
298 <li>The due date "<!-- TMPL_VAR NAME="INVALID_DATE" -->" is invalid</li>
301 <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
302 <li>The barcode was not found</li>
305 <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
306 <li>Item not for loan</li>
309 <!-- TMPL_IF NAME="WTHDRAWN" -->
310 <li>Item has been withdrawn</li>
313 <!-- TMPL_IF NAME="RESTRICTED" -->
314 <li>Item is restricted</li>
317 <!-- TMPL_IF NAME="GNA" -->
318 <li>Patron's address is in doubt</li>
321 <!-- TMPL_IF NAME="CARD_LOST" -->
322 <li>Patron's card is lost</li>
325 <!-- TMPL_IF NAME="DEBARRED" -->
326 <li>Patron is restricted</li>
329 <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
330 <li>No more renewals possible</li>
333 <!-- TMPL_IF NAME="EXPIRED" -->
334 <li>Patron's card is expired</li>
337 <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
338 <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
342 <!-- TMPL_IF NAME="memberofinstution" -->
343 <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
348 <!-- TMPL_IF NAME="soundon" -->
349 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
351 <!--/TMPL_IF --> <!-- /impossible -->
353 <!-- TMPL_IF NAME="issued" -->
354 <p>Item Checked out</p>
357 <!-- TMPL_IF NAME="message" -->
358 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
360 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
365 <!-- TMPL_IF NAME="CGIselectborrower" -->
366 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
368 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
369 <fieldset id="circ_circulation_selectborrower" class="brief">
370 <legend>Patron selection</legend>
372 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
373 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
374 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
375 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
378 <label for="borrowernumber">Select a patron: </label>
379 <!-- TMPL_VAR name="CGIselectborrower" -->
382 <p><input type="submit" value="Select" /></p>
385 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
387 <!-- BARCODE ENTRY -->
389 <!-- TMPL_IF NAME="borrowernumber" -->
391 <!-- TMPL_UNLESS NAME="noissues" -->
392 <!-- TMPL_IF NAME="flagged" -->
393 <div class="yui-u first">
400 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
401 <fieldset id="circ_circulation_issue">
402 <!-- TMPL_IF NAME="DisplayClearScreenButton" -->
403 <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'">
406 <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
407 <div class="hint">Enter item barcode:</div>
409 <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" />
411 <!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
412 <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
413 <!-- 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="" />
415 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarDueDate" style="cursor: pointer;" />
416 <script language="JavaScript" type="text/javascript">
418 function validate1(date) {
419 var today = new Date();
420 if ( date < today ) {
426 function refocus(calendar) {
427 $('#barcode').focus();
430 //#TODO - ADD syspref (AllowPostDatedCheckouts).
433 inputField : "duedatespec",
434 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
435 button : "CalendarDueDate",
436 disableFunc : validate1,
437 dateStatusFunc : validate1,
444 <label for="stickyduedate"> Remember for Session:</label>
445 <!-- TMPL_IF NAME="stickyduedate" -->
446 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
448 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
450 <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;" />
451 </div><!-- /TMPL_IF -->
452 <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
453 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
454 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
455 <input type="hidden" name="print" value="maybe" />
456 <input type="hidden" name="debt_confirmed" value="<!-- TMPL_VAR NAME="debt_confirmed" -->" />
457 <!-- TMPL_IF NAME="CHARGES" -->
458 <input type="hidden" name="charges" value="yes" />
459 <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
462 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
464 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
466 <!-- TMPL_IF NAME="flagged" -->
467 <!-- TMPL_IF NAME="noissues" -->
468 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
469 <div id="circmessages" class="circmessage warning">
471 <div id="circmessages" class="circmessage attention">
474 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
477 <!-- TMPL_IF NAME = "warndeparture" -->
478 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
479 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>
484 <!-- TMPL_IF NAME="returnbeforeexpiry" -->
485 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
486 expiry date is before the date due, the date due will be set to the expiry date
490 <!-- TMPL_IF NAME = "expired" -->
491 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
492 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>
497 <!-- TMPL_IF NAME="gna" -->
498 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
501 <!-- TMPL_IF NAME="lost" -->
502 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
505 <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
506 <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>
507 </li><!-- /TMPL_IF -->
509 <!-- 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>
512 <!-- TMPL_IF NAME="charges" -->
513 <!-- TMPL_IF NAME="charges_is_blocker" -->
518 <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>.
519 <!-- TMPL_IF NAME="charges_is_blocker" -->
520 Checkouts are blocked because fine balance is over the limit.
522 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
525 <!-- TMPL_IF NAME="credits" -->
527 <span class="circ-hlt">Credits:</span> Patron has a credit<!-- TMPL_IF NAME="creditsamount" --> of <!-- TMPL_VAR name="creditsamount" --><!-- /TMPL_IF -->
536 <!-- TMPL_IF NAME="WaitingReserveLoop" -->
537 <div id="holdswaiting" class="circmessage">
538 <h4>Holds waiting:</h4>
539 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
541 <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"-->.
542 <!-- TMPL_IF NAME="waitingat" -->
543 <br /><!-- TMPL_IF NAME="waitinghere" --><strong class="waitinghere"><!-- TMPL_ELSE --><strong><!-- /TMPL_IF -->Waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
549 <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
550 <!-- TMPL_IF name="notes" -->
551 <div id="circnotes" class="circmessage">
553 <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
557 <!-- /If notes --><!-- /TMPL_IF -->
559 <div id="messages" class="circmessage">
562 <!--TMPL_LOOP NAME="lib_messages_loop" -->
564 <span class="circ-hlt">
565 <!--TMPL_VAR NAME="message_date_formatted"-->
566 <!--TMPL_VAR NAME="branchcode"-->
567 <i>"<!--TMPL_VAR NAME="message"-->"</i>
569 <!-- TMPL_IF NAME="can_delete" -->
570 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
572 <!-- TMPL_IF NAME="all_messages_del" -->
573 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
578 <!--TMPL_LOOP NAME="bor_messages_loop" -->
579 <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>
585 <!-- /If flagged --><!-- /TMPL_IF -->
592 <div class="yui-g"><div id="patronlists" class="toptabs">
595 <li> <!--TMPL_IF NAME="issuecount"-->
596 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
598 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
599 <!-- /TMPL_IF --></li>
600 <li><!-- TMPL_IF NAME="countreserv"-->
601 <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
603 <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
604 <!-- /TMPL_IF --></li>
608 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
610 <!--TMPL_IF NAME="issuecount"-->
611 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
612 <input type="hidden" value="circ" name="destination" />
613 <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
614 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
615 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
618 <th scope="col">Due date</th>
619 <th scope="col">Title</th>
620 <th scope="col">Item Type</th>
621 <th scope="col">Checked out on</th>
622 <th scope="col">Call no</th>
623 <th scope="col">Charge</th>
624 <th scope="col">Price</th>
625 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
626 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
628 <!-- TMPL_IF NAME="todayissues" --></thead>
631 <td colspan="5" style="text-align: right; font-weight:bold;">Totals:</td>
632 <td><!-- TMPL_VAR NAME="totaldue" --></td>
633 <td><!-- TMPL_VAR NAME="totalprice" --></td>
636 Renewal due date: <input type="text" size="8" id="newduedate" name="newduedate" value="<!-- TMPL_VAR Name="newduedate" -->" />
637 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="newduedate_button" alt="Show Calendar" />
638 <script type="text/javascript"> //<![CDATA[
639 //#TODO - ADD syspref (AllowPostDatedCheckouts).
642 inputField : "newduedate",
643 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
644 button : "newduedate_button",
645 disableFunc : validate1,
646 dateStatusFunc : validate1,
654 <label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label>
661 <!-- TMPL_LOOP NAME="todayissues" -->
662 <!-- TMPL_IF NAME="__odd__" -->
665 <tr class="highlight">
667 <td><!-- TMPL_VAR NAME="dd" --></td>
668 <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>
669 <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>
670 <td><!-- TMPL_VAR NAME="checkoutdate" --></td>
671 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
672 <td><!-- TMPL_VAR NAME="charge" --></td>
673 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
674 <!-- TMPL_IF NAME="renew_failed" -->
675 <td class="problem">Renewal Failed</td>
677 <td><span style="padding: 0 1em;"><!-- TMPL_VAR NAME="renewals" --></span>
678 <!-- TMPL_IF NAME="can_renew" -->
679 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
680 <!-- TMPL_IF NAME="od" -->
681 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
683 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
686 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
687 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
688 <!-- TMPL_IF NAME="od" -->
689 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
691 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
694 <span class="renewals-disabled">
696 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
699 <!-- TMPL_IF NAME="renew_error_too_many" -->
702 <!-- TMPL_IF NAME="can_confirm" -->
708 <!-- TMPL_IF NAME="return_failed" -->
709 <td class="problem">Checkin Failed</td>
711 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
712 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
716 <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
717 <!-- /if todayissues --><!-- /TMPL_IF -->
718 <!-- TMPL_IF NAME="previssues" -->
719 <!-- TMPL_IF NAME="todayissues" --><tr><th colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr><!-- TMPL_ELSE -->
720 <tr><th class="{sorter: false}" colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr></thead>
723 <!-- TMPL_LOOP NAME="previssues" -->
724 <!-- TMPL_IF NAME="__odd__" -->
727 <tr class="highlight">
729 <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
730 <!-- TMPL_VAR NAME="dd" -->
732 <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>
734 <!-- TMPL_VAR NAME="itemtype" -->
736 <td><!-- TMPL_VAR NAME="displaydate" --></td>
737 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
738 <td><!-- TMPL_VAR NAME="charge" --></td>
739 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
740 <!-- TMPL_IF NAME="renew_failed" -->
741 <td class="problem">Renewal Failed</td>
743 <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
744 <!-- TMPL_IF NAME="can_renew" -->
745 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
746 <!-- TMPL_IF NAME="od" -->
747 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
749 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
752 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
753 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
754 <!-- TMPL_IF NAME="od" -->
755 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
757 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
760 <span class="renewals-disabled">
762 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
765 <!-- TMPL_IF NAME="renew_error_too_many" -->
768 <!-- TMPL_IF NAME="can_confirm" -->
774 <!-- TMPL_IF NAME="return_failed" -->
775 <td class="problem">Checkin Failed</td>
777 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
778 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
782 <!-- /loop previssues --><!-- /TMPL_LOOP -->
783 <!--/if previssues --><!-- /TMPL_IF -->
786 <!--TMPL_IF NAME="issuecount"-->
787 <fieldset class="action">
788 <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
789 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
790 <label for="override_limit">Override Renewal Limit:</label>
791 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
794 <input type="submit" name="renew_checked" value="Renew or Return checked items" />
795 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
796 <input type="submit" id="return_all" name="return_all" value="Return all" />
801 <p>Patron has nothing checked out.</p>
807 <!-- TMPL_IF NAME="reservloop" -->
808 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
809 <input type="hidden" name="from" value="circ" />
820 <!-- TMPL_LOOP NAME="reservloop" -->
821 <tr class="<!-- TMPL_VAR NAME="color" -->">
822 <td><!-- TMPL_VAR NAME="reservedate" --></td>
823 <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>
824 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
825 <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
826 <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
828 <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
829 <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
831 <!-- TMPL_IF name="nottransfered" --> hasn't been transfered yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
832 <!-- /TMPL_IF --></em></td>
834 <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
836 <td><select name="rank-request">
837 <option value="n">No</option>
838 <option value="del">Yes</option>
840 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
841 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
844 <!-- /TMPL_LOOP --></tbody>
846 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
849 <p>Patron has nothing on hold.</p>
851 </div> <!-- reservesloop -->
853 <!-- /TMPL_IF --> <!-- borrowernumber -->
861 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
862 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
863 </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
865 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->