1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Check In <!-- TMPL_VAR Name="title" --></title>
3 <!-- TMPL_INCLUDE NAME="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 <!-- TMPL_IF NAME="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 <!-- TMPL_INCLUDE NAME="header.inc" -->
46 <!-- TMPL_INCLUDE NAME="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">
56 <!-- TMPL_IF NAME="wrongbranch" -->
57 <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>
60 <!-- case of a mistake in transfer loop -->
61 <!-- TMPL_IF Name="WrongTransfer" --><div class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a> to <!-- TMPL_VAR Name="TransferWaitingAt" --></h3>
62 <!-- TMPL_IF Name="wborcnum"--><h5>Hold for:</h5>
63 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
64 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
65 <li><!-- TMPL_VAR Name="wboraddress" --><!-- TMPL_IF NAME="wboraddress2" --><br />
66 <!-- TMPL_VAR NAME="wboraddress2" --><br /><!-- /TMPL_IF -->
67 <!-- TMPL_VAR Name="wborcity" --> <!-- TMPL_VAR NAME="wborzip" --></li>
68 <!-- TMPL_IF NAME="wborphone" --><li><!-- TMPL_VAR Name="wborphone" --></li><!-- /TMPL_IF -->
69 <!-- TMPL_IF NAME="wboremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="wboremail" -->"><!-- TMPL_VAR NAME="wboremail" --></a></li><!-- /TMPL_IF -->
72 <form method="post" action="returns.pl" class="confirm">
73 <input type="hidden" name="WT-itemNumber" value="<!-- TMPL_VAR Name="WrongTransferItem" -->" />
74 <input type="hidden" name="WT-waitingAt" value="<!-- TMPL_VAR Name="TransferWaitingAt" -->" />
75 <input type="hidden" name="WT-From" value="<!-- TMPL_VAR Name="wtransfertFrom" -->" />
76 <input type="submit" class="approve" value="Confirm" />
77 <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
79 <!-- /TMPL_IF --></div>
82 <!-- TMPL_IF Name="found" -->
84 <!-- case of a reservation found, and display info -->
85 <!-- TMPL_IF Name="waiting" -->
87 <div class="dialog message">
88 <h3>Hold Found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
91 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
92 <li><!-- TMPL_VAR Name="boraddress" --><br />
93 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
94 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
95 <!-- TMPL_IF NAME="borphone" --><li> <!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
96 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF --></ul>
98 <form method="post" action="returns.pl" class="confirm">
99 <input type="submit" class="approve" value="Confirm" />
101 <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
102 <!-- TMPL_LOOP Name="inputloop" -->
103 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
104 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
105 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
107 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
108 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
109 <input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
110 <input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
115 <!-- TMPL_IF Name="diffbranch" -->
117 <div class="dialog message">
118 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
121 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
122 <li><!-- TMPL_VAR Name="boraddress" --><br />
123 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
124 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
125 <!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
126 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
128 <!-- TMPL_IF name="transfertodo" -->
129 <h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
132 <form method="post" action="returns.pl" class="confirm">
133 <input type="submit" class="approve" value="Confirm" />
134 <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
135 <!-- TMPL_LOOP Name="inputloop" -->
136 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
137 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
138 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
140 <input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
141 <input type="hidden" name="barcode" value="0" />
146 <!-- case of a return of item, but with no reservation after, if the item must be returned to its homebranch -->
147 <!-- TMPL_IF Name="transfer" -->
149 <div class="dialog message">
150 <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a> to <!-- TMPL_VAR Name="homebranch" --></h3></div><!-- /TMPL_IF -->
152 <!-- TMPL_IF Name="needstransfer" -->
154 <div class="dialog message"><h3> This item needs to be transfered to <!-- TMPL_VAR Name="homebranch" --></h3>
155 <center>Transfer Now?<br />
156 <form method="post" action="returns.pl" name="mainform" id="mainform">
157 <input type="submit" name="dotransfer" value="Yes" class="submit" />
158 <input type="submit" name="notransfer" value="No" class="submit" />
159 <input type="hidden" name="tobranch" value="<!-- TMPL_VAR NAME="homebranch" -->">
160 <input type="hidden" name="transferitem" value="<!-- TMPL_VAR NAME="itemnumber" -->">
161 <!--TMPL_LOOP Name="inputloop" -->
162 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
163 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
164 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
166 <input type="hidden" name="barcode" value="0" />
167 </form> </center> </div>
170 <!-- TMPL_IF Name="diffbranch" -->
172 <h3>Item Consigned:</h3>
174 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></caption>
177 <td><!-- TMPL_VAR Name="name" --></td>
180 <form method="post" action="returns.pl"><input type="submit" value="OK" />
181 <!-- TMPL_LOOP Name="inputloop" -->
182 <!-- TMPL_UNLESS Name="first" -->
183 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
184 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
185 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
186 <!-- /TMPL_UNLESS -->
188 <input type="hidden" name="barcode" value="0" />
193 <!-- case of simple return no issue or transfer but with a reservation -->
194 <!-- TMPL_IF Name="reserved" -->
196 <div class="dialog message">
197 <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
200 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
201 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
202 </a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
203 <li><!-- TMPL_VAR Name="boraddress" --><br />
204 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
205 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
206 <!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
207 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
209 <!-- TMPL_IF name="transfertodo" -->
210 <h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
212 <h4><strong>Hold at</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
214 <form method="post" action="returns.pl" class="confirm">
215 <!-- TMPL_IF name="transfertodo" -->
216 <input type="submit" class="approve" value="Confirm hold and transfer" />
217 <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&op=slip'); this.form.submit();" />
219 <input type="submit" class="approve" value="Confirm hold" />
221 <!-- TMPL_LOOP Name="inputloop" -->
222 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
223 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
224 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" /><!-- /TMPL_LOOP -->
225 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
226 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
227 <input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
228 <input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
235 <!-- TMPL_IF NAME="errmsgloop" -->
236 <div class="dialog message">
237 <!-- TMPL_LOOP Name="errmsgloop" -->
238 <!-- TMPL_IF Name="badbarcode" -->
239 <p class="problem">No Item with barcode: <!-- TMPL_VAR Name="msg" --></p>
241 <!-- TMPL_IF Name="ispermanent" -->
242 <p class="problem">Please return to <!-- TMPL_VAR Name="msg" --></p>
244 <!-- TMPL_IF Name="notissued" -->
245 <p class="problem">Not checked out.</p>
247 <!-- TMPL_IF Name="waslost" -->
248 <p class="problem">Item was lost, now found.</p>
250 <!-- TMPL_IF Name="withdrawn" -->
251 <p class="problem">Item is withdrawn.</p>
258 <div id="exemptfines" class="dialog message" style="display:none;">
259 <p>Fines for returned items are forgiven.</p>
261 <div id="dropboxmode" class="dialog message" style="display:none;">
262 <p>Dropbox Mode. (Effective checkin date is <!-- TMPL_VAR NAME="dropboxdate" --> ).</p>
266 <form method="post" action="/cgi-bin/koha/circ/returns.pl" >
267 <!-- TMPL_IF NAME="overduecharges" --><div class="yui-u first"><!-- /TMPL_IF -->
269 <legend>Check In</legend>
270 <label for="barcode">Enter item barcode: </label>
271 <input name="barcode" id="barcode" size="14" class="focus"/>
272 <input type="submit" class="submit" value="Submit" />
273 <!-- TMPL_LOOP Name="inputloop" -->
274 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
275 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
276 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
281 <!-- TMPL_IF NAME="overduecharges" -->
284 <fieldset id="checkin_options">
285 <legend>Options</legend>
288 <!-- TMPL_IF NAME="exemptfine" -->
289 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
291 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
292 <!-- /TMPL_IF --><label for="exemptcheck">Forgive overdue charges</label></li>
296 <!-- TMPL_IF NAME="dropboxmode" -->
297 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
299 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
300 <!-- /TMPL_IF --> <label for="dropboxcheck">Dropbox mode </label></li> </ul>
304 <!-- /TMPL_IF --> <!-- overduecharges -->
308 <!-- TMPL_IF Name="returned" -->
309 <div class="yui-g"> <table>
310 <tr><th>Item Information</th><th>Patron Information</th></tr>
312 <td><!-- TMPL_VAR Name="title" --></td>
315 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="riborrowernumber" -->"><!-- TMPL_VAR Name="riborsurname" -->, <!-- TMPL_VAR Name="ribortitle" --> <!-- TMPL_VAR Name="riborfirstname" --></a> (<!-- TMPL_VAR Name="riborcnum" -->)
316 <!-- TMPL_IF Name="flagset" -->
317 (<!-- TMPL_LOOP Name="flagloop" -->
318 <!-- TMPL_VAR Name="flag" -->,
319 <!-- /TMPL_LOOP -->)<!-- /TMPL_IF -->
324 <!-- TMPL_IF Name="riloop" -->
325 <h2>Checked-In items</h2>
327 <tr><th>Due Date</th> <th>Title</th> <th>Author</th> <th>Barcode</th> <th>Type</th> <th>Patron</th></tr>
329 <!-- TMPL_LOOP Name="riloop" -->
331 <td><!-- TMPL_IF Name="duedate" --><!-- TMPL_VAR NAME="duedate" --><!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
332 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="itembiblionumber" -->">
333 <!-- TMPL_VAR Name="itemtitle" --></a></td>
334 <td><!-- TMPL_VAR Name="itemauthor" --></td>
335 <td><!-- TMPL_VAR Name="barcode" --></td>
336 <td><!-- TMPL_VAR Name="itemtype" --> <!-- TMPL_VAR Name="ccode" --></td>
337 <td><!-- TMPL_IF Name="duedate" -->
338 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->">
339 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
341 <!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
349 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->