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 <div id="circ_impossible" class="dialog alert">
286 <!-- RESULT OF ISSUING REQUEST -->
288 <!-- TMPL_IF NAME="STATS" -->
289 <li>Local Use Recorded</li>
292 <!-- TMPL_IF NAME="INVALID_DATE" -->
293 <li>The due date "<!-- TMPL_VAR NAME="INVALID_DATE" -->" is invalid</li>
296 <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
297 <li>The barcode was not found</li>
300 <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
301 <li>Item not for loan</li>
304 <!-- TMPL_IF NAME="WTHDRAWN" -->
305 <li>Item has been withdrawn</li>
308 <!-- TMPL_IF NAME="RESTRICTED" -->
309 <li>Item is restricted</li>
312 <!-- TMPL_IF NAME="GNA" -->
313 <li>Patron's address is in doubt</li>
316 <!-- TMPL_IF NAME="CARD_LOST" -->
317 <li>Patron's card is lost</li>
320 <!-- TMPL_IF NAME="DEBARRED" -->
321 <li>Patron is restricted</li>
324 <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
325 <li>No more renewals possible</li>
328 <!-- TMPL_IF NAME="EXPIRED" -->
329 <li>Patron's card is expired</li>
332 <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
333 <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
337 <!-- TMPL_IF NAME="memberofinstution" -->
338 <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
342 <!--/TMPL_IF --> <!-- /impossible -->
344 <!-- TMPL_IF NAME="issued" -->
345 <p>Item Checked out</p>
348 <!-- TMPL_IF NAME="message" -->
349 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
351 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
356 <!-- TMPL_IF NAME="CGIselectborrower" -->
357 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
359 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
360 <fieldset id="circ_circulation_selectborrower" class="brief">
361 <legend>Patron selection</legend>
363 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
364 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
365 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
366 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
369 <label for="borrowernumber">Select a patron: </label>
370 <!-- TMPL_VAR name="CGIselectborrower" -->
373 <p><input type="submit" value="Select" /></p>
376 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
378 <!-- BARCODE ENTRY -->
380 <!-- TMPL_IF NAME="borrowernumber" -->
382 <!-- TMPL_UNLESS NAME="noissues" -->
383 <!-- TMPL_IF NAME="flagged" -->
384 <div class="yui-u first">
391 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
392 <fieldset id="circ_circulation_issue">
393 <!-- TMPL_IF NAME="DisplayClearScreenButton" -->
394 <input type=button value="Clear Screen" onClick="window.location = '/cgi-bin/koha/circ/circulation.pl'">
397 <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
398 <div class="hint">Enter item barcode:</div>
400 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> <input type="submit" value="Check Out" />
402 <!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
403 <div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
404 <!-- 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="" />
406 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarDueDate" style="cursor: pointer;" />
407 <script language="JavaScript" type="text/javascript">
409 function validate1(date) {
410 var today = new Date();
411 if ( date < today ) {
417 function refocus(calendar) {
418 $('#barcode').focus();
421 //#TODO - ADD syspref (AllowPostDatedCheckouts).
424 inputField : "duedatespec",
425 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
426 button : "CalendarDueDate",
427 disableFunc : validate1,
428 dateStatusFunc : validate1,
435 <label for="stickyduedate"> Remember for Session:</label>
436 <!-- TMPL_IF NAME="stickyduedate" -->
437 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
439 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
441 <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;" />
442 </div><!-- /TMPL_IF -->
443 <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
444 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
445 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
446 <input type="hidden" name="print" value="maybe" />
447 <input type="hidden" name="debt_confirmed" value="<!-- TMPL_VAR NAME="debt_confirmed" -->" />
448 <!-- TMPL_IF NAME="CHARGES" -->
449 <input type="hidden" name="charges" value="yes" />
450 <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
453 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
455 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
457 <!-- TMPL_IF NAME="flagged" -->
458 <!-- TMPL_IF NAME="noissues" -->
459 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
460 <div id="circmessages" class="circmessage warning">
462 <div id="circmessages" class="circmessage attention">
465 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
468 <!-- TMPL_IF NAME = "warndeparture" -->
469 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
470 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>
475 <!-- TMPL_IF NAME="returnbeforeexpiry" -->
476 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
477 expiry date is before the date due, the date due will be set to the expiry date
481 <!-- TMPL_IF NAME = "expired" -->
482 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
483 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>
488 <!-- TMPL_IF NAME="gna" -->
489 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
492 <!-- TMPL_IF NAME="lost" -->
493 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
496 <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
497 <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>
498 </li><!-- /TMPL_IF -->
500 <!-- 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>
503 <!-- TMPL_IF NAME="charges" -->
504 <!-- TMPL_IF NAME="charges_is_blocker" -->
509 <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>.
510 <!-- TMPL_IF NAME="charges_is_blocker" -->
511 Checkouts are blocked because fine balance is over the limit.
513 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
516 <!-- TMPL_IF NAME="credits" -->
517 <li><span class="circ-hlt">Credits:</span> Patron has a credit</li>
525 <!-- TMPL_IF NAME="WaitingReserveLoop" -->
526 <div id="holdswaiting" class="circmessage">
527 <h4>Holds waiting:</h4>
528 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
530 <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"-->.
531 <!-- TMPL_IF NAME="waitingat" -->
532 <br /><!-- TMPL_IF NAME="waitinghere" --><strong class="waitinghere"><!-- TMPL_ELSE --><strong><!-- /TMPL_IF -->Waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
538 <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
539 <!-- TMPL_IF name="notes" -->
540 <div id="circnotes" class="circmessage">
542 <p><span class="circ-hlt"><!-- TMPL_VAR name="notesmsg" --></span></p>
546 <!-- /If notes --><!-- /TMPL_IF -->
548 <div id="messages" class="circmessage">
551 <!--TMPL_LOOP NAME="lib_messages_loop" -->
553 <span class="circ-hlt">
554 <!--TMPL_VAR NAME="message_date_formatted"-->
555 <!--TMPL_VAR NAME="branchcode"-->
556 <i>"<!--TMPL_VAR NAME="message"-->"</i>
558 <!-- TMPL_IF NAME="can_delete" -->
559 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
561 <!-- TMPL_IF NAME="all_messages_del" -->
562 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=<!--TMPL_VAR NAME="message_id" -->&borrowernumber=<!--TMPL_VAR NAME="borrowernumber" -->">[Delete]</a>
567 <!--TMPL_LOOP NAME="bor_messages_loop" -->
568 <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>
574 <!-- /If flagged --><!-- /TMPL_IF -->
581 <div class="yui-g"><div id="patronlists" class="toptabs">
584 <li> <!--TMPL_IF NAME="issuecount"-->
585 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
587 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
588 <!-- /TMPL_IF --></li>
589 <li><!-- TMPL_IF NAME="countreserv"-->
590 <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
592 <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
593 <!-- /TMPL_IF --></li>
597 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
599 <!--TMPL_IF NAME="issuecount"-->
600 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
601 <input type="hidden" value="circ" name="destination" />
602 <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
603 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
604 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
607 <th scope="col">Due date</th>
608 <th scope="col">Title</th>
609 <th scope="col">Item Type</th>
610 <th scope="col">Checked out on</th>
611 <th scope="col">Call no</th>
612 <th scope="col">Charge</th>
613 <th scope="col">Price</th>
614 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
615 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
617 <!-- TMPL_IF NAME="todayissues" --></thead>
620 <td colspan="5" style="text-align: right; font-weight:bold;">Totals:</td>
621 <td><!-- TMPL_VAR NAME="totaldue" --></td>
622 <td><!-- TMPL_VAR NAME="totalprice" --></td>
625 Renewal due date: <input type="text" size="8" id="newduedate" name="newduedate" value="<!-- TMPL_VAR Name="newduedate" -->" />
626 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="newduedate_button" alt="Show Calendar" />
627 <script type="text/javascript"> //<![CDATA[
628 //#TODO - ADD syspref (AllowPostDatedCheckouts).
631 inputField : "newduedate",
632 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
633 button : "newduedate_button",
634 disableFunc : validate1,
635 dateStatusFunc : validate1,
643 <label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label>
650 <!-- TMPL_LOOP NAME="todayissues" -->
651 <!-- TMPL_IF NAME="__odd__" -->
654 <tr class="highlight">
656 <td><!-- TMPL_VAR NAME="dd" --></td>
657 <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>
658 <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>
659 <td><!-- TMPL_VAR NAME="checkoutdate" --></td>
660 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
661 <td><!-- TMPL_VAR NAME="charge" --></td>
662 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
663 <td><span style="padding: 0 1em;"><!-- TMPL_VAR NAME="renewals" --></span>
664 <!-- TMPL_IF NAME="can_renew" -->
665 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
666 <!-- TMPL_IF NAME="od" -->
667 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
669 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
672 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
673 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
674 <!-- TMPL_IF NAME="od" -->
675 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
677 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
680 <span class="renewals-disabled">
682 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
685 <!-- TMPL_IF NAME="renew_error_too_many" -->
688 <!-- TMPL_IF NAME="can_confirm" -->
693 <!-- TMPL_IF NAME="return_failed" -->
694 <td class="problem">Checkin Failed</td>
696 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
697 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
700 <!-- TMPL_IF NAME="renew_failed" -->
701 <td>Renewal Failed</td>
704 <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
705 <!-- /if todayissues --><!-- /TMPL_IF -->
706 <!-- TMPL_IF NAME="previssues" -->
707 <!-- TMPL_IF NAME="todayissues" --><tr><th colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr><!-- TMPL_ELSE -->
708 <tr><th class="{sorter: false}" colspan="10"><a name="previous" id="previous"></a>Previous checkouts</th></tr></thead>
711 <!-- TMPL_LOOP NAME="previssues" -->
712 <!-- TMPL_IF NAME="__odd__" -->
715 <tr class="highlight">
717 <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
718 <!-- TMPL_VAR NAME="dd" -->
720 <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>
722 <!-- TMPL_VAR NAME="itemtype" -->
724 <td><!-- TMPL_VAR NAME="displaydate" --></td>
725 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
726 <td><!-- TMPL_VAR NAME="charge" --></td>
727 <td><!-- TMPL_VAR NAME="replacementprice" --></td>
728 <td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
729 <!-- TMPL_IF NAME="can_renew" -->
730 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
731 <!-- TMPL_IF NAME="od" -->
732 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
734 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
737 <!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
738 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
739 <!-- TMPL_IF NAME="od" -->
740 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
742 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
745 <span class="renewals-disabled">
747 <!-- TMPL_IF NAME="renew_error_on_reserve" -->
750 <!-- TMPL_IF NAME="renew_error_too_many" -->
753 <!-- TMPL_IF NAME="can_confirm" -->
758 <!-- TMPL_IF NAME="return_failed" -->
759 <td class="problem">Checkin Failed</td>
761 <td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
762 <input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
765 <!-- TMPL_IF NAME="renew_failed" -->
766 <td>Renewal Failed</td>
770 <!-- /loop previssues --><!-- /TMPL_LOOP -->
771 <!--/if previssues --><!-- /TMPL_IF -->
774 <!--TMPL_IF NAME="issuecount"-->
775 <fieldset class="action">
776 <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
777 <!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
778 <label for="override_limit">Override Renewal Limit:</label>
779 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
782 <input type="submit" name="renew_checked" value="Renew or Return checked items" />
783 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
784 <input type="submit" id="return_all" name="return_all" value="Return all" />
789 <p>Patron has nothing checked out.</p>
795 <!-- TMPL_IF NAME="reservloop" -->
796 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
797 <input type="hidden" name="from" value="circ" />
808 <!-- TMPL_LOOP NAME="reservloop" -->
809 <tr class="<!-- TMPL_VAR NAME="color" -->">
810 <td><!-- TMPL_VAR NAME="reservedate" --></td>
811 <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>
812 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
813 <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
814 <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting at <!-- TMPL_VAR NAME="waitingat" --></strong>
816 <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
817 <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
819 <!-- TMPL_IF name="nottransfered" --> hasn't been transfered yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
820 <!-- /TMPL_IF --></em></td>
822 <!-- TMPL_IF NAME="waitingposition" --><b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
824 <td><select name="rank-request">
825 <option value="n">No</option>
826 <option value="del">Yes</option>
828 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
829 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
832 <!-- /TMPL_LOOP --></tbody>
834 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></fieldset>
837 <p>Patron has nothing on hold.</p>
839 </div> <!-- reservesloop -->
841 <!-- /TMPL_IF --> <!-- borrowernumber -->
849 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
850 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
851 </div><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
853 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->