1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Check In <!-- TMPL_VAR Name="title" --></title>
5 var newin=window.open(link,'popup','width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
8 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
11 <!-- TMPL_INCLUDE NAME="header.inc" -->
13 <!-- TMPL_INCLUDE NAME="checkin-search.inc" -->
15 <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>
17 <div id="doc" class="yui-t7">
23 <!-- TMPL_IF NAME="wrongbranch" -->
24 <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>
27 <!-- case of a mistake in transfer loop -->
28 <!-- 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>
29 <!-- TMPL_IF Name="wborcnum"--><h5>Hold for:</h5>
30 <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
31 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
32 <li><!-- TMPL_VAR Name="wboraddress" --><!-- TMPL_IF NAME="wboraddress2" --><br />
33 <!-- TMPL_VAR NAME="wboraddress2" --><br /><!-- /TMPL_IF -->
34 <!-- TMPL_VAR Name="wborcity" --> <!-- TMPL_VAR NAME="wborzip" --></li>
35 <!-- TMPL_IF NAME="wborphone" --><li><!-- TMPL_VAR Name="wborphone" --></li><!-- /TMPL_IF -->
36 <!-- TMPL_IF NAME="wboremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="wboremail" -->"><!-- TMPL_VAR NAME="wboremail" --></a></li><!-- /TMPL_IF -->
39 <form method="post" action="returns.pl" class="confirm">
40 <input type="hidden" name="WT-itemNumber" value="<!-- TMPL_VAR Name="WrongTransferItem" -->" />
41 <input type="hidden" name="WT-waitingAt" value="<!-- TMPL_VAR Name="TransferWaitingAt" -->" />
42 <input type="hidden" name="WT-From" value="<!-- TMPL_VAR Name="wtransfertFrom" -->" />
43 <input type="submit" class="approve" value="Confirm" />
44 <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();" />
46 <!-- /TMPL_IF --></div>
49 <!-- TMPL_IF Name="found" -->
51 <!-- case of a reservation found, and display info -->
52 <!-- TMPL_IF Name="waiting" -->
54 <div class="dialog message">
55 <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>
58 <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>
59 <li><!-- TMPL_VAR Name="boraddress" --><br />
60 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
61 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
62 <!-- TMPL_IF NAME="borphone" --><li> <!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
63 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF --></ul>
65 <form method="post" action="returns.pl" class="confirm">
66 <input type="submit" class="approve" value="Confirm" />
68 <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();" />
69 <!-- TMPL_LOOP Name="inputloop" -->
70 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
71 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
72 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
74 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
75 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
76 <input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
77 <input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
82 <!-- TMPL_IF Name="diffbranch" -->
84 <div class="dialog message">
85 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
88 <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>
89 <li><!-- TMPL_VAR Name="boraddress" --><br />
90 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
91 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
92 <!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
93 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
95 <!-- TMPL_IF name="transfertodo" -->
96 <h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
99 <form method="post" action="returns.pl" class="confirm">
100 <input type="submit" class="approve" value="Confirm" />
101 <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();" />
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="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
108 <input type="hidden" name="barcode" value="0" />
113 <!-- case of a return of item, but with no reservation after, if the item must be returned to its homebranch -->
114 <!-- TMPL_IF Name="transfer" -->
116 <div class="dialog message">
117 <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 -->
119 <!-- TMPL_IF Name="needstransfer" -->
121 <div class="dialog message"><h3> This item needs to be transfered to <!-- TMPL_VAR Name="homebranch" --></h3>
122 <center>Transfer Now?<br />
123 <form method="post" action="returns.pl" name="mainform" id="mainform">
124 <input type="submit" name="dotransfer" value="Yes" class="submit" />
125 <input type="submit" name="notransfer" value="No" class="submit" />
126 <input type="hidden" name="tobranch" value="<!-- TMPL_VAR NAME="homebranch" -->">
127 <input type="hidden" name="transferitem" value="<!-- TMPL_VAR NAME="itemnumber" -->">
128 <!--TMPL_LOOP Name="inputloop" -->
129 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
130 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
131 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
133 <input type="hidden" name="barcode" value="0" />
134 </form> </center> </div>
137 <!-- TMPL_IF Name="diffbranch" -->
139 <h3>Item Consigned:</h3>
141 <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></caption>
144 <td><!-- TMPL_VAR Name="name" --></td>
147 <form method="post" action="returns.pl"><input type="submit" value="OK" />
148 <!-- TMPL_LOOP Name="inputloop" -->
149 <!-- TMPL_UNLESS Name="first" -->
150 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
151 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
152 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
153 <!-- /TMPL_UNLESS -->
155 <input type="hidden" name="barcode" value="0" />
161 <!-- case of simple return no issue or transfer but with a reservation -->
162 <!-- TMPL_IF Name="reserved" -->
164 <div class="dialog message">
165 <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
168 <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
169 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
170 </a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
171 <li><!-- TMPL_VAR Name="boraddress" --><br />
172 <!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
173 <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
174 <!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
175 <!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
177 <!-- TMPL_IF name="transfertodo" -->
178 <h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
180 <h4><strong>Hold at</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
182 <form method="post" action="returns.pl" class="confirm">
183 <!-- TMPL_IF name="transfertodo" -->
184 <input type="submit" class="approve" value="Confirm hold and transfer" />
185 <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();" />
187 <input type="submit" class="approve" value="Confirm hold" />
189 <!-- TMPL_LOOP Name="inputloop" -->
190 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
191 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
192 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" /><!-- /TMPL_LOOP -->
193 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
194 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
195 <input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
196 <input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
203 <!-- TMPL_IF NAME="errmsgloop" -->
204 <div class="dialog message">
205 <!-- TMPL_LOOP Name="errmsgloop" -->
206 <!-- TMPL_IF Name="badbarcode" -->
207 <p class="problem">No Item with barcode: <!-- TMPL_VAR Name="msg" --></p>
209 <!-- TMPL_IF Name="ispermanent" -->
210 <p class="problem">Please return to <!-- TMPL_VAR Name="msg" --></p>
212 <!-- TMPL_IF Name="notissued" -->
213 <p class="problem">Not checked out.</p>
215 <!-- TMPL_IF Name="waslost" -->
216 <p class="problem">Item was lost, now found.</p>
218 <!-- TMPL_IF Name="withdrawn" -->
219 <p class="problem">Item Cancelled</p>
226 <div id="exemptfines" class="dialog message" style="display:none;">
227 <p>Fines for returned items are forgiven.</p>
229 <div id="dropboxmode" class="dialog message" style="display:none;">
230 <p>Dropbox Mode. (Effective checkin date is <!-- TMPL_VAR NAME="yesterdaysdate" --> ).</p>
232 <div class="details">
233 <form method="post" action="/cgi-bin/koha/circ/returns.pl" >
234 <fieldset><legend>Check In</legend>
235 <label for="barcode">Enter item barcode: </label>
237 <!-- TMPL_IF NAME="overduecharges" -->
238 <input name="barcode" id="barcode" size="14" class="focus" onfocus="if( (this.form.exemptcheck.checked == true) || (this.form.dropboxcheck.checked == true ) ) {this.className='alert'} else {this.className='focus'};" onblur="this.className='unfocus';" />
240 <input name="barcode" id="barcode" size="14" class="focus" />
243 <input type="submit" class="submit" value="Submit" />
244 <!-- TMPL_LOOP Name="inputloop" -->
245 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
246 <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
247 <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
249 <fieldset id="checkin_options">
250 <legend>Options</legend>
251 <!-- TMPL_IF NAME="overduecharges" -->
253 <label for="exemptcheck">Forgive Overdue charges on this item</label>
254 <!-- TMPL_IF NAME="exemptfine" -->
255 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('exemptfines').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('exemptfines').style.display='none'; } this.form.barcode.focus(); return false;" />
257 <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('exemptfines').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('exemptfines').style.display='none'; } this.form.barcode.focus(); return false;" />
259 <br /><!-- (fixme) -->
260 <label for="dropboxcheck">Dropbox mode </label>
261 <!-- TMPL_IF NAME="dropboxmode" -->
262 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('dropboxmode').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('dropboxmode').style.display='none'; } this.form.barcode.focus(); return false;" />
264 <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('dropboxmode').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('dropboxmode').style.display='none'; } this.form.barcode.focus(); return false;" />
267 <!-- /TMPL_IF --> <!-- overduecharges -->
274 <!-- TMPL_IF Name="returned" -->
275 <div class="yui-g"> <table>
276 <tr><th>Item Information</th><th>Patron Information</th></tr>
278 <td><!-- TMPL_VAR Name="title" --></td>
281 <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" -->)
282 <!-- TMPL_IF Name="flagset" -->
283 (<!-- TMPL_LOOP Name="flagloop" -->
284 <!-- TMPL_VAR Name="flag" -->,
285 <!-- /TMPL_LOOP -->)<!-- /TMPL_IF -->
290 <!-- TMPL_IF Name="riloop" -->
291 <h2>Checked-In items</h2>
293 <tr><th>Due Date</th> <th>Title</th> <th>Author</th> <th>Barcode</th> <th>Type</th> <th>Patron</th></tr>
295 <!-- TMPL_LOOP Name="riloop" -->
297 <td><!-- TMPL_IF Name="duedate" --><!-- TMPL_VAR NAME="duedate" --><!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
298 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="itembiblionumber" -->">
299 <!-- TMPL_VAR Name="itemtitle" --></a></td>
300 <td><!-- TMPL_VAR Name="itemauthor" --></td>
301 <td><!-- TMPL_VAR Name="barcode" --></td>
302 <td><!-- TMPL_VAR Name="itemtype" --> <!-- TMPL_VAR Name="ccode" --></td>
303 <td><!-- TMPL_IF Name="duedate" -->
304 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->">
305 <!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
307 <!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
315 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->