2 [% IF ( export_remove_fields OR export_with_csv_profile ) %]
3 [% SET exports_enabled = 1 %]
5 [% USE KohaAuthorisedValues %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 [% SET destination = "circ" %]
8 <title>Koha › Circulation
9 [% IF borrowernumber %]
10 › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
13 [% INCLUDE 'doc-head-close.inc' %]
14 [% INCLUDE 'calendar.inc' %]
15 [% IF ( UseTablesortForCirc ) %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
16 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
17 [% INCLUDE 'datatables-strings.inc' %]
18 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>[% END %]
19 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
20 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script>
21 <script type="text/javascript">
23 [% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %]
24 [% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
25 [% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
26 $(document).ready(function() {
27 $('#patronlists').tabs([% IF ( UseTablesortForCirc ) %]{
28 // Correct table sizing for tables hidden in tabs
29 // http://www.datatables.net/examples/api/tabs_and_scrolling.html
30 "show": function(event, ui) {
31 var oTable = $('div.dataTables_wrapper>table', ui.panel).dataTable();
32 if ( oTable.length > 0 ) {
33 oTable.fnAdjustColumnSizing();
37 [% IF ( UseTablesortForCirc ) %]
38 $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
42 { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }
45 { "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %]
50 $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
54 { "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,{ "sType": "html" }
59 $("#issuest").on("sort",function() {
60 $("#previous").hide(); // Don't want to see "previous checkouts" header sorted with other rows
62 $("#relissuest").on("sort",function() {
63 $("#relprevious").hide(); // Don't want to see "previous checkouts" header sorted with other rows
66 [% IF ( AllowRenewalLimitOverride ) %]
67 $( '#override_limit' ).click( function () {
69 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
71 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
73 } ).attr( 'checked', false );
74 [% END %][% IF ( CircAutoPrintQuickSlip ) %]
75 // listen submit to trigger qslip on empty checkout
76 $('#mainform').bind('submit',function() {
77 if ($('#barcode').val() == '') {
78 return printx_window('qslip'); }
82 var allcheckboxes = $(".checkboxed");
83 $("#renew_all").click(function(){
84 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
85 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]");
87 $("#CheckAllitems").click(function(){
88 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
89 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
91 $("#CheckNoitems").click(function(){
92 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
94 $("#CheckAllreturns").click(function(){
95 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
96 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
98 $("#CheckNoreturns" ).click(function(){
99 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
102 $("#CheckAllexports").click(function(){
103 $(".checkboxed").checkCheckboxes(":input[name*=biblionumbers]");
104 $(".checkboxed").unCheckCheckboxes(":input[name*=items]");
107 $("#CheckNoexports").click(function(){
108 $(".checkboxed").unCheckCheckboxes(":input[name*=biblionumbers]");
112 $("#relrenew_all").click(function(){
113 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
114 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]");
116 $("#relCheckAllitems").click(function(){
117 $(allcheckboxes).checkCheckboxes(":input[name*=items]");
118 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
120 $("#relCheckNoitems").click(function(){
121 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
123 $("#relCheckAllreturns").click(function(){
124 $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]");
125 $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); return false;
127 $("#relCheckNoreturns").click(function(){
128 $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false;
131 [% IF ( CAN_user_circulate_override_renewals ) %]
132 [% IF ( AllowRenewalLimitOverride ) %]
133 $( '#override_limit' ).click( function () {
134 if ( this.checked ) {
135 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
137 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
139 } ).attr( 'checked', false );
142 // Clicking the table cell checks the checkbox inside it
143 $("td").click(function(e){
144 if(e.target.tagName.toLowerCase() == 'td'){
145 $(this).find("input:checkbox:visible").each( function() {
146 if($(this).attr("checked")){
147 $(this).removeAttr("checked");
149 $(this).attr("checked","checked");
150 radioCheckBox($(this));
155 // prevent adjacent checkboxes from being checked simultaneously
156 function radioCheckBox(box){
157 box.parents("td").siblings().find("input:checkbox:visible").each(function(){
158 if($(this).attr("checked")){
159 $(this).removeAttr("checked");
164 $("#messages ul").after("<a href=\"#\" id=\"addmessage\">"+_("Add a new message")+"</a>");
165 $("#borrower_messages .cancel").click(function(){
166 $("#add_message_form").hide();
167 $("#addmessage").show();
169 $("#addmessage").click(function (){
171 $("#add_message_form").show();
174 $("input.radio").click(function(){
175 radioCheckBox($(this));
178 $("#newduedate").datetimepicker({
179 minDate: 1, // require that renewal date is after today
183 $("#duedatespec").datetimepicker({
184 onClose: function(dateText, inst) { $("#barcode").focus(); },
188 $("#export_submit").click(function(){
189 var export_format = $("#export_formats").val();
190 export_checkouts(export_format);
195 function export_checkouts(format) {
196 if ($("input:checkbox[name='biblionumbers'][checked]").length < 1){
197 alert(_("You must select a checkout to export"));
201 $("input:checkbox[name='biblionumbers']").each( function(){
202 var input_item = $(this).siblings("input:checkbox");
203 if ( $(this).is(":checked") ) {
204 $(input_item).attr("checked", "checked");
206 $(input_item).attr("checked", "");
210 if (format == 'iso2709_995') {
212 $("#dont_export_item").val(0);
213 } else if (format == 'iso2709') {
214 $("#dont_export_item").val(1);
216 [% UNLESS ( export_with_csv_profile ) %]
217 alert(_("You must define a csv profile for export (in tools>CSV export profiles) and fill the ExportWithCsvProfile system preference"));
221 document.issues.action="/cgi-bin/koha/tools/export.pl";
222 document.getElementById("export_format").value = format;
223 document.issues.submit();
225 /* Reset form action to its initial value */
226 document.issues.action="/cgi-bin/koha/reserve/renewscript.pl";
230 function validate1(date) {
231 var today = new Date();
232 if ( date < today ) {
241 <body id="circ_circulation" class="circ">
243 [% INCLUDE 'header.inc' %]
244 [% INCLUDE 'circ-search.inc' %]
246 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
247 [% IF ( borrowernumber ) %]
248 <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %]
250 <strong>Checkouts</strong>
253 [% IF ( CGIselectborrower ) %]
254 <div id="doc" class="yui-t7">
260 <div id="doc3" class="yui-t2">
267 [% IF ( borrowernumber ) %]
268 [% INCLUDE 'members-toolbar.inc' %]
271 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
272 <div style="display: none;" id="add_message_form">
273 <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
274 <fieldset id="borrower_messages" class="brief">
275 <legend>Leave a message</legend>
278 <label for="message_type">Add a message for:</label>
279 <select name="message_type" id="message_type">
280 <option value="L">Other librarians</option>
281 <option value="B">[% firstname %]</option>
284 [% IF ( canned_bor_notes_loop ) %]
286 <label for="type">Predefined notes: </label>
287 <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
288 <option value="">Select note</option>
289 [% FOREACH canned_bor_notes_loo IN canned_bor_notes_loop %]
290 <option value="[% canned_bor_notes_loo.lib %]">[% canned_bor_notes_loo.lib %]</option>
296 <textarea rows="3" cols="60" name="borrower_message" id="borrower_message" ></textarea>
299 <fieldset class="action">
300 <input type="submit" value="Save" /> <a href="#" class="cancel">Cancel</a>
303 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
304 <input type="hidden" name="branchcode" value="[% branch %]" />
309 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry %]</div>[% END %]
311 [% IF additional_materials %]
312 <div id="materials" class="dialog message">Note about the accompanying materials: <br />
313 [% additional_materials %]
317 [% IF ( alert.ITEM_LOST ) %]
318 <div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST %]".</div>
321 [% IF ( alert.OTHER_CHARGES ) %]
322 <div class="dialog message">The patron has unpaid charges for reserves, rentals etc of [% alert.OTHER_CHARGES %]</div>
325 [% IF ( NEEDSCONFIRMATION ) %]
328 <div id="circ_needsconfirmation" class="dialog alert">
329 <h3>Please confirm checkout</h3>
332 [%IF ( AGE_RESTRICTION ) %]
333 <li>Age restriction [% AGE_RESTRICTION %]. Check out anyway?</li>
337 <li>The patron has a debt of [% DEBT %]</li>
340 [% IF ( RENEW_ISSUE ) %]
341 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is currently checked out to this patron. Renew?</li>
344 [% IF ( RESERVE_WAITING ) %]
345 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% resbranchname %] since [% reswaitingdate %]</li>
348 [% IF ( RESERVED ) %]
349 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber %]">[% resfirstname %] [% ressurname %]</a> ([% rescardnumber %]) at [% resbranchname %] since [% resreservedate %]</li>
352 [% IF ( ISSUED_TO_ANOTHER ) %]
353 <li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]). Check in and check out?</li>
356 [% IF ( TOO_MANY ) %]
357 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
360 [% IF ( BORRNOTSAMEBRANCH ) %]
361 <li>This patrons is from a different library ([% BORRNOTSAMEBRANCH %])</li>
364 [% IF ( PATRON_CANT ) %]
365 <li>This patron can't check out this item per library circulation policy</li>
368 [% IF ( NOT_FOR_LOAN_FORCING ) %]
370 [% IF ( itemtype_notforloan ) %]
371 Item type is normally not for loan.
372 [% ELSIF ( item_notforloan ) %]
373 [% item_notforloan_lib = KohaAuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
374 Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
380 [% IF ( USERBLOCKEDOVERDUE ) %]
381 <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). Check out anyway?</li>
384 [% IF ( ITEM_LOST ) %]
385 <li>This item has been lost with a status of "[% ITEM_LOST %]". Check out anyway?</li>
389 <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
394 <script language="JavaScript" type="text/javascript">
395 $(document).ready(function() {
396 $("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]');
400 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
402 [% IF ( RESERVED ) %]
404 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" />
405 <label for="cancelreserve">Cancel hold</label>
409 [% IF ( RESERVE_WAITING ) %]
411 <label for="cancelreserve">Cancel hold</label>
412 <input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br />
413 <label for="revertreserve">Revert waiting status</label>
414 <input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/>
418 <input type="hidden" name="barcode" value="[% barcode |html %]" />
419 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
420 <input type="hidden" name="issueconfirmed" value="1" />
421 [% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %]
422 [% IF ( INVALID_DATE ) %]
424 <input type="text" size="13" id="duedatespec" name="duedatespec" readonly="readonly" value="[% duedatespec %]" />
425 <label for="duedatespec">Due date</label>
428 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
430 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
431 <input type="hidden" name="branch" value="[% branch %]" />
432 [% IF ( RENEW_ISSUE ) %]
433 <input type="submit" class="approve" value="Yes, Renew (Y)" accesskey="y" />
435 <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
439 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
440 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
441 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
442 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
443 [% IF ( RENEW_ISSUE ) %]
444 <input type="submit" class="deny" value="No, Don't Renew (N)" accesskey="n" />
446 <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
451 [% END %] <!-- NEEDSCONFIRMATION -->
453 [% IF ( IMPOSSIBLE ) %]
456 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
460 <div id="circ_impossible" class="dialog alert">
461 <!-- RESULT OF ISSUING REQUEST -->
464 <li>Local use recorded</li>
467 [% IF ( INVALID_DATE ) %]
468 <li>The due date "[% INVALID_DATE %]" is invalid</li>
471 [% IF ( UNKNOWN_BARCODE ) %]
472 <li>The barcode was not found [% barcode |html %]</li>
473 [% IF ( fast_cataloging ) %]
474 [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
475 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a>
480 [% IF ( NOT_FOR_LOAN ) %]
482 [% IF ( itemtype_notforloan ) %]
483 Item type not for loan.
484 [% ELSIF ( item_notforloan ) %]
485 [% item_notforloan_lib = KohaAuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
486 Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
491 [% IF ( WTHDRAWN ) %]
492 <li>Item has been withdrawn</li>
495 [% IF ( RESTRICTED ) %]
496 <li>Item is restricted</li>
500 <li>Patron's address is in doubt</li>
503 [% IF ( CARD_LOST ) %]
504 <li>Patron's card is lost</li>
507 [% IF ( DEBARRED ) %]
508 <li>Patron is restricted</li>
511 [% IF ( NO_MORE_RENEWALS ) %]
512 <li>No more renewals possible</li>
515 [%IF ( AGE_RESTRICTION ) %]
516 <li>Age restriction [% AGE_RESTRICTION %].</li>
520 <li>Patron's card is expired</li>
523 [% IF ( TOO_MANY ) %]
524 <li>Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.</li>
527 [% IF ( ITEMNOTSAMEBRANCH ) %]
528 <li>This item belongs to [% itemhomebranch %] and cannot be issued from this location.</li>
531 [% IF ( USERBLOCKEDREMAINING ) %]
532 <li>Patron has had overdue items and is blocked for [% USERBLOCKEDREMAINING %] day(s).</li>
535 [% IF ( USERBLOCKEDOVERDUE ) %]
536 <li>Checkouts are BLOCKED because patron has overdue items</li>
543 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
545 [% END %] <!-- /impossible -->
548 <p>Item checked out</p>
552 [% INCLUDE 'patron-toolbar.inc' %]
554 No patron matched <span class="ex">[% message %]</span>
559 [% IF ( CGIselectborrower ) %]
560 [% INCLUDE 'patron-toolbar.inc' %]
562 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
563 <fieldset id="circ_circulation_selectborrower" class="brief">
564 <legend>Patron selection</legend>
566 <input type="hidden" name="branch" value="[% branch %]" />
567 <input type="hidden" name="printer" value="[% printer %]" />
568 <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
569 <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
572 <label for="borrowernumber">Select a patron: </label>
573 [% CGIselectborrower %]
576 <p><input type="submit" value="Select" /></p>
579 [% ELSE %] <!-- CGIselectborrower -->
581 <!-- BARCODE ENTRY -->
583 [% IF ( borrowernumber ) %]
585 [% UNLESS ( noissues ) %]
587 <div class="yui-u first">
594 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
595 <fieldset id="circ_circulation_issue">
596 [% IF ( DisplayClearScreenButton ) %]
597 <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span>
600 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
602 <div class="hint">Enter item barcode:</div>
604 [% IF ( NEEDSCONFIRMATION ) %]
605 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
607 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
609 <input type="submit" value="Check Out" />
611 [% IF ( SpecifyDueDate ) %]<div class="date-select">
612 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
613 [% IF ( duedatespec ) %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />[% ELSE %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
615 <label for="stickyduedate"> Remember for session:</label>
616 [% IF ( stickyduedate ) %]
617 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
619 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
621 <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;" />
623 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
624 <input type="hidden" name="branch" value="[% branch %]" />
625 <input type="hidden" name="printer" value="[% printer %]" />
626 <input type="hidden" name="print" value="maybe" />
627 <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
629 <input type="hidden" name="charges" value="yes" />
630 <input type="hidden" name="oldamount" value="[% amountold %]" />
633 </form></div>[% END %]<!-- /unless noissues -->
635 [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
638 [% IF ( noissues ) %]
639 <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
640 <div id="circmessages" class="circmessage warning">
642 <div id="circmessages" class="circmessage attention">
645 <h3>[% IF ( noissues ) %]
647 [% ELSE %]Attention:[% END %]</h3>
650 [% IF ( warndeparture ) %]
651 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
652 Patron's card expires on [% expiry %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]">Edit Details</a>
657 [% IF ( returnbeforeexpiry ) %]
658 <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
659 expiry date is before the date due, the date due will be set to the expiry date
664 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
665 [% IF ( expiry ) %]Patron's card expired on [% expiry %][% END %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]">Edit Details</a>
671 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
675 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
678 [% IF ( userdebarred ) %]
680 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted [% IF (userdebarreddate ) %] until [% userdebarreddate %] [% END %] [% IF (debarredcomment ) %] with the comment "[% debarredcomment %]"[% END %]
681 <form class="inline compact" action="/cgi-bin/koha/members/setstatus.pl" method="post">
682 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
683 <input type="hidden" name="destination" value="circ" />
684 <input type="hidden" name="cardnumber" value="[% cardnumber %]" />
685 <input type="submit" value="Lift restriction" />
689 [% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a>[% END %]</li>
694 <span class="circ-hlt">Fees & Charges:</span> Patron has <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Outstanding fees & charges[% IF ( chargesamount ) %] of [% chargesamount %][% END %]</a>.
695 [% IF ( charges_is_blocker ) %]
696 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
698 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Payment</a></li>
703 <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount %][% END %]
712 [% IF ( WaitingReserveLoop ) %]
713 <div id="holdswaiting" class="circmessage">
714 <h4>Holds waiting:</h4>
715 [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %]
717 <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% WaitingReserveLoo.biblionumber %]">[% WaitingReserveLoo.title |html %]</a> ([% WaitingReserveLoo.itemtype %]), [% IF ( WaitingReserveLoo.author ) %]by [% WaitingReserveLoo.author %][% END %] [% IF ( WaitingReserveLoo.itemcallnumber ) %][[% WaitingReserveLoo.itemcallnumber %]] [% END %]Hold placed on [% WaitingReserveLoo.reservedate %].
718 [% IF ( WaitingReserveLoo.waitingat ) %]
719 <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong>
725 <!-- /If WaitingReserveLoop -->[% END %]
727 <div id="circnotes" class="circmessage">
729 <p><span class="circ-hlt">[% notesmsg %]</span></p>
733 <!-- /If notes -->[% END %]
735 <div id="messages" class="circmessage">
738 [% FOREACH lib_messages_loo IN lib_messages_loop %]
740 <span class="circ-hlt">
741 [% lib_messages_loo.message_date_formatted %]
742 [% lib_messages_loo.branchcode %]
743 <i>"[% lib_messages_loo.message %]"</i>
745 [% IF ( lib_messages_loo.can_delete ) %]
746 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
748 [% IF ( all_messages_del ) %]
749 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% lib_messages_loo.message_id %]&borrowernumber=[% lib_messages_loo.borrowernumber %]">[Delete]</a>
754 [% FOREACH bor_messages_loo IN bor_messages_loop %]
755 <li><span class="">[% bor_messages_loo.message_date_formatted %] [% bor_messages_loo.branchcode %] <i>"[% bor_messages_loo.message %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
756 [% ELSIF ( all_messages_del ) %]
757 <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a>
764 <!-- /If flagged -->[% END %]
771 <div class="yui-g"><div id="patronlists" class="toptabs">
774 <li> [% IF ( issuecount ) %]
775 <a href="#checkouts">[% issuecount %] Checkout(s)</a>
777 <a href="#checkouts">0 Checkouts</a>
779 [% IF ( displayrelissues ) %]
780 <li><a href="#relissues">Relatives' checkouts</a></li>
782 <li>[% IF ( countreserv ) %]
783 <a href="#reserves">[% countreserv %] Hold(s)</a>
785 <a href="#reserves">0 Holds</a>
790 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
792 [% IF ( issuecount ) %]
793 <form name="issues" action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
794 <input type="hidden" value="circ" name="destination" />
795 <input type="hidden" name="cardnumber" value="[% cardnumber %]" />
796 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
797 <input type="hidden" name="branch" value="[% branch %]" />
800 <th scope="col">Due date</th>
801 <th scope="col">Title</th>
802 <th scope="col">Item type</th>
803 <th scope="col">Checked out on</th>
804 <th scope="col">Checked out from</th>
805 <th scope="col">Call no</th>
806 <th scope="col">Charge</th>
807 <th scope="col">Price</th>
808 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
809 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
810 [% IF ( exports_enabled ) %]
811 <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllexports">select all</a> | <a href="#" id="CheckNoexports">none</a></p></th>
814 [% IF ( todayissues ) %]
815 [% INCLUDE 'checkouts-table-footer.inc' %]
818 [% FOREACH todayissue IN todayissues %]
819 [% IF ( loop.odd ) %]
822 <tr class="highlight">
824 [% IF ( todayissue.od ) %]<td class="od">[% ELSE %]<td>[% END %]
825 <span title="[% todayissue.dd_sort %]">[% todayissue.dd %]</span>
827 [% IF ( todayissue.itemlost ) %]
828 <span class="lost">[% KohaAuthorisedValues.GetByCode( 'LOST', todayissue.itemlost ) %]</span>
830 [% IF ( todayissue.damaged ) %]
831 <span class="dmg">[% KohaAuthorisedValues.GetByCode( 'DAMAGED', todayissue.damaged ) %]</span>
834 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% todayissue.biblionumber %]&type=intra"><strong>[% todayissue.title |html %]</strong></a>[% IF ( todayissue.author ) %], by [% todayissue.author %][% END %][% IF ( todayissue.itemnotes ) %]- <span class="circ-hlt">[% todayissue.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% todayissue.biblionumber %]&itemnumber=[% todayissue.itemnumber %]#item[% todayissue.itemnumber %]">[% todayissue.barcode %]</a></td>
835 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( todayissue.itemtype_image ) %]<img src="[% todayissue.itemtype_image %]" alt="" />[% END %][% END %][% todayissue.itemtype %]</td>
836 <td><span title="[% todayissue.displaydate_sort %]">[% todayissue.checkoutdate %]</span></td>
837 [% IF ( todayissue.multiple_borrowers ) %]<td>[% todayissue.firstname %] [% todayissue.surname %]</td>[% END %]
838 <td>[% todayissue.issuingbranchname %]</td>
839 <td>[% todayissue.itemcallnumber %]</td>
840 <td>[% todayissue.charge %]</td>
841 <td>[% todayissue.replacementprice %]</td>
842 [% IF ( todayissue.renew_failed ) %]
843 <td class="problem">Renewal failed</td>
845 <td><span style="padding: 0 1em;">[% IF ( todayissue.renewals ) %][% todayissue.renewals %][% ELSE %]0[% END %]</span>
846 [% IF ( todayissue.can_renew ) %]
847 <input type="checkbox" name="all_items[]" value="[% todayissue.itemnumber %]" checked="checked" style="display: none;" />
848 [% IF ( todayissue.od ) %]
849 <input type="checkbox" class="radio" name="items[]" value="[% todayissue.itemnumber %]" checked="checked" />
851 <input type="checkbox" class="radio" name="items[]" value="[% todayissue.itemnumber %]" />
854 [% IF ( todayissue.can_confirm ) %]<span class="renewals-allowed" style="display: none">
855 <input type="checkbox" name="all_items[]" value="[% todayissue.itemnumber %]" checked="checked" style="display: none;" />
856 [% IF ( todayissue.od ) %]
857 <input type="checkbox" class="radio" name="items[]" value="[% todayissue.itemnumber %]" checked="checked" />
859 <input type="checkbox" class="radio" name="items[]" value="[% todayissue.itemnumber %]" />
862 <span class="renewals-disabled">
864 [% IF ( todayissue.renew_error_on_reserve ) %]
865 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% todayissue.biblionumber %]">On hold</a>
867 [% IF ( todayissue.renew_error_too_many ) %]
870 [% IF ( todayissue.can_confirm ) %]
876 [% IF ( todayissue.return_failed ) %]
877 <td class="problem">Checkin failed</td>
879 [% IF ( todayissue.renew_error_on_reserve ) %]
880 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% todayissue.biblionumber %]">On hold</a>
881 <input type="checkbox" name="all_barcodes[]" value="[% todayissue.barcode %]" checked="checked" style="display: none;" />
884 <td><input type="checkbox" class="radio" name="barcodes[]" value="[% todayissue.barcode %]" />
885 <input type="checkbox" name="all_barcodes[]" value="[% todayissue.barcode %]" checked="checked" style="display: none;" />
889 [% IF ( exports_enabled ) %]
890 <td style="text-align:center;">
891 <input type="checkbox" id="export_[% todayissue.biblionumber %]" name="biblionumbers" value="[% todayissue.biblionumber %]" />
892 <input type="checkbox" name="itemnumbers" value="[% todayissue.itemnumber %]" style="visibility:hidden;" />
896 [% END %] <!-- /loop todayissues -->
897 <!-- /if todayissues -->[% END %]
899 [% IF ( previssues ) %]
900 [% UNLESS ( todayissues ) %]
901 [% INCLUDE 'checkouts-table-footer.inc' %]
904 [% IF ( UseTablesortForCirc ) %]<tr id="previous"><th><span title="">Previous checkouts</span></th><th></th><th></th><th><span title=""></span></th><th></th><th></th><th></th><th></th><th></th><th></th>[% IF ( exports_enabled ) %]<th></th>[% END %]</tr>[% ELSE %]<tr id="previous">[% IF ( exports_enabled ) %]<th colspan="11">[% ELSE %]<th colspan="10">[% END %]Previous checkouts</th></tr>[% END %]
905 [% FOREACH previssue IN previssues %]
906 [% IF ( loop.odd ) %]
909 <tr class="highlight">
911 [% IF ( previssue.od ) %]<td class="od">[% ELSE %]<td>[% END %]
912 <span title="[% previssue.dd_sort %]">[% previssue.dd %]</span>
914 [% IF ( previssue.itemlost ) %]
915 <span class="lost">[% KohaAuthorisedValues.GetByCode( 'LOST', previssue.itemlost ) %]</span>
917 [% IF ( previssue.damaged ) %]
918 <span class="dmg">[% KohaAuthorisedValues.GetByCode( 'DAMAGED', previssue.damaged ) %]</span>
921 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% previssue.biblionumber %]&type=intra"><strong>[% previssue.title |html %]</strong></a>[% IF ( previssue.author ) %], by [% previssue.author %][% END %] [% IF ( previssue.itemnotes ) %]- [% previssue.itemnotes %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% previssue.biblionumber %]&itemnumber=[% previssue.itemnumber %]#item[% previssue.itemnumber %]">[% previssue.barcode %]</a></td>
923 [% previssue.itemtype %]
925 <td><span title="[% previssue.displaydate_sort %]">[% previssue.displaydate %]</span></td>
926 [% IF ( previssue.multiple_borrowers ) %]<td>[% previssue.firstname %] [% previssue.surname %]</td>[% END %]
927 <td>[% previssue.issuingbranchname %]</td>
928 <td>[% previssue.itemcallnumber %]</td>
929 <td>[% previssue.charge %]</td>
930 <td>[% previssue.replacementprice %]</td>
931 [% IF ( previssue.renew_failed ) %]
932 <td class="problem">Renewal failed</td>
934 <td><span style="padding: 0 1em;">[% IF ( previssue.renewals ) %][% previssue.renewals %][% ELSE %]0[% END %]</span>
935 [% IF ( previssue.can_renew ) %]
936 <input type="checkbox" name="all_items[]" value="[% previssue.itemnumber %]" checked="checked" style="display: none;" />
937 [% IF ( previssue.od ) %]
938 <input type="checkbox" class="radio" name="items[]" value="[% previssue.itemnumber %]" checked="checked" />
940 <input type="checkbox" class="radio" name="items[]" value="[% previssue.itemnumber %]" />
943 [% IF ( previssue.can_confirm ) %]<span class="renewals-allowed" style="display: none">
944 <input type="checkbox" name="all_items[]" value="[% previssue.itemnumber %]" checked="checked" style="display: none;" />
945 [% IF ( previssue.od ) %]
946 <input type="checkbox" class="radio" name="items[]" value="[% previssue.itemnumber %]" checked="checked" />
948 <input type="checkbox" class="radio" name="items[]" value="[% previssue.itemnumber %]" />
951 <span class="renewals-disabled">
953 [% IF ( previssue.renew_error_on_reserve ) %]
954 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% previssue.biblionumber %]">On hold</a>
956 [% IF ( previssue.renew_error_too_many ) %]
959 [% IF ( previssue.can_confirm ) %]
965 [% IF ( previssue.return_failed ) %]
966 <td class="problem">Check-in failed</td>
968 [% IF ( previssue.renew_error_on_reserve ) %]
969 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% previssue.biblionumber %]">On hold</a>
970 <input type="checkbox" name="all_barcodes[]" value="[% previssue.barcode %]" checked="checked" style="display: none;" />
973 <td><input type="checkbox" class="radio" name="barcodes[]" value="[% previssue.barcode %]" />
974 <input type="checkbox" name="all_barcodes[]" value="[% previssue.barcode %]" checked="checked" style="display: none;" />
978 [% IF ( exports_enabled ) %]
979 <td style="text-align:center;">
980 <input type="checkbox" id="export_[% previssue.biblionumber %]" name="biblionumbers" value="[% previssue.biblionumber %]" />
981 <input type="checkbox" name="itemnumbers" value="[% previssue.itemnumber %]" style="visibility:hidden;" />
985 <!-- /loop previssues -->[% END %]
986 <!--/if previssues -->[% END %]
989 [% IF ( issuecount ) %]
990 <fieldset class="action">
991 [% IF ( CAN_user_circulate_override_renewals ) %]
992 [% IF ( AllowRenewalLimitOverride ) %]
993 <label for="override_limit">Override renewal limit:</label>
994 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
997 <input type="submit" name="renew_checked" value="Renew or Return checked items" />
998 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
1000 [% IF ( exports_enabled ) %]
1002 <label for="export_formats"><b>Export checkouts using format:</b></label>
1003 <select name="export_formats" id="export_formats">
1004 <option value="iso2709_995">ISO2709 with items</option>
1005 <option value="iso2709">ISO2709 without items</option>
1006 <option value="csv">CSV</option>
1008 <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
1009 <input type="hidden" name="op" value="export" />
1010 <input type="hidden" id="export_format" name="format" value="iso2709" />
1011 <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
1012 <input type="hidden" id="record_type" name="record_type" value="bibs" />
1013 <input type="button" id="export_submit" value="Export" />
1019 <p>Patron has nothing checked out.</p>
1025 [% IF ( displayrelissues ) %]
1026 <div id="relissues">
1027 <table id="relissuest">
1030 <th scope="col">Due date</th>
1031 <th scope="col">Title</th>
1032 <th scope="col">Item type</th>
1033 <th scope="col">Checked out on</th>
1034 <th scope="col">Checked out from</th>
1035 <th scope="col">Call no</th>
1036 <th scope="col">Charge</th>
1037 <th scope="col">Price</th>
1038 <th scope="col">Patron</th>
1041 [% IF ( relissues ) %] <tbody>
1043 [% FOREACH relissue IN relissues %]
1044 [% IF ( loop.odd ) %]
1047 <tr class="highlight">
1049 [% IF ( relissue.overdue ) %]<td class="od">[% ELSE %]<td>[% END %]
1050 <span title="[% relissue.dd_sort %]">[% relissue.dd %]</span></td>
1052 [% IF ( relissue.itemlost ) %]
1053 <span class="lost">[% KohaAuthorisedValues.GetByCode( 'LOST', relissue.itemlost ) %]</span>
1055 [% IF ( relissue.damaged ) %]
1056 <span class="dmg">[% KohaAuthorisedValues.GetByCode( 'DAMAGED', relissue.damaged ) %]</span>
1059 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% relissue.biblionumber %]&type=intra"><strong>[% relissue.title |html %]</strong></a>[% IF ( relissue.author ) %], by [% relissue.author %][% END %][% IF ( relissue.itemnotes ) %]- <span class="circ-hlt">[% relissue.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% relissue.biblionumber %]&itemnumber=[% relissue.itemnumber %]#item[% relissue.itemnumber %]">[% relissue.barcode %]</a></td>
1060 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( relissue.itemtype_image ) %]<img src="[% relissue.itemtype_image %]" alt="" />[% END %][% END %][% relissue.itemtype %]</td>
1061 <td><span title="[% relissue.displaydate_sort %]">[% relissue.displaydate %]</span></td>
1062 <td>[% relissue.issuingbranchname %]</td>
1063 <td>[% relissue.itemcallnumber %]</td>
1064 <td>[% relissue.charge %]</td>
1065 <td>[% relissue.replacementprice %]</td><td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissue.borrowernumber %]">[% relissue.firstname %] [% relissue.surname %] ([% relissue.cardnumber %])</a></td>
1067 [% END %] <!-- /loop relissues -->
1068 <!-- /if relissues -->[% END %]
1069 [% IF ( relprevissues ) %]
1070 [% IF ( UseTablesortForCirc ) %]<tr id="relprevious"><th><span title="">Previous checkouts</span></th><th></th><th></th><th><span title=""></span></th><th></th><th></th><th></th><th></th><th></th></tr>[% ELSE %]<tr id="relprevious"><th colspan="9">Previous checkouts</th></tr>[% END %]
1071 [% FOREACH relprevissue IN relprevissues %]
1072 [% IF ( loop.odd ) %]
1075 <tr class="highlight">
1077 [% IF ( relprevissue.overdue ) %]<td class="od">[% ELSE %]<td>[% END %]
1078 <span title="[% relprevissue.dd_sort %]">[% relprevissue.dd %]</span>
1080 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% relprevissue.biblionumber %]&type=intra"><strong>[% relprevissue.title |html %]</strong></a>[% IF ( relprevissue.author ) %], by [% relprevissue.author %][% END %] [% IF ( relprevissue.itemnotes ) %]- [% relprevissue.itemnotes %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% relprevissue.biblionumber %]&itemnumber=[% relprevissue.itemnumber %]#item[% relprevissue.itemnumber %]">[% relprevissue.barcode %]</a></td>
1081 <td>[% UNLESS noItemTypeImages %][% IF relprevissue.itemtype_image %]<img src="[% relprevissue.itemtype_image %]" alt="" />[% END %][% END %][% relprevissue.itemtype %]</td>
1082 <td><span title="[% relprevissue.displaydate_sort %]">[% relprevissue.displaydate %]</span></td>
1083 <td>[% relprevissue.issuingbranchname %]</td>
1084 <td>[% relprevissue.itemcallnumber %]</td>
1085 [% IF ( relprevissue.multiple_borrowers ) %]<td>[% relprevissue.firstname %] [% relprevissue.surname %]</td>[% END %]
1086 <td>[% relprevissue.charge %]</td>
1087 <td>[% relprevissue.replacementprice %]</td>
1088 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relprevissue.borrowernumber %]">[% relprevissue.firstname %] [% relprevissue.surname %] ([% relprevissue.cardnumber %])</a></td>
1091 <!-- /loop relprevissue -->[% END %]
1092 <!--/if relprevissues -->[% END %]
1097 [% END %]<!-- end displayrelissues -->
1101 [% IF ( reservloop ) %]
1102 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
1103 <input type="hidden" name="from" value="circ" />
1108 <th>Call number</th>
1116 [% FOREACH reservloo IN reservloop %]
1117 <tr class="[% reservloo.color %]">
1118 <td>[% reservloo.reservedate %]</td>
1119 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]"><strong>[% reservloo.title |html %]</strong></a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]</td>
1120 <td>[% reservloo.itemcallnumber %]</td>
1121 <td><em>[% IF ( reservloo.barcodereserv ) %]Item [% reservloo.barcodereserv %]
1122 [% END %][% IF ( reservloo.waiting ) %] <strong>waiting at [% reservloo.waitingat %]</strong>
1124 [% IF ( reservloo.transfered ) %] <strong>in transit</strong> from
1125 [% reservloo.frombranch %] since [% reservloo.datesent %]
1127 [% IF ( reservloo.nottransfered ) %] hasn't been transferred yet from [% reservloo.nottransferedby %]</i>
1129 <td>[% reservloo.expirationdate | $KohaDates %]</td>
1131 [% IF ( reservloo.waitingposition ) %]<b> [% reservloo.waitingposition %] </b>[% END %]
1133 <td><select name="rank-request">
1134 <option value="n">No</option>
1135 <option value="del">Yes</option>
1137 <input type="hidden" name="biblionumber" value="[% reservloo.biblionumber %]" />
1138 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
1139 <input type="hidden" name="reservenumber" value="[% reservloo.reservenumber %]" />
1141 <td>[% IF ( reservloo.suspend ) %]Suspended [% IF ( reservloo.suspend_until ) %] until [% reservloo.suspend_until | $KohaDates %][% END %][% END %]</td>
1145 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel marked holds" /></fieldset>
1148 [% IF SuspendHoldsIntranet %]
1149 <fieldset class="action">
1150 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
1151 <input type="hidden" name="from" value="circ" />
1152 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
1153 <input type="submit" value="Suspend all holds" />
1155 [% IF AutoResumeSuspendedHolds %]
1156 <label for="suspend_until">until</label>
1157 <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
1158 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
1163 <fieldset class="action">
1164 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
1165 <input type="hidden" name="from" value="circ" />
1166 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
1167 <input type="hidden" name="suspend" value="0" />
1168 <input type="submit" value="Resume all suspended holds" />
1171 [% END # IF SuspendHoldsIntranet %]
1174 <p>Patron has nothing on hold.</p>
1176 </div> <!-- reservesloop -->
1178 [% END %] <!-- borrowernumber -->
1186 [% UNLESS ( CGIselectborrower ) %][% IF ( borrowernumber ) %]<div class="yui-b">
1187 [% INCLUDE 'circ-menu.inc' %]
1188 </div>[% END %][% END %]
1190 [% INCLUDE 'intranet-bottom.inc' %]