5 [% USE AuthorisedValues %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Circulation › Check in [% title |html %]</title>
9 [% INCLUDE 'doc-head-close.inc' %]
11 [% INCLUDE 'calendar.inc' %]
12 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script>
13 [% INCLUDE 'timepicker.inc' %]
15 <script type="text/javascript">
17 function Dopop(link) {
18 var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
19 $("#barcode").focus();
21 $(document).ready(function () {
24 Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
27 $("#return_date_override").datetimepicker({
28 onClose: function(dateText, inst) { $("#barcode").focus(); },
34 $("#return_date_override").on("blur", function() {
35 check_valid_return_date();
37 $("#checkin-form").submit(function( event ) {
38 if ( !check_valid_return_date() ) {
39 event.preventDefault();
43 function check_valid_return_date() {
44 if ( $("#return_date_override").val() ) {
45 var datetime = DateTime_from_syspref( $("#return_date_override").val() );
47 if ( !datetime || datetime > now ) {
48 alert("Invalid return date/time!");
49 $("#return_date_override").val("")
56 $("#exemptcheck").change(function () {
57 if (this.checked == true) {
58 $("#barcode").addClass("alert");
59 $("#exemptfines").show();
61 $("#barcode").removeClass("alert");
62 $("#exemptfines").hide();
64 $("#barcode").focus();
66 $("#dropboxcheck").change(function () {
67 if (this.checked == true) {
68 $("#barcode").addClass("alert");
69 $("#dropboxmode").show();
71 $("#return_date_override_fields :input").attr("disabled", true);
72 $("#return_date_override").datetimepicker("disable");
74 $("#barcode").removeClass("alert");
75 $("#dropboxmode").hide();
77 $("#return_date_override_fields :input").attr("disabled", false);
78 $("#return_date_override").datetimepicker("enable");
80 $("#barcode").focus();
82 [% IF(overduecharges) %] $("#barcode").focus(function () {
83 if (($("#exemptcheck").attr("checked") == true) || ($("#dropboxcheck").attr("checked") == true)) {
84 $("#barcode").addClass("alert");
86 $("#barcode").removeClass("alert");
89 $("#barcode").blur(function () {
90 $("#barcode").removeClass("alert");
97 <body id="circ_returns" class="circ">
99 [% INCLUDE 'header.inc' %]
100 [% INCLUDE 'checkin-search.inc' %]
102 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Check in</div>
104 <div id="doc" class="yui-t7">
110 [% IF !Koha.Preference('AnonymousPatron') %]
111 [% IF Koha.Preference('OPACPrivacy') %]
112 <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
116 [% IF additional_materials %]
117 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
118 [% additional_materials %]
122 [% IF ( collectionItemNeedsTransferred ) %]
123 <div id="rotating-collection" class="dialog message">This item is part of a rotating collection and needs to be transferred to [% collectionBranch %]</div>
126 <!-- Patron has fines -->
128 <div class="dialog alert">
129 <h3>Patron has outstanding fines of [% fines %].</h3>
130 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
134 <!-- Patron has waiting holds -->
135 [% IF ( waiting_holds ) %]
136 <div id="awaiting-pickup" class="dialog message">
137 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
138 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
142 <!-- Patron is restricted and checkin was backdated -->
143 [% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %]
144 <div id="restricted_backdated" class="dialog message">
146 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">
147 [% borrower.firstname %] [% borrower.surname %]
149 is restricted. Please verify this patron should still be restricted.
154 [% IF ( wrongbranch ) %]
155 <div class="dialog alert"><h3>Cannot check in</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
158 <!-- case of a mistake in transfer loop -->
159 [% IF ( WrongTransfer ) %]<div id="return2" class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% Branches.GetName( TransferWaitingAt ) %]</h3><h3><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip'); return true;">Print slip</a> or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel transfer</a></h3>
160 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
161 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
162 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
163 <li>[% wborstnum %] [% wboraddress %][% IF ( wboraddress2 ) %]<br />
164 [% wboraddress2 %]<br />[% END %]
165 [% wborcity %] [% wborzip %]</li>
166 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
167 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
170 <form method="post" action="returns.pl" class="confirm">
171 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
172 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
173 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
174 <input type="submit" class="approve" value="Confirm" />
175 <input type="hidden" name="print_slip" value="0" />
176 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
177 <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
178 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
179 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
180 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
187 <!-- case of a reservation found, and display info -->
192 <audio src="[% interface %]/[% theme %]/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
195 <div id="hold-found1" class="dialog message">
196 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
197 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
200 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
201 <li>[% borstnum %] [% boraddress %]<br />
202 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
203 [% borcity %] [% borzip %]</li>
204 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
205 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
206 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
207 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
208 [% IF ( transfertodo ) %]
209 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
211 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
213 <form method="post" action="returns.pl" class="confirm">
214 <input type="submit" class="approve" value="Confirm" />
216 <input type="hidden" name="print_slip" value="0" />
217 <input type="submit" value="Print and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
218 [% FOREACH inputloo IN inputloop %]
219 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
220 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
221 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
223 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
224 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
225 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
226 <input type="hidden" name="resbarcode" value="[% barcode %]" />
227 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
228 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
229 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
231 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
232 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
237 [% IF ( diffbranch ) %]
240 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
242 <div id="transfer-needed" class="dialog message">
243 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
246 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
247 <li>[% borstnum %] [% boraddress %]<br />
248 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
249 [% borcity %] [% borzip %]</li>
250 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
251 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
252 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
253 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
255 [% IF ( transfertodo ) %]
256 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
258 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
261 <form method="post" action="returns.pl" class="confirm">
262 <input type="submit" class="approve" value="Confirm" />
263 <input type="hidden" name="print_slip" value="0" />
264 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
265 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
266 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
267 [% FOREACH inputloo IN inputloop %]
268 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
269 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
270 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
272 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
273 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
274 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
275 <input type="hidden" name="barcode" value="0" />
277 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
278 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
283 [% IF ( transfer ) %]
284 <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
285 <div id="return1" class="dialog message">
286 <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% Branches.GetName( returnbranch ) %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a> )</h3>
289 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
293 [% IF ( needstransfer ) %]
294 <!-- needstransfer -->
296 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
298 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3>
300 <form method="post" action="returns.pl" name="mainform" id="mainform">
302 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip'); return true;" />
304 <input type="submit" name="dotransfer" value="Yes" class="submit" />
305 <input type="submit" name="notransfer" value="No" class="submit" />
306 <input type="hidden" name="tobranch" value="[% returnbranch %]" />
307 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
308 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
309 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
310 [% FOREACH inputloo IN inputloop %]
311 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
312 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
313 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
315 <input type="hidden" name="barcode" value="0" />
316 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
317 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
321 [% IF ( diffbranch ) %]
324 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
326 <h3>Item consigned:</h3>
328 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
334 <form method="post" action="returns.pl"><input type="submit" value="OK" />
335 [% FOREACH inputloo IN inputloop %]
336 [% UNLESS ( inputloo.first ) %]
337 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
338 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
339 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
343 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
344 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
346 <input type="hidden" name="barcode" value="0" />
351 <!-- case of simple return no issue or transfer but with a reservation -->
352 [% IF ( reserved ) %]
356 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
359 <div id="hold-found2" class="dialog message">
360 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
361 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
364 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
365 [% borsurname %], [% borfirstname %]
366 </a> ([% borcnum %])</li>
367 <li>[% borstnum %] [% boraddress %]<br />
368 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
369 [% borcity %] [% borzip %]</li>
370 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
371 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
372 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
373 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
375 [% IF ( transfertodo ) %]
376 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
378 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
380 <form method="post" action="returns.pl" class="confirm">
381 <input type="hidden" name="print_slip" value="0" />
382 [% IF ( transfertodo ) %]
383 <input type="submit" class="approve" value="Confirm hold and transfer" />
384 <input type="submit" value="Print slip, transfer, and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit()" />
386 <input type="submit" class="approve" value="Confirm hold" />
387 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
389 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
390 [% FOREACH inputloo IN inputloop %]
391 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
392 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
393 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
394 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
395 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
396 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
397 <input type="hidden" name="resbarcode" value="[% barcode %]" />
398 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
399 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
400 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
401 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
402 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
408 [% IF ( errmsgloop ) %]
409 <div class="dialog alert">
410 <h3>Check in message</h3>
411 [% FOREACH errmsgloo IN errmsgloop %]
412 [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
414 Not for loan status updated
416 [% IF errmsgloo.NotForLoanStatusUpdated.from %]
417 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %]
419 being available for loan
422 [% IF errmsgloo.NotForLoanStatusUpdated.to %]
423 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %]
425 being available for loan
429 [% IF ( errmsgloo.badbarcode ) %]
430 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
432 [% IF ( errmsgloo.ispermanent ) %]
433 <p class="problem">Please return to [% errmsgloo.msg %]</p>
435 [% IF ( errmsgloo.notissued ) %]
436 <p class="problem">Not checked out.</p>
438 [% IF ( errmsgloo.localuse) %]
439 <p class="problem">Local use recorded</p>
441 [% IF ( errmsgloo.waslost ) %]
442 <p class="problem">Item was lost, now found.</p>
443 [% IF ( LostItemFeeRefunded ) %]
444 <p class="problem">A refund has been applied to the borrowing patron's account.</p>
446 <p class="problem">Any lost item fees for this item will remain on the patron's account</p>
449 [% IF ( errmsgloo.withdrawn ) %]
450 [% IF BlockReturnOfWithdrawnItems %]
451 <h5>Cannot check in</h5>
452 <p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
454 <p class="problem">Item is withdrawn.</p>
457 [% IF ( errmsgloo.debarred ) %]
458 <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %] </p>
460 [% IF ( errmsgloo.prevdebarred ) %]
461 <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %]</p>
463 [% IF ( errmsgloo.foreverdebarred ) %]
464 <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction</p>
469 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
473 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
478 [% IF ( checkinmsg ) %]
479 [% IF ( checkinmsgtype == 'alert' ) %]
480 <div class="dialog alert">
482 <div class="dialog message">
484 <p class="problem">[% checkinmsg | html_line_break %]</p>
488 <div id="exemptfines" class="dialog message" style="display:none;">
489 <p>Fines for returned items are forgiven.</p>
491 <div id="dropboxmode" class="dialog message" style="display:none;">
492 <p>Book drop mode. (Effective checkin date is [% dropboxdate %] ).</p>
496 <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
497 <div class="yui-u first">
499 <legend>Check in</legend>
500 <label for="barcode">Enter item barcode: </label>
501 [% IF ( exemptfine ) %]
502 <input name="barcode" id="barcode" size="14" class="focus alert"/>
503 [% ELSIF ( dropboxmode ) %]
504 <input name="barcode" id="barcode" size="14" class="focus alert"/>
506 <input name="barcode" id="barcode" size="14" class="focus"/>
508 <input type="submit" class="submit" value="Submit" />
510 [% IF Koha.Preference('SpecifyReturnDate') %]
511 <div class="date-select" id="return_date_override_fields">
512 <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
514 <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
516 <label for="return_date_override_remember"> Remember for next check in:</label>
517 [% IF ( return_date_override_remember ) %]
518 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
520 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
523 <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" />
526 [% FOREACH inputloo IN inputloop %]
527 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
528 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
529 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
536 <fieldset id="checkin_options">
537 <legend>Options</legend>
538 [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
540 [% IF ( exemptfine ) %]
541 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
543 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
545 <label for="exemptcheck">Forgive overdue charges</label>
547 [% END %] <!-- overduecharges -->
549 [% IF ( dropboxmode ) %]
550 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
552 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
554 <label for="dropboxcheck">Book drop mode</label>
562 <h2>Checked-in items</h2>
563 <table id="checkedintable">
564 <tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr>
566 [% FOREACH riloo IN riloop %]
568 <td class="ci-duedate">[% IF ( riloo.duedate ) %]
569 [% IF ( riloo.return_overdue ) %]
570 <span class="overdue">[% riloo.duedate %] (overdue)</span>
571 [% ELSE %][% riloo.duedate %]
573 [% ELSE %]Not checked out
576 <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
577 [% riloo.itemtitle |html %]</a></td>
578 <td class="ci-author">[% riloo.itemauthor %]</td>
579 <td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
580 <td class="ci-homelibrary">[% riloo.homebranch %]</td>
581 <td class="ci-holdinglibrary">[% riloo.holdingbranch %]</td>
582 <td class="ci-shelvinglocation">[% riloo.location %]</td>
583 <td class="ci-callnumber">[% riloo.itemcallnumber %]</td>
584 <td class="ci-type">[% riloo.itemtype %] [% riloo.ccode %]</td>
585 <td class="ci-patron">[% IF ( riloo.duedate ) %]
586 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
587 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
589 [% ELSE %]Not checked out[% END %]</td>
590 <td class="ci-note">[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
591 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
600 [% INCLUDE 'intranet-bottom.inc' %]