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">
111 [% IF additional_materials %]
112 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
113 [% additional_materials %]
117 [% IF ( collectionItemNeedsTransferred ) %]
118 <div id="rotating-collection" class="dialog message">This item is part of a rotating collection and needs to be transferred to [% collectionBranch %]</div>
121 <!-- Patron has fines -->
123 <div class="dialog alert">
124 <h3>Patron has outstanding fines of [% fines %].</h3>
125 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
129 <!-- Patron has waiting holds -->
130 [% IF ( waiting_holds ) %]
131 <div id="awaiting-pickup" class="dialog message">
132 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
133 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
137 <!-- Patron is restricted and checkin was backdated -->
138 [% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %]
139 <div id="restricted_backdated" class="dialog message">
141 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]">
142 [% borrower.firstname %] [% borrower.surname %]
144 is restricted. Please verify this patron should still be restricted.
149 [% IF ( wrongbranch ) %]
150 <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>
153 <!-- case of a mistake in transfer loop -->
154 [% 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>
155 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
156 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
157 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
158 <li>[% wborstnum %] [% wboraddress %][% IF ( wboraddress2 ) %]<br />
159 [% wboraddress2 %]<br />[% END %]
160 [% wborcity %] [% wborzip %]</li>
161 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
162 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
165 <form method="post" action="returns.pl" class="confirm">
166 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
167 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
168 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
169 <input type="submit" class="approve" value="Confirm" />
170 <input type="hidden" name="print_slip" value="0" />
171 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
172 <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
173 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
174 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
175 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
182 <!-- case of a reservation found, and display info -->
187 <audio src="[% interface %]/[% theme %]/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
190 <div id="hold-found1" class="dialog message">
191 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
192 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
195 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
196 <li>[% borstnum %] [% boraddress %]<br />
197 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
198 [% borcity %] [% borzip %]</li>
199 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
200 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
201 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
202 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
203 [% IF ( transfertodo ) %]
204 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
206 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
208 <form method="post" action="returns.pl" class="confirm">
209 <input type="submit" class="approve" value="Confirm" />
211 <input type="hidden" name="print_slip" value="0" />
212 <input type="submit" value="Print and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
213 [% FOREACH inputloo IN inputloop %]
214 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
215 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
216 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
218 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
219 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
220 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
221 <input type="hidden" name="resbarcode" value="[% barcode %]" />
222 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
223 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
224 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
226 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
227 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
232 [% IF ( diffbranch ) %]
235 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
237 <div id="transfer-needed" class="dialog message">
238 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
241 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
242 <li>[% borstnum %] [% boraddress %]<br />
243 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
244 [% borcity %] [% borzip %]</li>
245 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
246 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
247 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
248 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
250 [% IF ( transfertodo ) %]
251 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
253 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
256 <form method="post" action="returns.pl" class="confirm">
257 <input type="submit" class="approve" value="Confirm" />
258 <input type="hidden" name="print_slip" value="0" />
259 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
260 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
261 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
262 [% FOREACH inputloo IN inputloop %]
263 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
264 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
265 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
267 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
268 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
269 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
270 <input type="hidden" name="barcode" value="0" />
272 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
273 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
278 [% IF ( transfer ) %]
279 <!-- transfer: item with no reservation, must be returned according to home library circulation rules -->
280 <div id="return1" class="dialog message">
281 <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>
284 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
288 [% IF ( needstransfer ) %]
289 <!-- needstransfer -->
291 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
293 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3>
295 <form method="post" action="returns.pl" name="mainform" id="mainform">
297 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip'); return true;" />
299 <input type="submit" name="dotransfer" value="Yes" class="submit" />
300 <input type="submit" name="notransfer" value="No" class="submit" />
301 <input type="hidden" name="tobranch" value="[% returnbranch %]" />
302 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
303 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
304 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
305 [% FOREACH inputloo IN inputloop %]
306 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
307 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
308 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
310 <input type="hidden" name="barcode" value="0" />
311 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
312 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
316 [% IF ( diffbranch ) %]
319 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
321 <h3>Item consigned:</h3>
323 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
329 <form method="post" action="returns.pl"><input type="submit" value="OK" />
330 [% FOREACH inputloo IN inputloop %]
331 [% UNLESS ( inputloo.first ) %]
332 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
333 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
334 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
338 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
339 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
341 <input type="hidden" name="barcode" value="0" />
346 <!-- case of simple return no issue or transfer but with a reservation -->
347 [% IF ( reserved ) %]
351 <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
354 <div id="hold-found2" class="dialog message">
355 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
356 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
359 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
360 [% borsurname %], [% borfirstname %]
361 </a> ([% borcnum %])</li>
362 <li>[% borstnum %] [% boraddress %]<br />
363 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
364 [% borcity %] [% borzip %]</li>
365 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
366 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
367 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
368 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
370 [% IF ( transfertodo ) %]
371 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
373 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
375 <form method="post" action="returns.pl" class="confirm">
376 <input type="hidden" name="print_slip" value="0" />
377 [% IF ( transfertodo ) %]
378 <input type="submit" class="approve" value="Confirm hold and transfer" />
379 <input type="submit" value="Print slip, transfer, and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit()" />
381 <input type="submit" class="approve" value="Confirm hold" />
382 <input type="submit" value="Print slip and confirm" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();" />
384 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
385 [% FOREACH inputloo IN inputloop %]
386 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
387 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
388 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
389 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
390 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
391 <input type="hidden" name="biblionumber" value="[% itembiblionumber %]" />
392 <input type="hidden" name="resbarcode" value="[% barcode %]" />
393 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
394 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
395 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
396 <input type="hidden" name="return_date_override" value="[% return_date_override %]" />
397 <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" />
403 [% IF ( errmsgloop ) %]
404 <div class="dialog alert">
405 <h3>Check in message</h3>
406 [% FOREACH errmsgloo IN errmsgloop %]
407 [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]
409 Not for loan status updated
411 [% IF errmsgloo.NotForLoanStatusUpdated.from %]
412 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %]
414 being available for loan
417 [% IF errmsgloo.NotForLoanStatusUpdated.to %]
418 [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %]
420 being available for loan
424 [% IF ( errmsgloo.badbarcode ) %]
425 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
427 [% IF ( errmsgloo.ispermanent ) %]
428 <p class="problem">Please return to [% errmsgloo.msg %]</p>
430 [% IF ( errmsgloo.notissued ) %]
431 <p class="problem">Not checked out.</p>
433 [% IF ( errmsgloo.localuse) %]
434 <p class="problem">Local use recorded</p>
436 [% IF ( errmsgloo.waslost ) %]
437 <p class="problem">Item was lost, now found.</p>
438 [% IF ( LostItemFeeRefunded ) %]
439 <p class="problem">A refund has been applied to the borrowing patron's account.</p>
441 <p class="problem">Any lost item fees for this item will remain on the patron's account</p>
444 [% IF ( errmsgloo.withdrawn ) %]
445 [% IF BlockReturnOfWithdrawnItems %]
446 <h5>Cannot check in</h5>
447 <p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
449 <p class="problem">Item is withdrawn.</p>
452 [% IF ( errmsgloo.debarred ) %]
453 <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>
455 [% IF ( errmsgloo.prevdebarred ) %]
456 <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %]</p>
458 [% IF ( errmsgloo.foreverdebarred ) %]
459 <p class="problem"><b>Reminder: </b>Patron has an indefinite restriction</p>
464 <audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
468 <audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
473 [% IF ( checkinmsg ) %]
474 [% IF ( checkinmsgtype == 'alert' ) %]
475 <div class="dialog alert">
477 <div class="dialog message">
479 <p class="problem">[% checkinmsg | html_line_break %]</p>
483 <div id="exemptfines" class="dialog message" style="display:none;">
484 <p>Fines for returned items are forgiven.</p>
486 <div id="dropboxmode" class="dialog message" style="display:none;">
487 <p>Book drop mode. (Effective checkin date is [% dropboxdate %] ).</p>
491 <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
492 <div class="yui-u first">
494 <legend>Check in</legend>
495 <label for="barcode">Enter item barcode: </label>
496 [% IF ( exemptfine ) %]
497 <input name="barcode" id="barcode" size="14" class="focus alert"/>
498 [% ELSIF ( dropboxmode ) %]
499 <input name="barcode" id="barcode" size="14" class="focus alert"/>
501 <input name="barcode" id="barcode" size="14" class="focus"/>
503 <input type="submit" class="submit" value="Submit" />
505 [% IF Koha.Preference('SpecifyReturnDate') %]
506 <div class="date-select" id="return_date_override_fields">
507 <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
509 <input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" />
511 <label for="return_date_override_remember"> Remember for next check in:</label>
512 [% IF ( return_date_override_remember ) %]
513 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" />
515 <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
518 <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;" />
521 [% FOREACH inputloo IN inputloop %]
522 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
523 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
524 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
531 <fieldset id="checkin_options">
532 <legend>Options</legend>
533 [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
535 [% IF ( exemptfine ) %]
536 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
538 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
540 <label for="exemptcheck">Forgive overdue charges</label>
542 [% END %] <!-- overduecharges -->
544 [% IF ( dropboxmode ) %]
545 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
547 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
549 <label for="dropboxcheck">Book drop mode</label>
557 <h2>Checked-in items</h2>
558 <table id="checkedintable">
559 <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>
561 [% FOREACH riloo IN riloop %]
563 <td class="ci-duedate">[% IF ( riloo.duedate ) %]
564 [% IF ( riloo.return_overdue ) %]
565 <span class="overdue">[% riloo.duedate %] (overdue)</span>
566 [% ELSE %][% riloo.duedate %]
568 [% ELSE %]Not checked out
571 <td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
572 [% riloo.itemtitle |html %]</a></td>
573 <td class="ci-author">[% riloo.itemauthor %]</td>
574 <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>
575 <td class="ci-homelibrary">[% riloo.homebranch %]</td>
576 <td class="ci-holdinglibrary">[% riloo.holdingbranch %]</td>
577 <td class="ci-shelvinglocation">[% riloo.location %]</td>
578 <td class="ci-callnumber">[% riloo.itemcallnumber %]</td>
579 <td class="ci-type">[% riloo.itemtype %] [% riloo.ccode %]</td>
580 <td class="ci-patron">[% IF ( riloo.duedate ) %]
581 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
582 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
584 [% ELSE %]Not checked out[% END %]</td>
585 <td class="ci-note">[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
586 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
595 [% INCLUDE 'intranet-bottom.inc' %]