1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Circulation › Check In [% title |html %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
7 var newin=window.open(link,'popup','width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
9 $(document).ready(function() {
10 $("#exemptcheck").change(function(){
11 if(this.checked == true) {
12 $("#barcode").addClass("alert");
13 $("#exemptfines").show();
15 $("#barcode").removeClass("alert");
16 $("#exemptfines").hide();
18 $("#barcode").focus();
20 $("#dropboxcheck").change(function(){
21 if (this.checked == true) {
22 $("#barcode").addClass("alert");
23 $("#dropboxmode").show();
25 $("#barcode").removeClass("alert");
26 $("#dropboxmode").hide();
28 $("#barcode").focus();
30 [% IF ( overduecharges ) %]$("#barcode").focus(function(){
31 if(($("#exemptcheck").attr("checked") == true)||($("#dropboxcheck").attr("checked") == true)){
32 $("#barcode").addClass("alert");
34 $("#barcode").removeClass("alert");
37 $("#barcode").blur(function(){
38 $("#barcode").removeClass("alert");
45 [% INCLUDE 'header.inc' %]
46 [% INCLUDE 'checkin-search.inc' %]
48 <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>
50 <div id="doc" class="yui-t7">
57 [% IF additional_materials %]
58 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
59 [% additional_materials %]
63 [% IF ( collectionItemNeedsTransferred ) %]
64 <div id="rotating-collection" class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div>
67 <!-- Patron has fines -->
69 <div class="dialog alert">
70 <h3>Patron has outstanding fines of [% fines %].</h3>
71 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
75 <!-- Patron has waiting holds -->
76 [% IF ( waiting_holds ) %]
77 <div id="awaiting-pickup" class="dialog message">
78 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
79 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
84 [% IF ( wrongbranch ) %]
85 <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>
88 <!-- case of a mistake in transfer loop -->
89 [% 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 %] or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel Transfer</a></h3>
90 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
91 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
92 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
93 <li>[% wboraddress %][% IF ( wboraddress2 ) %]<br />
94 [% wboraddress2 %]<br />[% END %]
95 [% wborcity %] [% wborzip %]</li>
96 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
97 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
100 <form method="post" action="returns.pl" class="confirm">
101 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
102 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
103 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
104 <input type="submit" class="approve" value="Confirm" />
105 <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();" />
112 <!-- case of a reservation found, and display info -->
117 <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
120 <div id="hold-found1" class="dialog message">
121 <h3>Hold Found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
122 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
125 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
126 <li>[% boraddress %]<br />
127 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
128 [% borcity %] [% borzip %]</li>
129 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
130 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
131 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
132 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
133 [% IF ( transfertodo ) %]
134 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
136 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
138 <form method="post" action="returns.pl" class="confirm">
139 <input type="submit" class="approve" value="Confirm" />
141 <input type="submit" value="Print and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
142 [% FOREACH inputloo IN inputloop %]
143 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
144 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
145 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
147 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
148 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
149 <input type="hidden" name="resbarcode" value="[% barcode %]" />
150 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
151 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
152 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
157 [% IF ( diffbranch ) %]
160 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
162 <div id="transfer-needed" class="dialog message">
163 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
166 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
167 <li>[% boraddress %]<br />
168 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
169 [% borcity %] [% borzip %]</li>
170 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
171 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
172 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
173 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
175 [% IF ( transfertodo ) %]
176 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
178 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
181 <form method="post" action="returns.pl" class="confirm">
182 <input type="submit" class="approve" value="Confirm" />
183 <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();" />
184 [% FOREACH inputloo IN inputloop %]
185 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
186 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
187 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
189 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
190 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
191 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
192 <input type="hidden" name="barcode" value="0" />
197 [% IF ( transfer ) %]
198 <!-- transfer: item with no reservation, must be returned to its homebranch -->
199 <div id="return1" class="dialog message">
200 <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3>
203 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
207 [% IF ( needstransfer ) %]
208 <!-- needstransfer -->
210 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
212 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
214 <form method="post" action="returns.pl" name="mainform" id="mainform">
215 <input type="submit" name="dotransfer" value="Yes" class="submit" />
216 <input type="submit" name="notransfer" value="No" class="submit" />
217 <input type="hidden" name="tobranch" value="[% homebranch %]" />
218 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
219 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
220 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
221 [% FOREACH inputloo IN inputloop %]
222 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
223 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
224 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
226 <input type="hidden" name="barcode" value="0" />
230 [% IF ( diffbranch ) %]
233 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
235 <h3>Item Consigned:</h3>
237 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
243 <form method="post" action="returns.pl"><input type="submit" value="OK" />
244 [% FOREACH inputloo IN inputloop %]
245 [% UNLESS ( inputloo.first ) %]
246 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
247 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
248 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
251 <input type="hidden" name="barcode" value="0" />
256 <!-- case of simple return no issue or transfer but with a reservation -->
257 [% IF ( reserved ) %]
261 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
264 <div id="hold-found2" class="dialog message">
265 <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
266 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
269 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
270 [% borsurname %], [% borfirstname %]
271 </a> ([% borcnum %])</li>
272 <li>[% boraddress %]<br />
273 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
274 [% borcity %] [% borzip %]</li>
275 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
276 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
277 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
278 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
280 [% IF ( transfertodo ) %]
281 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
283 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
285 <form method="post" action="returns.pl" class="confirm">
286 [% IF ( transfertodo ) %]
287 <input type="submit" class="approve" value="Confirm hold and Transfer" />
288 <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();" />
290 <input type="submit" class="approve" value="Confirm hold" />
291 <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();" />
293 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
294 [% FOREACH inputloo IN inputloop %]
295 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
296 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
297 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
298 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
299 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
300 <input type="hidden" name="resbarcode" value="[% barcode %]" />
301 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
302 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
303 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
309 [% IF ( errmsgloop ) %]
310 <div class="dialog alert">
311 [% FOREACH errmsgloo IN errmsgloop %]
312 [% IF ( errmsgloo.badbarcode ) %]
313 <p class="problem">No Item with barcode: [% errmsgloo.msg %]</p>
315 [% IF ( errmsgloo.ispermanent ) %]
316 <p class="problem">Please return to [% errmsgloo.msg %]</p>
318 [% IF ( errmsgloo.notissued ) %]
319 <p class="problem">Not checked out.</p>
321 [% IF ( errmsgloo.localuse) %]
322 <p class="problem">Local Use recorded</p>
324 [% IF ( errmsgloo.waslost ) %]
325 <p class="problem">Item was lost, now found.</p>
327 [% IF ( errmsgloo.withdrawn ) %]
328 <p class="problem">Item is withdrawn.</p>
330 [% IF ( errmsgloo.debarred ) %]
331 <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 %] </p>
335 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
339 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
345 <div id="exemptfines" class="dialog message" style="display:none;">
346 <p>Fines for returned items are forgiven.</p>
348 <div id="dropboxmode" class="dialog message" style="display:none;">
349 <p>Dropbox Mode. (Effective checkin date is [% dropboxdate %] ).</p>
353 <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
354 <div class="yui-u first">
356 <legend>Check In</legend>
357 <label for="barcode">Enter item barcode: </label>
358 [% IF ( exemptfine ) %]
359 <input name="barcode" id="barcode" size="14" class="focus alert"/>
360 [% ELSIF ( dropboxmode ) %]
361 <input name="barcode" id="barcode" size="14" class="focus alert"/>
363 <input name="barcode" id="barcode" size="14" class="focus"/>
365 <input type="submit" class="submit" value="Submit" />
366 [% FOREACH inputloo IN inputloop %]
367 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
368 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
369 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
376 <fieldset id="checkin_options">
377 <legend>Options</legend>
380 [% IF ( overduecharges ) %]
382 [% IF ( exemptfine ) %]
383 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
385 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
387 <label for="exemptcheck">Forgive overdue charges</label>
389 [% END %] <!-- overduecharges -->
391 [% IF ( dropboxmode ) %]
392 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
394 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
396 <label for="dropboxcheck">Dropbox mode</label>
404 [% IF ( returned ) %]
405 <div class="yui-g"> <table>
406 <tr><th>Item Information</th><th>Patron Information</th></tr>
408 <td>[% title |html %]</td>
411 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
413 ([% FOREACH flagloo IN flagloop %]
415 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
423 <h2>Checked-In items</h2>
425 <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>
427 [% FOREACH riloo IN riloop %]
429 <td>[% IF ( riloo.duedate ) %]
430 [% IF ( riloo.return_overdue ) %]
431 <span class="overdue">[% riloo.duedate %] (overdue)</span>
432 [% ELSE %][% riloo.duedate %]
434 [% ELSE %]Not checked out
437 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
438 [% riloo.itemtitle |html %]</a></td>
439 <td>[% riloo.itemauthor %]</td>
440 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
441 <td>[% riloo.location %]</td>
442 <td>[% riloo.itemcallnumber %]</td>
443 <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
444 <td>[% IF ( riloo.duedate ) %]
445 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
446 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
448 [% ELSE %]Not checked out[% END %]</td>
449 <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
450 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
459 [% INCLUDE 'intranet-bottom.inc' %]