2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Circulation › Check in [% title |html %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
8 var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
11 $(document).ready(function () {
12 $("#exemptcheck").change(function () {
13 if (this.checked == true) {
14 $("#barcode").addClass("alert");
15 $("#exemptfines").show();
17 $("#barcode").removeClass("alert");
18 $("#exemptfines").hide();
20 $("#barcode").focus();
22 $("#dropboxcheck").change(function () {
23 if (this.checked == true) {
24 $("#barcode").addClass("alert");
25 $("#dropboxmode").show();
27 $("#barcode").removeClass("alert");
28 $("#dropboxmode").hide();
30 $("#barcode").focus();
32 [% IF(overduecharges) %] $("#barcode").focus(function () {
33 if (($("#exemptcheck").attr("checked") == true) || ($("#dropboxcheck").attr("checked") == true)) {
34 $("#barcode").addClass("alert");
36 $("#barcode").removeClass("alert");
39 $("#barcode").blur(function () {
40 $("#barcode").removeClass("alert");
47 <body id="circ_returns" class="circ">
48 <div id="header" class="gradient">
49 [% INCLUDE 'header.inc' %]
50 [% INCLUDE 'checkin-search.inc' %]
53 <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>
55 <div id="doc" class="yui-t7">
62 [% IF additional_materials %]
63 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
64 [% additional_materials %]
68 [% IF ( collectionItemNeedsTransferred ) %]
69 <div id="rotating-collection" class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div>
72 <!-- Patron has fines -->
74 <div class="dialog alert">
75 <h3>Patron has outstanding fines of [% fines %].</h3>
76 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
80 <!-- Patron has waiting holds -->
81 [% IF ( waiting_holds ) %]
82 <div id="awaiting-pickup" class="dialog message">
83 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
84 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
89 [% IF ( wrongbranch ) %]
90 <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>
93 <!-- case of a mistake in transfer loop -->
94 [% 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 [% 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>
95 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
96 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
97 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
98 <li>[% wboraddress %][% IF ( wboraddress2 ) %]<br />
99 [% wboraddress2 %]<br />[% END %]
100 [% wborcity %] [% wborzip %]</li>
101 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
102 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
105 <form method="post" action="returns.pl" class="confirm">
106 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
107 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
108 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
109 <input type="submit" class="approve" value="Confirm" />
110 <input type="submit" value="Print slip and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
117 <!-- case of a reservation found, and display info -->
122 <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
125 <div id="hold-found1" class="dialog message">
126 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
127 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
130 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
131 <li>[% boraddress %]<br />
132 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
133 [% borcity %] [% borzip %]</li>
134 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
135 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
136 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
137 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
138 [% IF ( transfertodo ) %]
139 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
141 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
143 <form method="post" action="returns.pl" class="confirm">
144 <input type="submit" class="approve" value="Confirm" />
146 <input type="submit" value="Print and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
147 [% FOREACH inputloo IN inputloop %]
148 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
149 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
150 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
152 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
153 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
154 <input type="hidden" name="resbarcode" value="[% barcode %]" />
155 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
156 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
157 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
162 [% IF ( diffbranch ) %]
165 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
167 <div id="transfer-needed" class="dialog message">
168 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
171 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
172 <li>[% boraddress %]<br />
173 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
174 [% borcity %] [% borzip %]</li>
175 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
176 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
177 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
178 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
180 [% IF ( transfertodo ) %]
181 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
183 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
186 <form method="post" action="returns.pl" class="confirm">
187 <input type="submit" class="approve" value="Confirm" />
188 <input type="submit" value="Print slip and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
189 [% FOREACH inputloo IN inputloop %]
190 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
191 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
192 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
194 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
195 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
196 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
197 <input type="hidden" name="barcode" value="0" />
202 [% IF ( transfer ) %]
203 <!-- transfer: item with no reservation, must be returned to its home library -->
204 <div id="return1" class="dialog message">
205 <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% homebranch %]&op=slip'); return true;">Print slip</a> )</h3>
208 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
212 [% IF ( needstransfer ) %]
213 <!-- needstransfer -->
215 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
217 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
219 <form method="post" action="returns.pl" name="mainform" id="mainform">
221 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip'); return true;" />
223 <input type="submit" name="dotransfer" value="Yes" class="submit" />
224 <input type="submit" name="notransfer" value="No" class="submit" />
225 <input type="hidden" name="tobranch" value="[% homebranch %]" />
226 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
227 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
228 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
229 [% FOREACH inputloo IN inputloop %]
230 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
231 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
232 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
234 <input type="hidden" name="barcode" value="0" />
238 [% IF ( diffbranch ) %]
241 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
243 <h3>Item consigned:</h3>
245 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
251 <form method="post" action="returns.pl"><input type="submit" value="OK" />
252 [% FOREACH inputloo IN inputloop %]
253 [% UNLESS ( inputloo.first ) %]
254 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
255 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
256 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
259 <input type="hidden" name="barcode" value="0" />
264 <!-- case of simple return no issue or transfer but with a reservation -->
265 [% IF ( reserved ) %]
269 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
272 <div id="hold-found2" class="dialog message">
273 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
274 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
277 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
278 [% borsurname %], [% borfirstname %]
279 </a> ([% borcnum %])</li>
280 <li>[% boraddress %]<br />
281 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
282 [% borcity %] [% borzip %]</li>
283 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
284 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
285 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
286 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
288 [% IF ( transfertodo ) %]
289 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
291 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
293 <form method="post" action="returns.pl" class="confirm">
294 [% IF ( transfertodo ) %]
295 <input type="submit" class="approve" value="Confirm hold and transfer" />
296 <input type="submit" value="Print slip, transfer, and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
298 <input type="submit" class="approve" value="Confirm hold" />
299 <input type="submit" value="Print slip and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
301 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
302 [% FOREACH inputloo IN inputloop %]
303 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
304 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
305 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
306 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
307 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
308 <input type="hidden" name="resbarcode" value="[% barcode %]" />
309 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
310 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
311 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
317 [% IF ( errmsgloop ) %]
318 <div class="dialog alert">
319 [% FOREACH errmsgloo IN errmsgloop %]
320 [% IF ( errmsgloo.badbarcode ) %]
321 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
323 [% IF ( errmsgloo.ispermanent ) %]
324 <p class="problem">Please return to [% errmsgloo.msg %]</p>
326 [% IF ( errmsgloo.notissued ) %]
327 <p class="problem">Not checked out.</p>
329 [% IF ( errmsgloo.localuse) %]
330 <p class="problem">Local use recorded</p>
332 [% IF ( errmsgloo.waslost ) %]
333 <p class="problem">Item was lost, now found.</p>
335 [% IF ( errmsgloo.withdrawn ) %]
336 <p class="problem">Item is withdrawn.</p>
338 [% IF ( errmsgloo.debarred ) %]
339 <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>
343 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
347 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
353 <div id="exemptfines" class="dialog message" style="display:none;">
354 <p>Fines for returned items are forgiven.</p>
356 <div id="dropboxmode" class="dialog message" style="display:none;">
357 <p>Dropbox Mode. (Effective checkin date is [% dropboxdate %] ).</p>
361 <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
362 <div class="yui-u first">
364 <legend>Check In</legend>
365 <label for="barcode">Enter item barcode: </label>
366 [% IF ( exemptfine ) %]
367 <input name="barcode" id="barcode" size="14" class="focus alert"/>
368 [% ELSIF ( dropboxmode ) %]
369 <input name="barcode" id="barcode" size="14" class="focus alert"/>
371 <input name="barcode" id="barcode" size="14" class="focus"/>
373 <input type="submit" class="submit" value="Submit" />
374 [% FOREACH inputloo IN inputloop %]
375 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
376 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
377 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
384 <fieldset id="checkin_options">
385 <legend>Options</legend>
386 [% IF ( overduecharges ) %]
388 [% IF ( exemptfine ) %]
389 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
391 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
393 <label for="exemptcheck">Forgive overdue charges</label>
395 [% END %] <!-- overduecharges -->
397 [% IF ( dropboxmode ) %]
398 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
400 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
402 <label for="dropboxcheck">Dropbox mode</label>
409 [% IF ( returned ) %]
410 <div class="yui-g"> <table>
411 <tr><th>Item information</th><th>Patron information</th></tr>
413 <td>[% title |html %]</td>
416 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
418 ([% FOREACH flagloo IN flagloop %]
420 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
428 <h2>Checked-in items</h2>
430 <tr><th>Due date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Shelving location</th><th>Call number</th><th>Type</th> <th>Patron</th><th>Note</th></tr>
432 [% FOREACH riloo IN riloop %]
434 <td>[% IF ( riloo.duedate ) %]
435 [% IF ( riloo.return_overdue ) %]
436 <span class="overdue">[% riloo.duedate %] (overdue)</span>
437 [% ELSE %][% riloo.duedate %]
439 [% ELSE %]Not checked out
442 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
443 [% riloo.itemtitle |html %]</a></td>
444 <td>[% riloo.itemauthor %]</td>
445 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
446 <td>[% riloo.location %]</td>
447 <td>[% riloo.itemcallnumber %]</td>
448 <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
449 <td>[% IF ( riloo.duedate ) %]
450 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
451 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
453 [% ELSE %]Not checked out[% END %]</td>
454 <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
455 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
464 [% INCLUDE 'intranet-bottom.inc' %]