2 [% USE KohaBranchName %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Circulation › Check in [% title |html %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <script type="text/javascript">
10 var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
11 $("#barcode").focus();
13 $(document).ready(function () {
14 $("#exemptcheck").change(function () {
15 if (this.checked == true) {
16 $("#barcode").addClass("alert");
17 $("#exemptfines").show();
19 $("#barcode").removeClass("alert");
20 $("#exemptfines").hide();
22 $("#barcode").focus();
24 $("#dropboxcheck").change(function () {
25 if (this.checked == true) {
26 $("#barcode").addClass("alert");
27 $("#dropboxmode").show();
29 $("#barcode").removeClass("alert");
30 $("#dropboxmode").hide();
32 $("#barcode").focus();
34 [% IF(overduecharges) %] $("#barcode").focus(function () {
35 if (($("#exemptcheck").attr("checked") == true) || ($("#dropboxcheck").attr("checked") == true)) {
36 $("#barcode").addClass("alert");
38 $("#barcode").removeClass("alert");
41 $("#barcode").blur(function () {
42 $("#barcode").removeClass("alert");
49 <body id="circ_returns" class="circ">
50 <div id="header" class="gradient">
51 [% INCLUDE 'header.inc' %]
52 [% INCLUDE 'checkin-search.inc' %]
55 <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>
57 <div id="doc" class="yui-t7">
64 [% IF additional_materials %]
65 <div class="dialog message" id="materials">Note about the accompanying materials: <br />
66 [% additional_materials %]
70 [% IF ( collectionItemNeedsTransferred ) %]
71 <div id="rotating-collection" class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div>
74 <!-- Patron has fines -->
76 <div class="dialog alert">
77 <h3>Patron has outstanding fines of [% fines %].</h3>
78 <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
82 <!-- Patron has waiting holds -->
83 [% IF ( waiting_holds ) %]
84 <div id="awaiting-pickup" class="dialog message">
85 <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
86 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
91 [% IF ( wrongbranch ) %]
92 <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>
95 <!-- case of a mistake in transfer loop -->
96 [% 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 | $KohaBranchName %]</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>
97 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
98 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
99 [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
100 <li>[% wboraddress %][% IF ( wboraddress2 ) %]<br />
101 [% wboraddress2 %]<br />[% END %]
102 [% wborcity %] [% wborzip %]</li>
103 [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
104 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
107 <form method="post" action="returns.pl" class="confirm">
108 <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
109 <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
110 <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
111 <input type="submit" class="approve" value="Confirm" />
112 <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();" />
119 <!-- case of a reservation found, and display info -->
124 <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
127 <div id="hold-found1" class="dialog message">
128 <h3>Hold found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
129 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
132 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
133 <li>[% boraddress %]<br />
134 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
135 [% borcity %] [% borzip %]</li>
136 [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
137 [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
138 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
139 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
140 [% IF ( transfertodo ) %]
141 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
143 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
145 <form method="post" action="returns.pl" class="confirm">
146 <input type="submit" class="approve" value="Confirm" />
148 <input type="submit" value="Print and confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip'); this.form.submit();" />
149 [% FOREACH inputloo IN inputloop %]
150 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
151 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
152 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
154 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
155 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
156 <input type="hidden" name="resbarcode" value="[% barcode %]" />
157 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
158 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
159 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
164 [% IF ( diffbranch ) %]
167 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
169 <div id="transfer-needed" class="dialog message">
170 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
173 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
174 <li>[% boraddress %]<br />
175 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
176 [% borcity %] [% borzip %]</li>
177 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
178 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
179 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
180 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
182 [% IF ( transfertodo ) %]
183 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
185 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
188 <form method="post" action="returns.pl" class="confirm">
189 <input type="submit" class="approve" value="Confirm" />
190 <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();" />
191 [% FOREACH inputloo IN inputloop %]
192 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
193 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
194 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
196 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
197 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
198 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
199 <input type="hidden" name="barcode" value="0" />
204 [% IF ( transfer ) %]
205 <!-- transfer: item with no reservation, must be returned to its home library -->
206 <div id="return1" class="dialog message">
207 <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>
210 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
214 [% IF ( needstransfer ) %]
215 <!-- needstransfer -->
217 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
219 <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
221 <form method="post" action="returns.pl" name="mainform" id="mainform">
223 <input type="submit" name="dotransfer" value="Yes, Print slip" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip'); return true;" />
225 <input type="submit" name="dotransfer" value="Yes" class="submit" />
226 <input type="submit" name="notransfer" value="No" class="submit" />
227 <input type="hidden" name="tobranch" value="[% homebranch %]" />
228 <input type="hidden" name="transferitem" value="[% itemnumber %]" />
229 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
230 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
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="barcode" value="0" />
240 [% IF ( diffbranch ) %]
243 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
245 <h3>Item consigned:</h3>
247 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
253 <form method="post" action="returns.pl"><input type="submit" value="OK" />
254 [% FOREACH inputloo IN inputloop %]
255 [% UNLESS ( inputloo.first ) %]
256 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
257 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
258 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
261 <input type="hidden" name="barcode" value="0" />
266 <!-- case of simple return no issue or transfer but with a reservation -->
267 [% IF ( reserved ) %]
271 <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
274 <div id="hold-found2" class="dialog message">
275 <h3>Hold found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
276 [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
279 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
280 [% borsurname %], [% borfirstname %]
281 </a> ([% borcnum %])</li>
282 <li>[% boraddress %]<br />
283 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
284 [% borcity %] [% borzip %]</li>
285 [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
286 [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
287 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
288 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
290 [% IF ( transfertodo ) %]
291 <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
293 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
295 <form method="post" action="returns.pl" class="confirm">
296 [% IF ( transfertodo ) %]
297 <input type="submit" class="approve" value="Confirm hold and transfer" />
298 <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();" />
300 <input type="submit" class="approve" value="Confirm hold" />
301 <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();" />
303 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
304 [% FOREACH inputloo IN inputloop %]
305 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
306 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
307 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
308 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
309 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
310 <input type="hidden" name="resbarcode" value="[% barcode %]" />
311 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
312 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
313 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
319 [% IF ( errmsgloop ) %]
320 <div class="dialog alert">
321 [% FOREACH errmsgloo IN errmsgloop %]
322 [% IF ( errmsgloo.badbarcode ) %]
323 <p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
325 [% IF ( errmsgloo.ispermanent ) %]
326 <p class="problem">Please return to [% errmsgloo.msg %]</p>
328 [% IF ( errmsgloo.notissued ) %]
329 <p class="problem">Not checked out.</p>
331 [% IF ( errmsgloo.localuse) %]
332 <p class="problem">Local use recorded</p>
334 [% IF ( errmsgloo.waslost ) %]
335 <p class="problem">Item was lost, now found.</p>
337 [% IF ( errmsgloo.withdrawn ) %]
338 <p class="problem">Item is withdrawn.</p>
340 [% IF ( errmsgloo.debarred ) %]
341 <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>
345 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
349 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
355 <div id="exemptfines" class="dialog message" style="display:none;">
356 <p>Fines for returned items are forgiven.</p>
358 <div id="dropboxmode" class="dialog message" style="display:none;">
359 <p>Dropbox Mode. (Effective checkin date is [% dropboxdate %] ).</p>
363 <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
364 <div class="yui-u first">
366 <legend>Check In</legend>
367 <label for="barcode">Enter item barcode: </label>
368 [% IF ( exemptfine ) %]
369 <input name="barcode" id="barcode" size="14" class="focus alert"/>
370 [% ELSIF ( dropboxmode ) %]
371 <input name="barcode" id="barcode" size="14" class="focus alert"/>
373 <input name="barcode" id="barcode" size="14" class="focus"/>
375 <input type="submit" class="submit" value="Submit" />
376 [% FOREACH inputloo IN inputloop %]
377 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
378 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
379 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
386 <fieldset id="checkin_options">
387 <legend>Options</legend>
388 [% IF ( overduecharges ) %]
390 [% IF ( exemptfine ) %]
391 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
393 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
395 <label for="exemptcheck">Forgive overdue charges</label>
397 [% END %] <!-- overduecharges -->
399 [% IF ( dropboxmode ) %]
400 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
402 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
404 <label for="dropboxcheck">Dropbox mode</label>
411 [% IF ( returned ) %]
412 <div class="yui-g"> <table>
413 <tr><th>Item information</th><th>Patron information</th></tr>
415 <td>[% title |html %]</td>
418 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
420 ([% FOREACH flagloo IN flagloop %]
422 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
430 <h2>Checked-in items</h2>
432 <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>
434 [% FOREACH riloo IN riloop %]
436 <td>[% IF ( riloo.duedate ) %]
437 [% IF ( riloo.return_overdue ) %]
438 <span class="overdue">[% riloo.duedate %] (overdue)</span>
439 [% ELSE %][% riloo.duedate %]
441 [% ELSE %]Not checked out
444 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
445 [% riloo.itemtitle |html %]</a></td>
446 <td>[% riloo.itemauthor %]</td>
447 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
448 <td>[% riloo.location %]</td>
449 <td>[% riloo.itemcallnumber %]</td>
450 <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
451 <td>[% IF ( riloo.duedate ) %]
452 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
453 [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
455 [% ELSE %]Not checked out[% END %]</td>
456 <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
457 [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
466 [% INCLUDE 'intranet-bottom.inc' %]