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 ( collectionItemNeedsTransferred ) %]
58 <div class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div>
61 <!-- Patron has fines -->
63 <div class="dialog alert">
64 <h3>Patron has outstanding fines of [% fines %].</h3>
65 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
69 <!-- Patron has waiting holds -->
70 [% IF ( waiting_holds ) %]
71 <div class="dialog message">
72 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
73 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
78 [% IF ( wrongbranch ) %]
79 <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>
82 <!-- case of a mistake in transfer loop -->
83 [% IF ( WrongTransfer ) %]<div 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>
84 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
85 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
86 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
87 <li>[% wboraddress %][% IF ( wboraddress2 ) %]<br />
88 [% wboraddress2 %]<br />[% END %]
89 [% wborcity %] [% wborzip %]</li>
90 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
91 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
94 <form method="post" action="returns.pl" class="confirm">
95 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
96 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
97 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
98 <input type="submit" class="approve" value="Confirm" />
99 <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();" />
106 <!-- case of a reservation found, and display info -->
111 <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
114 <div class="dialog message">
115 <h3>Hold Found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
116 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
119 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
120 <li>[% boraddress %]<br />
121 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
122 [% borcity %] [% borzip %]</li>
123 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
124 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
125 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
126 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
127 [% IF ( transfertodo ) %]
128 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
130 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
132 <form method="post" action="returns.pl" class="confirm">
133 <input type="submit" class="approve" value="Confirm" />
135 <input type="submit" value="Print and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
136 [% FOREACH inputloo IN inputloop %]
137 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
138 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
139 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
141 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
142 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
143 <input type="hidden" name="resbarcode" value="[% barcode %]" />
144 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
145 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
146 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
151 [% IF ( diffbranch ) %]
154 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
156 <div class="dialog message">
157 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
160 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
161 <li>[% boraddress %]<br />
162 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
163 [% borcity %] [% borzip %]</li>
164 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
165 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
166 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
167 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
169 [% IF ( transfertodo ) %]
170 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
172 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
175 <form method="post" action="returns.pl" class="confirm">
176 <input type="submit" class="approve" value="Confirm" />
177 <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();" />
178 [% FOREACH inputloo IN inputloop %]
179 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
180 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
181 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
183 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
184 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
185 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
186 <input type="hidden" name="barcode" value="0" />
191 [% IF ( transfer ) %]
192 <!-- transfer: item with no reservation, must be returned to its homebranch -->
193 <div class="dialog message">
194 <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3>
197 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
201 [% IF ( needstransfer ) %]
202 <!-- needstransfer -->
204 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
206 <div class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
208 <form method="post" action="returns.pl" name="mainform" id="mainform">
209 <input type="submit" name="dotransfer" value="Yes" class="submit" />
210 <input type="submit" name="notransfer" value="No" class="submit" />
211 <input type="hidden" name="tobranch" value="[% homebranch %]" />
212 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
213 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
214 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
215 [% FOREACH inputloo IN inputloop %]
216 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
217 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
218 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
220 <input type="hidden" name="barcode" value="0" />
224 [% IF ( diffbranch ) %]
227 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
229 <h3>Item Consigned:</h3>
231 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
237 <form method="post" action="returns.pl"><input type="submit" value="OK" />
238 [% FOREACH inputloo IN inputloop %]
239 [% UNLESS ( inputloo.first ) %]
240 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
241 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
242 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
245 <input type="hidden" name="barcode" value="0" />
250 <!-- case of simple return no issue or transfer but with a reservation -->
251 [% IF ( reserved ) %]
255 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
258 <div class="dialog message">
259 <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
260 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
263 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
264 [% borsurname %], [% borfirstname %]
265 </a> ([% borcnum %])</li>
266 <li>[% boraddress %]<br />
267 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
268 [% borcity %] [% borzip %]</li>
269 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
270 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
271 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
272 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
274 [% IF ( transfertodo ) %]
275 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
277 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
279 <form method="post" action="returns.pl" class="confirm">
280 [% IF ( transfertodo ) %]
281 <input type="submit" class="approve" value="Confirm hold and Transfer" />
282 <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();" />
284 <input type="submit" class="approve" value="Confirm hold" />
285 <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();" />
287 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
288 [% FOREACH inputloo IN inputloop %]
289 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
290 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
291 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
292 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
293 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
294 <input type="hidden" name="resbarcode" value="[% barcode %]" />
295 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
296 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
297 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
303 [% IF ( errmsgloop ) %]
304 <div class="dialog alert">
305 [% FOREACH errmsgloo IN errmsgloop %]
306 [% IF ( errmsgloo.badbarcode ) %]
307 <p class="problem">No Item with barcode: [% errmsgloo.msg %]</p>
309 [% IF ( errmsgloo.ispermanent ) %]
310 <p class="problem">Please return to [% errmsgloo.msg %]</p>
312 [% IF ( errmsgloo.notissued ) %]
313 <p class="problem">Not checked out.</p>
315 [% IF ( errmsgloo.localuse) %]
316 <p class="problem">Local Use recorded</p>
318 [% IF ( errmsgloo.waslost ) %]
319 <p class="problem">Item was lost, now found.</p>
321 [% IF ( errmsgloo.withdrawn ) %]
322 <p class="problem">Item is withdrawn.</p>
324 [% IF ( errmsgloo.debarred ) %]
325 <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>
329 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
333 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
339 <div id="exemptfines" class="dialog message" style="display:none;">
340 <p>Fines for returned items are forgiven.</p>
342 <div id="dropboxmode" class="dialog message" style="display:none;">
343 <p>Dropbox Mode. (Effective checkin date is [% dropboxdate %] ).</p>
347 <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
348 <div class="yui-u first">
350 <legend>Check In</legend>
351 <label for="barcode">Enter item barcode: </label>
352 [% IF ( exemptfine ) %]
353 <input name="barcode" id="barcode" size="14" class="focus alert"/>
354 [% ELSIF ( dropboxmode ) %]
355 <input name="barcode" id="barcode" size="14" class="focus alert"/>
357 <input name="barcode" id="barcode" size="14" class="focus"/>
359 <input type="submit" class="submit" value="Submit" />
360 [% FOREACH inputloo IN inputloop %]
361 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
362 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
363 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
370 <fieldset id="checkin_options">
371 <legend>Options</legend>
374 [% IF ( overduecharges ) %]
376 [% IF ( exemptfine ) %]
377 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
379 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
381 <label for="exemptcheck">Forgive overdue charges</label>
383 [% END %] <!-- overduecharges -->
385 [% IF ( dropboxmode ) %]
386 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
388 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
390 <label for="dropboxcheck">Dropbox mode</label>
398 [% IF ( returned ) %]
399 <div class="yui-g"> <table>
400 <tr><th>Item Information</th><th>Patron Information</th></tr>
402 <td>[% title |html %]</td>
405 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
407 ([% FOREACH flagloo IN flagloop %]
409 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
417 <h2>Checked-In items</h2>
419 <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>
421 [% FOREACH riloo IN riloop %]
423 <td>[% IF ( riloo.duedate ) %]
424 [% IF ( riloo.return_overdue ) %]
425 <span class="overdue">[% riloo.duedate %] (overdue)</span>
426 [% ELSE %][% riloo.duedate %]
428 [% ELSE %]Not checked out
431 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
432 [% riloo.itemtitle |html %]</a></td>
433 <td>[% riloo.itemauthor %]</td>
434 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
435 <td>[% riloo.location %]</td>
436 <td>[% riloo.itemcallnumber %]</td>
437 <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
438 <td>[% IF ( riloo.duedate ) %]
439 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
440 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
442 [% ELSE %]Not checked out[% END %]</td>
443 <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
444 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
453 [% INCLUDE 'intranet-bottom.inc' %]