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 $("#forgivemanualholdsexpire").change(function () {
83 if (this.checked == true) {
84 $("#barcode").addClass("alert");
85 $("#forgivemanualholdsexpire-alert").show();
87 $("#barcode").removeClass("alert");
88 $("#forgivemanualholdsexpire-alert").hide();
90 $("#barcode").focus();
92 [% IF(overduecharges) %] $("#barcode").focus(function () {
93 if (($("#exemptcheck").attr("checked") == true) || ($("#dropboxcheck").attr("checked") == true)) {
94 $("#barcode").addClass("alert");
96 $("#barcode").removeClass("alert");
99 $("#barcode").blur(function () {
100 $("#barcode").removeClass("alert");
107 <body id="circ_returns" class="circ">
109 [% INCLUDE 'header.inc' %]
110 [% INCLUDE 'checkin-search.inc' %]
112 <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>
114 <div id="doc" class="yui-t7">
121 [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
122 <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div>
123 [% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
124 <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
127 [% IF additional_materials %]
128 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
129 [% additional_materials %]
133 [% IF ( collectionItemNeedsTransferred ) %]
134 <div id="rotating-collection" class="dialog message">This item is part of a rotating collection and needs to be transferred to [% collectionBranch %]</div>
137 <!-- Patron has fines -->
139 <div class="dialog alert">
140 <h3>Patron has outstanding fines of [% fines %].</h3>
141 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
145 <!-- Patron has waiting holds -->
146 [% IF ( waiting_holds ) %]
147 <div id="awaiting-pickup" class="dialog message">
148 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
149 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
153 <!-- Patron is restricted and checkin was backdated -->
154 [% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %]
155 <div id="restricted_backdated" class="dialog message">
157 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">
158 [% borrower.firstname %] [% borrower.surname %]
160 is restricted. Please verify this patron should still be restricted.
165 [% IF ( wrongbranch ) %]
166 <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>
169 <!-- case of a mistake in transfer loop -->
170 [% 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>
171 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
172 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
173 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
174 <li>[% wborstnum %] [% wboraddress %][% IF ( wboraddress2 ) %]<br />
175 [% wboraddress2 %]<br />[% END %]
176 [% wborcity %] [% wborzip %]</li>
177 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
178 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
181 <form method="post" action="returns.pl" class="confirm">
182 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
183 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
184 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
185 <input type="submit" class="approve" value="Confirm" />
186 <input type="hidden" name="print_slip" value="0" />
187 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
188 <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
189 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
190 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
191 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
198 <!-- case of a reservation found, and display info -->
203 <audio src="[% interface %]/[% theme %]/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
206 <div id="hold-found1" class="dialog message">
207 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
208 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
211 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
212 <li>[% borstnum %] [% boraddress %]<br />
213 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
214 [% borcity %] [% borzip %]</li>
215 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
216 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
217 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
218 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
219 [% IF ( transfertodo ) %]
220 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
222 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
224 <form method="post" action="returns.pl" class="confirm">
225 <input type="hidden" name="cancel_reserve" value="0" />
226 <input type="submit" class="deny" value="Cancel" onclick="this.form.cancel_reserve.value = 1; this.form.submit();" />
228 <input type="submit" class="approve" value="Confirm" />
230 <input type="hidden" name="print_slip" value="0" />
231 <input type="submit" value="Print and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
232 [% FOREACH inputloo IN inputloop %]
233 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
234 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
235 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
237 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
238 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
239 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
240 <input type="hidden" name="resbarcode" value="[% barcode %]" />
241 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
242 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
243 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
244 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
246 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
247 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
252 [% IF ( diffbranch ) %]
255 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
257 <div id="transfer-needed" class="dialog message">
258 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
261 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
262 <li>[% borstnum %] [% boraddress %]<br />
263 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
264 [% borcity %] [% borzip %]</li>
265 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
266 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
267 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
268 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
270 [% IF ( transfertodo ) %]
271 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
273 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
276 <form method="post" action="returns.pl" class="confirm">
277 <input type="submit" class="approve" value="Confirm" />
278 <input type="hidden" name="print_slip" value="0" />
279 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
280 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
281 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
282 [% FOREACH inputloo IN inputloop %]
283 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
284 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
285 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
287 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
288 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
289 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
290 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
291 <input type="hidden" name="barcode" value="0" />
293 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
294 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
299 [% IF ( transfer ) %]
300 <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
301 <div id="return1" class="dialog message">
302 <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>
305 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
309 [% IF ( needstransfer ) %]
310 <!-- needstransfer -->
312 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
314 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3>
316 <form method="post" action="returns.pl" name="mainform" id="mainform">
318 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip'); return true;" />
320 <input type="submit" name="dotransfer" value="Yes" class="submit" />
321 <input type="submit" name="notransfer" value="No" class="submit" />
322 <input type="hidden" name="tobranch" value="[% returnbranch %]" />
323 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
324 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
325 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
326 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
327 [% FOREACH inputloo IN inputloop %]
328 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
329 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
330 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
332 <input type="hidden" name="barcode" value="0" />
333 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
334 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
338 [% IF ( diffbranch ) %]
341 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
343 <h3>Item consigned:</h3>
345 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
351 <form method="post" action="returns.pl"><input type="submit" value="OK" />
352 [% FOREACH inputloo IN inputloop %]
353 [% UNLESS ( inputloo.first ) %]
354 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
355 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
356 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
360 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
361 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
363 <input type="hidden" name="barcode" value="0" />
368 <!-- case of simple return no issue or transfer but with a reservation -->
369 [% IF ( reserved ) %]
373 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
376 <div id="hold-found2" class="dialog message">
377 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
378 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
381 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
382 [% borsurname %], [% borfirstname %]
383 </a> ([% borcnum %])</li>
384 <li>[% borstnum %] [% boraddress %]<br />
385 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
386 [% borcity %] [% borzip %]</li>
387 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
388 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
389 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
390 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
392 [% IF ( transfertodo ) %]
393 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
395 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
397 <form method="post" action="returns.pl" class="confirm">
398 <input type="hidden" name="print_slip" value="0" />
399 [% IF ( transfertodo ) %]
400 <input type="submit" class="approve" value="Confirm hold and transfer" />
401 <input type="submit" value="Print slip, transfer, and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit()" />
403 <input type="submit" class="approve" value="Confirm hold" />
404 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
406 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
407 [% FOREACH inputloo IN inputloop %]
408 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
409 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
410 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
411 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
412 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
413 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
414 <input type="hidden" name="resbarcode" value="[% barcode %]" />
415 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
416 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
417 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
418 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
419 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
420 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
426 [% IF ( errmsgloop ) %]
427 <div class="dialog alert">
428 <h3>Check in message</h3>
429 [% FOREACH errmsgloo IN errmsgloop %]
430 [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
432 Not for loan status updated
434 [% IF errmsgloo.NotForLoanStatusUpdated.from %]
435 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %]
437 being available for loan
440 [% IF errmsgloo.NotForLoanStatusUpdated.to %]
441 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %]
443 being available for loan
447 [% IF ( errmsgloo.badbarcode ) %]
448 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
450 [% IF ( errmsgloo.ispermanent ) %]
451 <p class="problem">Please return to [% errmsgloo.msg %]</p>
453 [% IF ( errmsgloo.notissued ) %]
454 <p class="problem">Not checked out.</p>
456 [% IF ( errmsgloo.localuse) %]
457 <p class="problem">Local use recorded</p>
459 [% IF ( errmsgloo.waslost ) %]
460 <p class="problem">Item was lost, now found.</p>
461 [% IF ( LostItemFeeRefunded ) %]
462 <p class="problem">A refund has been applied to the borrowing patron's account.</p>
464 <p class="problem">Any lost item fees for this item will remain on the patron's account</p>
467 [% IF ( errmsgloo.withdrawn ) %]
468 [% IF BlockReturnOfWithdrawnItems %]
469 <h5>Cannot check in</h5>
470 <p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
472 <p class="problem">Item is withdrawn.</p>
475 [% IF ( errmsgloo.debarred ) %]
476 <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>
478 [% IF ( errmsgloo.prevdebarred ) %]
479 <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %]</p>
481 [% IF ( errmsgloo.foreverdebarred ) %]
482 <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction</p>
487 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
491 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
496 [% IF ( checkinmsg ) %]
497 [% IF ( checkinmsgtype == 'alert' ) %]
498 <div class="dialog alert">
500 <div class="dialog message">
502 <p class="problem">[% checkinmsg | html_line_break %]</p>
506 <div id="exemptfines" class="dialog message" style="display:none;">
507 <p>Fines for returned items are forgiven.</p>
509 <div id="forgivemanualholdsexpire-alert" class="dialog message" style="display:none;">
510 <p>Fines are not charged for manually cancelled holds.</p>
512 <div id="dropboxmode" class="dialog message" style="display:none;">
513 <p>Book drop mode. (Effective checkin date is [% dropboxdate %] ).</p>
517 <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
518 <div class="yui-u first">
520 <legend>Check in</legend>
521 <label for="barcode">Enter item barcode: </label>
522 [% IF ( exemptfine ) %]
523 <input name="barcode" id="barcode" size="14" class="focus alert"/>
524 [% ELSIF ( dropboxmode ) %]
525 <input name="barcode" id="barcode" size="14" class="focus alert"/>
527 <input name="barcode" id="barcode" size="14" class="focus"/>
529 <input type="submit" class="submit" value="Submit" />
531 [% IF Koha.Preference('SpecifyReturnDate') %]
532 <div class="date-select" id="return_date_override_fields">
533 <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
535 <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
537 <label for="return_date_override_remember"> Remember for next check in:</label>
538 [% IF ( return_date_override_remember ) %]
539 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
541 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
544 <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;" />
547 [% FOREACH inputloo IN inputloop %]
548 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
549 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
550 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
557 <fieldset id="checkin_options">
558 <legend>Options</legend>
559 [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
561 [% IF ( exemptfine ) %]
562 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
564 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
566 <label for="exemptcheck">Forgive overdue charges</label>
568 [% END %] <!-- overduecharges -->
570 [% IF ( dropboxmode ) %]
571 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
573 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
575 <label for="dropboxcheck">Book drop mode</label>
577 [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
579 [% IF ( forgivemanualholdsexpire ) %]
580 <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" />
582 <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
584 <label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label>
586 [% END %] <!-- overduecharges -->
593 <h2>Checked-in items</h2>
594 <table id="checkedintable">
595 <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>
597 [% FOREACH riloo IN riloop %]
599 <td class="ci-duedate">[% IF ( riloo.duedate ) %]
600 [% IF ( riloo.return_overdue ) %]
601 <span class="overdue">[% riloo.duedate %] (overdue)</span>
602 [% ELSE %][% riloo.duedate %]
604 [% ELSE %]Not checked out
607 <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
608 [% riloo.itemtitle |html %]</a></td>
609 <td class="ci-author">[% riloo.itemauthor %]</td>
610 <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>
611 <td class="ci-homelibrary">[% riloo.homebranch %]</td>
612 <td class="ci-holdinglibrary">[% riloo.holdingbranch %]</td>
613 <td class="ci-shelvinglocation">[% riloo.location %]</td>
614 <td class="ci-callnumber">[% riloo.itemcallnumber %]</td>
615 <td class="ci-type">[% riloo.itemtype %] [% riloo.ccode %]</td>
616 <td class="ci-patron">[% IF ( riloo.duedate ) %]
617 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
618 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
620 [% ELSE %]Not checked out[% END %]</td>
621 <td class="ci-note">[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
622 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
631 [% INCLUDE 'intranet-bottom.inc' %]