1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation
3 <!-- TMPL_IF NAME="borrowernumber" -->
4 › Checking out to <!-- TMPL_VAR name="surname" -->, <!-- TMPL_VAR name="firstname" -->
5 (<!-- TMPL_VAR NAME="cardnumber" -->)
6 <!-- /TMPL_IF --></title>
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <script type="text/JavaScript" language="JavaScript">
10 $(document).ready(function() {
11 $('#patronlists').tabs();
13 <!-- TMPL_IF NAME="patronimages" -->$(window).load(function() {
14 verify_patron_images();
18 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
22 <!-- TMPL_INCLUDE NAME="header.inc" -->
23 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
25 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›<!-- TMPL_IF NAME="borrowernumber" --> <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- TMPL_ELSE --> <strong>Checkouts</strong><!-- /TMPL_IF --></div>
27 <!-- TMPL_IF NAME="CGIselectborrower" -->
28 <div id="doc" class="yui-t7">
34 <div id="doc3" class="yui-t2">
41 <!-- TMPL_IF NAME="borrowernumber" -->
42 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
45 <!-- INITIAL BLOC : PARAMETERS & BORROWER INFO -->
46 <!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
47 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
50 <div id="circ_needsconfirmation" class="dialog alert">
51 <h3>Please Confirm Checkout</h3>
54 <!-- TMPL_IF NAME="DEBT" -->
55 <li>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></li>
58 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
59 <li>Item is currently checked out to this patron. Renew?</li>
62 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
63 <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
66 <!-- TMPL_IF NAME="RESERVED" -->
67 <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
70 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
71 <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) checked out to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Check in and check out?</li>
74 <!-- TMPL_IF NAME="TOO_MANY" -->
75 <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
79 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
81 <!-- TMPL_IF NAME="RESERVED" -->
83 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
84 <label for="cancelreserve">Cancel Reserve</label>
88 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
90 <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
91 <label for="cancelreserve">Cancel Reserve</label>
95 <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
96 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
97 <input type="hidden" name="issueconfirmed" value="1" />
98 <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
99 <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
100 <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
101 <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
102 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
103 <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
106 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
107 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
108 <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
113 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
115 <!-- TMPL_IF NAME="issued" -->
116 <p>Item Checked out</p>
119 <!-- TMPL_IF NAME="message" -->
120 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
122 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
127 <!-- TMPL_IF NAME="CGIselectborrower" -->
128 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
130 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
131 <fieldset id="circ_circulation_selectborrower" class="brief">
132 <legend>Patron selection</legend>
134 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
135 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
138 <label for="borrowernumber">Select a patron: </label>
139 <!-- TMPL_VAR name="CGIselectborrower" -->
142 <p><input type="submit" value="Select" /></p>
145 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
147 <!-- BARCODE ENTRY -->
149 <!-- TMPL_IF NAME="borrowernumber" -->
151 <!-- TMPL_UNLESS NAME="noissues" -->
152 <!-- TMPL_IF NAME="flagged" -->
153 <div class="yui-u first">
155 <div><!-- /TMPL_IF --><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
156 <fieldset id="circ_circulation_issue">
157 <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
158 <div class="hint">Enter item barcode:</div>
160 <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> <input type="submit" value="Check Out" />
161 <!-- RESULT OF ISSUING REQUEST -->
162 <!-- TMPL_IF NAME="IMPOSSIBLE" -->
164 <!-- TMPL_IF NAME="INVALID_DATE" -->
165 <li><span class="problem">The due date is invalid</span></li>
167 <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
168 <li><span class="problem">The barcode was not found</span></li>
171 <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
172 <li><span class="problem">Item not for loan</span></li>
175 <!-- TMPL_IF NAME="WTHDRAWN" -->
176 <li><span class="problem">Item has been withdrawn</span></li>
179 <!-- TMPL_IF NAME="GNA" -->
180 <li><span class="problem">Patron's address is in doubt</span></li>
183 <!-- TMPL_IF NAME="CARD_LOST" -->
184 <li><span class="problem">Patron's card is lost</span></li>
187 <!-- TMPL_IF NAME="DEBARRED" -->
188 <li><span class="problem">Patron is restricted</span></li>
191 <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
192 <li><span class="problem">No more renewals possible</span></li>
195 <!-- TMPL_IF NAME="EXPIRED" -->
196 <li><span class="problem">Patron's card is expired</span></li>
199 <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
200 <li><span class="problem">This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</span></li>
204 <!-- TMPL_IF NAME="memberofinstution" -->
205 <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
208 <!--/TMPL_IF --> <!-- /impossible -->
209 <div class="date-select">
210 <div class="hint">Specify Due Date:</div><input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
211 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarDueDate" style="cursor: pointer;" valign="top" />
212 <script language="JavaScript" type="text/javascript">
213 function validate1(date) {
214 var today = new Date();
215 if ( date < today ) {
221 function refocus(calendar) {
222 document.getElementById('barcode').focus();
225 //#TODO - ADD syspref (AllowPostDatedCheckouts).
228 inputField : "duedatespec",
229 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
230 button : "CalendarDueDate",
231 disableFunc : validate1,
232 dateStatusFunc : validate1,
238 <label for="stickyduedate">Remember for Session:</label>
239 <!-- TMPL_IF NAME="stickyduedate" -->
240 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="1" />
242 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
244 <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
245 <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
246 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
247 <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
248 <input type="hidden" name="print" value="maybe" />
249 <!-- TMPL_IF NAME="CHARGES" -->
250 <input type="hidden" name="charges" value="yes" />
251 <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
255 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
257 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
259 <!-- TMPL_IF NAME="flagged" -->
260 <!-- TMPL_IF NAME="noissues" -->
261 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
262 <div id="circmessages" class="circmessage warning">
264 <div id="circmessages" class="circmessage attention">
267 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
270 <!-- TMPL_IF NAME = "warndeparture" -->
271 <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
272 Patron's card expires on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?modify=edit&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Edit Details</a>
277 <!-- TMPL_IF NAME = "expired" -->
278 <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
279 Patron's card expired on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?modify=edit&destination=circ&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Edit Details</a>
284 <!-- TMPL_IF NAME="gna" -->
285 <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
288 <!-- TMPL_IF NAME="lost" -->
289 <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
292 <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
293 <span class="circ-hlt"> Restricted:</span> Patron's account is restricted <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&destination=circ&status=0">Lift restriction</a>
294 </li><!-- /TMPL_IF -->
296 <!-- TMPL_IF name="odues" --><li><!-- TMPL_IF name="nonreturns" --><span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a><!-- /TMPL_IF --></li>
299 <!-- TMPL_IF NAME="charges" -->
300 <li><span class="circ-hlt">Fines:</span> Patron has <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Outstanding fines</a>.
301 Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
307 <!-- TMPL_IF NAME="WaitingReserveLoop" -->
308 <div id="holdswaiting" class="circmessage">
309 <h4>Holds waiting:</h4>
310 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
312 <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title"--></a> (<!-- TMPL_VAR NAME="itemtype"-->), <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author"-->,<!-- /TMPL_IF --> reserved on <!-- TMPL_VAR NAME="reservedate"-->
313 <!-- TMPL_IF NAME="waitingat" -->
314 waiting at : <!-- TMPL_VAR NAME="waitingat" -->
320 <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
321 <!-- TMPL_IF name="notes" -->
322 <div id="circnotes" class="circmessage">
324 <p><!-- TMPL_VAR name="notesmsg" --></p>
326 <!-- /If notes --><!-- /TMPL_IF -->
327 <!-- /If flagged --><!-- /TMPL_IF -->
333 <div class="yui-g"><div id="patronlists" class="toptabs">
336 <li> <!--TMPL_IF NAME="issuecount"-->
337 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
339 <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
340 <!-- /TMPL_IF --></li>
341 <li><!-- TMPL_IF NAME="countreserv"-->
342 <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Holds(s)</a>
344 <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
345 <!-- /TMPL_IF --></li>
349 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
351 <!--TMPL_IF NAME="issuecount"-->
352 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
354 <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=page'); return false;">Print Page</a>
355 / <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&print=slip'); return false;">Print Slip</a>
358 <input type="hidden" value="circ" name="destination" />
359 <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
360 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
361 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
372 <!-- TMPL_IF NAME="todayissues" -->
374 <!-- TMPL_LOOP NAME="todayissues" -->
375 <!-- TMPL_IF NAME="togglecolor" -->
378 <tr class="highlight">
380 <td><!-- TMPL_VAR NAME="dd" --></td>
382 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&type=intra"><!-- TMPL_VAR NAME="title" --></a>
383 <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
384 <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
387 <!-- TMPL_VAR NAME="itemtype" -->
388 <!-- TMPL_IF NAME="itemtype_image" -->
389 <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
392 <td><!-- TMPL_VAR NAME="classification" --></td>
393 <td><!-- TMPL_VAR NAME="barcode" --></td>
395 <!-- TMPL_IF NAME="od" -->
396 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
398 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
400 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
402 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
403 <!-- TMPL_IF NAME="renew_failed" -->
404 <td>Renewal Failed</td>
407 <!-- /loop todayissues --><!-- /TMPL_LOOP -->
408 <!-- /if todayissues --><!-- /TMPL_IF -->
409 <!-- TMPL_IF NAME="previssues" -->
411 <th colspan="7"><a name="previous" id="previous">Previous checkouts</a></th>
413 <!-- TMPL_LOOP NAME="previssues" -->
414 <!-- TMPL_IF NAME="togglecolor" -->
417 <tr class="highlight">
419 <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
420 <!-- TMPL_VAR NAME="dd" -->
423 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&type=intra"><!-- TMPL_VAR NAME="title" --></a>
424 <br /><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
427 <!-- TMPL_VAR NAME="itemtype" -->
428 <!-- TMPL_IF NAME="itemtype_image" -->
429 <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
432 <td><!-- TMPL_VAR NAME="classification" --></td>
433 <td><!-- TMPL_VAR NAME="barcode" --></td>
435 <!-- TMPL_IF NAME="od" -->
436 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
438 <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
440 <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
442 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
443 <!-- TMPL_IF NAME="renew_failed" -->
444 <td>Renewal Failed</td>
448 <!-- /loop previssues --><!-- /TMPL_LOOP -->
449 <!--/if previssues --><!-- /TMPL_IF -->
451 <!--TMPL_IF NAME="issuecount"-->
453 <input type="submit" name="renew_checked" value="Renew Checked Items" />
454 <input type="submit" name="renew_all" value="Renew All" />
459 <p>Patron has nothing checked out.</p>
465 <!-- TMPL_IF NAME="reservloop" -->
474 <!-- TMPL_LOOP NAME="reservloop" -->
475 <tr class="<!-- TMPL_VAR NAME="color" -->">
477 <!-- TMPL_VAR NAME="reservedate" -->
480 <!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" --> targeted
482 <!-- TMPL_IF NAME="waitingposition" -->
484 <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
488 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>)
490 <!-- TMPL_IF name="waiting" -->
492 <i>Item is waiting</i>
494 <!-- TMPL_IF name="transfered" -->
496 <i>Item in transit from
497 <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" --> </i>
500 <!-- TMPL_IF name="nottransfered" -->
502 <i>This item hasn't been transfered yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
505 <td><!-- TMPL_VAR NAME="author" --></td>
506 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
511 <p>Patron has no pending holds.</p>
513 </div> <!-- reservesloop -->
515 <!-- /TMPL_IF --> <!-- borrowernumber -->
523 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><div class="yui-b">
524 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
525 </div><!-- /TMPL_UNLESS -->
527 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->