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">
120 [% IF !Koha.Preference('AnonymousPatron') %]
121 [% IF Koha.Preference('OPACPrivacy') %]
122 <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
126 [% IF additional_materials %]
127 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
128 [% additional_materials %]
132 [% IF ( collectionItemNeedsTransferred ) %]
133 <div id="rotating-collection" class="dialog message">This item is part of a rotating collection and needs to be transferred to [% collectionBranch %]</div>
136 <!-- Patron has fines -->
138 <div class="dialog alert">
139 <h3>Patron has outstanding fines of [% fines %].</h3>
140 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
144 <!-- Patron has waiting holds -->
145 [% IF ( waiting_holds ) %]
146 <div id="awaiting-pickup" class="dialog message">
147 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
148 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
152 <!-- Patron is restricted and checkin was backdated -->
153 [% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %]
154 <div id="restricted_backdated" class="dialog message">
156 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">
157 [% borrower.firstname %] [% borrower.surname %]
159 is restricted. Please verify this patron should still be restricted.
164 [% IF ( wrongbranch ) %]
165 <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>
168 <!-- case of a mistake in transfer loop -->
169 [% 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>
170 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
171 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
172 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
173 <li>[% wborstnum %] [% wboraddress %][% IF ( wboraddress2 ) %]<br />
174 [% wboraddress2 %]<br />[% END %]
175 [% wborcity %] [% wborzip %]</li>
176 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
177 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
180 <form method="post" action="returns.pl" class="confirm">
181 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
182 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
183 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
184 <input type="submit" class="approve" value="Confirm" />
185 <input type="hidden" name="print_slip" value="0" />
186 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
187 <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
188 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
189 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
190 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
197 <!-- case of a reservation found, and display info -->
202 <audio src="[% interface %]/[% theme %]/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
205 <div id="hold-found1" class="dialog message">
206 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
207 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
210 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
211 <li>[% borstnum %] [% boraddress %]<br />
212 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
213 [% borcity %] [% borzip %]</li>
214 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
215 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
216 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
217 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
218 [% IF ( transfertodo ) %]
219 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
221 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
223 <form method="post" action="returns.pl" class="confirm">
224 <input type="hidden" name="cancel_reserve" value="0" />
225 <input type="submit" class="deny" value="Cancel" onclick="this.form.cancel_reserve.value = 1; this.form.submit();" />
227 <input type="submit" class="approve" value="Confirm" />
229 <input type="hidden" name="print_slip" value="0" />
230 <input type="submit" value="Print and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
231 [% FOREACH inputloo IN inputloop %]
232 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
233 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
234 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
236 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
237 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
238 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
239 <input type="hidden" name="resbarcode" value="[% barcode %]" />
240 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
241 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
242 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
243 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
245 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
246 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
251 [% IF ( diffbranch ) %]
254 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
256 <div id="transfer-needed" class="dialog message">
257 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
260 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
261 <li>[% borstnum %] [% boraddress %]<br />
262 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
263 [% borcity %] [% borzip %]</li>
264 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
265 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
266 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
267 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
269 [% IF ( transfertodo ) %]
270 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
272 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
275 <form method="post" action="returns.pl" class="confirm">
276 <input type="submit" class="approve" value="Confirm" />
277 <input type="hidden" name="print_slip" value="0" />
278 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
279 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
280 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
281 [% FOREACH inputloo IN inputloop %]
282 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
283 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
284 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
286 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
287 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
288 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
289 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
290 <input type="hidden" name="barcode" value="0" />
292 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
293 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
298 [% IF ( transfer ) %]
299 <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
300 <div id="return1" class="dialog message">
301 <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>
304 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
308 [% IF ( needstransfer ) %]
309 <!-- needstransfer -->
311 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
313 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3>
315 <form method="post" action="returns.pl" name="mainform" id="mainform">
317 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip'); return true;" />
319 <input type="submit" name="dotransfer" value="Yes" class="submit" />
320 <input type="submit" name="notransfer" value="No" class="submit" />
321 <input type="hidden" name="tobranch" value="[% returnbranch %]" />
322 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
323 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
324 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
325 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
326 [% FOREACH inputloo IN inputloop %]
327 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
328 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
329 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
331 <input type="hidden" name="barcode" value="0" />
332 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
333 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
337 [% IF ( diffbranch ) %]
340 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
342 <h3>Item consigned:</h3>
344 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
350 <form method="post" action="returns.pl"><input type="submit" value="OK" />
351 [% FOREACH inputloo IN inputloop %]
352 [% UNLESS ( inputloo.first ) %]
353 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
354 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
355 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
359 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
360 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
362 <input type="hidden" name="barcode" value="0" />
367 <!-- case of simple return no issue or transfer but with a reservation -->
368 [% IF ( reserved ) %]
372 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
375 <div id="hold-found2" class="dialog message">
376 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
377 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
380 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
381 [% borsurname %], [% borfirstname %]
382 </a> ([% borcnum %])</li>
383 <li>[% borstnum %] [% boraddress %]<br />
384 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
385 [% borcity %] [% borzip %]</li>
386 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
387 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
388 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
389 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
391 [% IF ( transfertodo ) %]
392 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
394 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
396 <form method="post" action="returns.pl" class="confirm">
397 <input type="hidden" name="print_slip" value="0" />
398 [% IF ( transfertodo ) %]
399 <input type="submit" class="approve" value="Confirm hold and transfer" />
400 <input type="submit" value="Print slip, transfer, and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit()" />
402 <input type="submit" class="approve" value="Confirm hold" />
403 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
405 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
406 [% FOREACH inputloo IN inputloop %]
407 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
408 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
409 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
410 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
411 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
412 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
413 <input type="hidden" name="resbarcode" value="[% barcode %]" />
414 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
415 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
416 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
417 <input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire %]" />
418 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
419 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
425 [% IF ( errmsgloop ) %]
426 <div class="dialog alert">
427 <h3>Check in message</h3>
428 [% FOREACH errmsgloo IN errmsgloop %]
429 [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
431 Not for loan status updated
433 [% IF errmsgloo.NotForLoanStatusUpdated.from %]
434 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %]
436 being available for loan
439 [% IF errmsgloo.NotForLoanStatusUpdated.to %]
440 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %]
442 being available for loan
446 [% IF ( errmsgloo.badbarcode ) %]
447 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
449 [% IF ( errmsgloo.ispermanent ) %]
450 <p class="problem">Please return to [% errmsgloo.msg %]</p>
452 [% IF ( errmsgloo.notissued ) %]
453 <p class="problem">Not checked out.</p>
455 [% IF ( errmsgloo.localuse) %]
456 <p class="problem">Local use recorded</p>
458 [% IF ( errmsgloo.waslost ) %]
459 <p class="problem">Item was lost, now found.</p>
460 [% IF ( LostItemFeeRefunded ) %]
461 <p class="problem">A refund has been applied to the borrowing patron's account.</p>
463 <p class="problem">Any lost item fees for this item will remain on the patron's account</p>
466 [% IF ( errmsgloo.withdrawn ) %]
467 [% IF BlockReturnOfWithdrawnItems %]
468 <h5>Cannot check in</h5>
469 <p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
471 <p class="problem">Item is withdrawn.</p>
474 [% IF ( errmsgloo.debarred ) %]
475 <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>
477 [% IF ( errmsgloo.prevdebarred ) %]
478 <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %]</p>
480 [% IF ( errmsgloo.foreverdebarred ) %]
481 <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction</p>
486 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
490 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
495 [% IF ( checkinmsg ) %]
496 [% IF ( checkinmsgtype == 'alert' ) %]
497 <div class="dialog alert">
499 <div class="dialog message">
501 <p class="problem">[% checkinmsg | html_line_break %]</p>
505 <div id="exemptfines" class="dialog message" style="display:none;">
506 <p>Fines for returned items are forgiven.</p>
508 <div id="forgivemanualholdsexpire-alert" class="dialog message" style="display:none;">
509 <p>Fines are not charged for manually cancelled holds.</p>
511 <div id="dropboxmode" class="dialog message" style="display:none;">
512 <p>Book drop mode. (Effective checkin date is [% dropboxdate %] ).</p>
516 <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
517 <div class="yui-u first">
519 <legend>Check in</legend>
520 <label for="barcode">Enter item barcode: </label>
521 [% IF ( exemptfine ) %]
522 <input name="barcode" id="barcode" size="14" class="focus alert"/>
523 [% ELSIF ( dropboxmode ) %]
524 <input name="barcode" id="barcode" size="14" class="focus alert"/>
526 <input name="barcode" id="barcode" size="14" class="focus"/>
528 <input type="submit" class="submit" value="Submit" />
530 [% IF Koha.Preference('SpecifyReturnDate') %]
531 <div class="date-select" id="return_date_override_fields">
532 <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
534 <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
536 <label for="return_date_override_remember"> Remember for next check in:</label>
537 [% IF ( return_date_override_remember ) %]
538 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
540 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
543 <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;" />
546 [% FOREACH inputloo IN inputloop %]
547 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
548 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
549 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
556 <fieldset id="checkin_options">
557 <legend>Options</legend>
558 [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
560 [% IF ( exemptfine ) %]
561 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
563 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
565 <label for="exemptcheck">Forgive overdue charges</label>
567 [% END %] <!-- overduecharges -->
569 [% IF ( dropboxmode ) %]
570 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
572 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
574 <label for="dropboxcheck">Book drop mode</label>
576 [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
578 [% IF ( forgivemanualholdsexpire ) %]
579 <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" />
581 <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
583 <label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label>
585 [% END %] <!-- overduecharges -->
592 <h2>Checked-in items</h2>
593 <table id="checkedintable">
594 <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>
596 [% FOREACH riloo IN riloop %]
598 <td class="ci-duedate">[% IF ( riloo.duedate ) %]
599 [% IF ( riloo.return_overdue ) %]
600 <span class="overdue">[% riloo.duedate %] (overdue)</span>
601 [% ELSE %][% riloo.duedate %]
603 [% ELSE %]Not checked out
606 <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
607 [% riloo.itemtitle |html %]</a></td>
608 <td class="ci-author">[% riloo.itemauthor %]</td>
609 <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>
610 <td class="ci-homelibrary">[% riloo.homebranch %]</td>
611 <td class="ci-holdinglibrary">[% riloo.holdingbranch %]</td>
612 <td class="ci-shelvinglocation">[% riloo.location %]</td>
613 <td class="ci-callnumber">[% riloo.itemcallnumber %]</td>
614 <td class="ci-type">[% riloo.itemtype %] [% riloo.ccode %]</td>
615 <td class="ci-patron">[% IF ( riloo.duedate ) %]
616 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
617 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
619 [% ELSE %]Not checked out[% END %]</td>
620 <td class="ci-note">[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
621 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
630 [% INCLUDE 'intranet-bottom.inc' %]