adding back patron images to circ and moremember
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / circulation.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation
3 <!-- TMPL_IF NAME="borrowernumber" -->
4 &rsaquo; 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">
9 //<![CDATA[
10          $(document).ready(function() {
11                 $('#patronlists').tabs();
12          });
13 //]]>
14 </script>
15 <script type="text/JavaScript" language="JavaScript">
16 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
17 function verify_patron_images() {
18     for (var i = 0; i < document.images.length; i++) {
19         img = document.images[i];
20         if ((img.src.indexOf('patronimages') >= 0)) {
21                         w = img.width;
22             h = img.height;
23      if ((w == 0) && (h == 0) || ((img.complete != null) && (!img.complete))) {
24                img.src = '/intranet-tmpl/prog/img/patron-blank.png';
25                         }
26         }
27     }
28 }
29 </script>
30 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
31 </head>
32 <body onload="verify_patron_images();">
33
34 <!-- TMPL_INCLUDE NAME="header.inc" -->
35 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
36
37 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo;<!-- TMPL_IF NAME="borrowernumber" --> <a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> &rsaquo; <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- TMPL_ELSE --> <strong>Checkouts</strong><!-- /TMPL_IF --></div>
38
39 <!-- TMPL_IF NAME="CGIselectborrower" -->
40 <div id="doc" class="yui-t7">
41    
42    <div id="bd">
43         <div id="yui-main">
44         <div class="yui-g">
45 <!-- TMPL_ELSE -->
46 <div id="doc3" class="yui-t2">
47    
48    <div id="bd">
49         <div id="yui-main">
50         <div class="yui-b">
51 <!-- /TMPL_IF -->
52
53 <!-- TMPL_IF NAME="borrowernumber" -->
54 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
55 <!-- /TMPL_IF -->
56
57 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
58
59 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
60 <div class="yui-g" style="text-align: center"><div id="circ_needsconfirmation" class="dialog">
61 <div><div class="confirm">
62 <h3>Please Confirm Checkout</h3>
63
64 <ul>
65 <!-- TMPL_IF NAME="DEBT" -->
66     <li>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></li>
67 <!-- /TMPL_IF -->
68
69 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
70     <li>Item is currently issued to this patron.  Renew?</li>
71 <!-- /TMPL_IF -->
72
73 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
74     <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
75 <!-- /TMPL_IF -->
76
77 <!-- TMPL_IF NAME="RESERVED" -->
78     <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
79 <!-- /TMPL_IF -->
80
81 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
82     <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</li>
83 <!-- /TMPL_IF -->
84
85 <!-- TMPL_IF NAME="TOO_MANY" -->
86     <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
87 <!-- /TMPL_IF -->
88 </ul>
89
90 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
91     
92 <!-- TMPL_IF NAME="RESERVED" -->
93     <p>
94     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
95     <label for="cancelreserve">Cancel Reserve</label>
96     </p>
97 <!-- /TMPL_IF -->
98
99 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
100     <p>
101     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
102     <label for="cancelreserve">Cancel Reserve</label>
103     </p>
104 <!-- /TMPL_IF -->
105
106     <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
107     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
108     <input type="hidden" name="issueconfirmed" value="1" />
109     <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
110     <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
111     <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
112     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
113     <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
114 </form>
115
116 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
117     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
118     <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
119 </form>
120
121 </div></div></div></div>
122
123 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
124
125 <!-- TMPL_IF NAME="issued" -->
126 <p>Item Checked out</p>
127 <!-- /TMPL_IF -->
128
129 <!-- TMPL_IF NAME="message" -->
130 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
131 <h4>
132 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
133 </h4>
134 <!-- /TMPL_IF -->
135
136
137 <!-- TMPL_IF NAME="CGIselectborrower" -->
138 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
139
140 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
141 <fieldset id="circ_circulation_selectborrower" class="brief">
142     <legend>Patron selection</legend>
143
144     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
145     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
146
147 <ol>    <li>
148     <label for="borrowernumber">Select a patron: </label>
149     <!-- TMPL_VAR name="CGIselectborrower" -->
150     </li>
151 </ol>
152 <p><input type="submit" value="Select" /></p>
153 </fieldset>
154 </form>
155 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
156
157 <!-- BARCODE ENTRY -->
158
159 <!-- TMPL_IF NAME="borrowernumber" -->
160 <div class="yui-g">
161 <!-- TMPL_UNLESS NAME="noissues" -->
162 <div class="yui-u first"><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
163 <fieldset id="circ_circulation_issue">
164     <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
165         <div class="hint">Enter item barcode:</div>
166         <!-- TMPL_IF NAME="patronimages" --><img src="/patronimages/<!-- TMPL_VAR NAME="cardnumber" -->.<!-- TMPL_VAR NAME="patronimages" -->" alt="" border="0" /><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
167         <input type="text" name="barcode" id="barcode" class="focus" size="14" />
168
169         <!-- RESULT OF ISSUING REQUEST -->
170         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
171         <ul>
172         <!-- TMPL_IF NAME="INVALID_DATE" -->
173             <li><span class="problem">The due date is invalid</span></li>
174         <!-- /TMPL_IF -->  
175         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
176             <li><span class="problem">The barcode was not found</span></li>
177         <!-- /TMPL_IF -->
178
179         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
180             <li><span class="problem">Item not for loan</span></li>
181         <!-- /TMPL_IF -->
182
183         <!-- TMPL_IF NAME="WTHDRAWN" -->
184             <li><span class="problem">Item is cancelled</span></li>
185         <!-- /TMPL_IF -->
186
187         <!-- TMPL_IF NAME="GNA" -->
188             <li><span class="problem">Patron's address is in doubt</span></li>
189         <!-- /TMPL_IF -->
190
191         <!-- TMPL_IF NAME="CARD_LOST" -->
192             <li><span class="problem">Patron's card is lost</span></li>
193         <!-- /TMPL_IF -->
194
195         <!-- TMPL_IF NAME="DEBARRED" -->
196             <li><span class="problem">Patron is restricted</span></li>
197         <!-- /TMPL_IF -->
198
199         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
200             <li><span class="problem">No more renewals possible</span></li>
201         <!-- /TMPL_IF -->
202
203         <!-- TMPL_IF NAME="EXPIRED" -->
204             <li><span class="problem">Patron's card is expired</span></li>
205         <!-- /TMPL_IF -->
206         
207         <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
208              <li><span class="problem">This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</span></li>
209         <!-- /TMPL_IF -->        
210         </ul>
211
212     <!-- TMPL_IF NAME="memberofinstution" -->
213     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
214     <!-- /TMPL_IF -->
215
216     <!--/TMPL_IF --> <!-- /impossible -->
217     <p class="date-select">
218         <label for "duedatespec">Specify Due Date:</label> <input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />                                                        
219                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar"  border="0" id="CalendarDueDate" style="cursor: pointer;" valign="top" />
220              <script language="JavaScript" type="text/javascript">
221                    function validate1(date) {
222                          var today = new Date();
223                          if ( date < today ) {
224                              return true;
225                           } else {
226                              return false;
227                           }
228                      };
229                      function refocus(calendar) {
230                         document.getElementById('barcode').focus();
231                         calendar.hide();
232                      };
233                                 //#TODO - ADD syspref (AllowPostDatedCheckouts).
234                      Calendar.setup(
235                           {
236                              inputField : "duedatespec",
237                              ifFormat : "%Y-%m-%d",
238                              button : "CalendarDueDate",
239                              disableFunc : validate1,
240                              dateStatusFunc : validate1,
241                              onClose : refocus
242                            }
243                         );
244                  </script>
245
246           <label for="stickyduedate">Remember for Session:</label>
247           <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" <!-- TMPL_IF NAME="stickyduedate" --> checked="1" <!-- /TMPL_IF -->  />
248           <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;" />
249           <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
250           <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
251           <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
252           <input type="hidden" name="print" value="maybe" />
253                 <!-- TMPL_IF NAME="CHARGES" -->
254                         <input type="hidden" name="charges" value="yes" />
255                         <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
256                 <!-- /TMPL_IF -->
257
258       <fieldset class="action">
259       <input type="submit" value="Issue" />
260       </fieldset>
261 </p>
262 </fieldset> 
263 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
264
265 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
266         
267     <!-- TMPL_IF NAME="flagged" -->
268                 <!-- TMPL_IF NAME="noissues" -->
269                  <div class="hint">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</div>
270         <div id="circmessages" class="circmessage warning">
271                 <!-- TMPL_ELSE -->
272         <div id="circmessages" class="circmessage attention">
273                 <!-- /TMPL_IF -->
274                 
275                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
276                 <ul>
277                 
278                         <!--TMPL_IF Name="warndeparture"-->
279                         <li><span class="circ-hlt">Expiration:</span> Patron card has expired or will expire soon.</li>
280                         <!--/TMPL_IF-->
281
282             <!-- TMPL_IF NAME="gna" -->
283                         <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
284                         <!-- /TMPL_IF -->
285                         
286             <!-- TMPL_IF NAME="lost" -->
287                         <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
288                         <!-- /TMPL_IF -->
289                         
290             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
291                <span class="circ-hlt"> Restricted:</span> Patron's account is restricted <a href="/cgi-bin/koha/members/setdebar.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;status=0">Lift restriction</a></li><!-- /TMPL_IF -->
292
293                 <!-- 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>
294             <!-- /TMPL_IF -->
295                         
296                 <!-- TMPL_IF NAME="charges" -->
297                         <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>.
298             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
299                         <!-- /TMPL_IF -->
300
301                         </ul>
302         </div>
303
304                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->      
305                         <div id="holdswaiting" class="circmessage">
306                     <h4>Holds waiting:</h4>
307                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
308                                     <ul> 
309                                         <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"--> 
310                                     <!-- TMPL_IF NAME="waitingat" -->
311                                         waiting at : <!-- TMPL_VAR NAME="waitingat" --> 
312                                     <!-- /TMPL_IF -->
313                                         </li>
314                                     </ul>
315                             <!-- /TMPL_LOOP -->
316                         </div>
317                         <!-- /TMPL_IF --><!-- /If WaitingReserveLoop -->
318
319     <!-- /TMPL_IF --> <!-- /If flagged -->
320         <!-- TMPL_IF name="notes" -->
321                         <div id="circnotes" class="circmessage">
322                         <h4>Notes:</h4>
323             <p><!-- TMPL_VAR name="notesmsg" --></p>
324                         </div>
325     <!-- /TMPL_IF --> <!-- /If notes -->
326
327 </div>
328 </div>
329
330 <div class="yui-g"><div id="patronlists" class="toptabs">
331
332 <ul>   
333 <li>    <!--TMPL_IF NAME="issuecount"-->
334             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
335     <!-- TMPL_ELSE -->
336             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
337     <!-- /TMPL_IF --></li>
338 <li><!-- TMPL_IF NAME="countreserv"-->
339             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Holds(s)</a>
340     <!-- TMPL_ELSE -->
341             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
342     <!-- /TMPL_IF --></li>
343  
344 </ul>
345
346 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
347 <div id="checkouts">
348 <!--TMPL_IF NAME="issuecount"-->
349     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
350 <!--     <p>
351     <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page'); return false;">Print Page</a>
352     / <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip'); return false;">Print Slip</a>
353     </p> -->
354     
355     <input type="hidden" value="circ" name="destination" />
356     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
357     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
358     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />       
359         <table>
360     <tr>
361         <th>Due date</th>
362         <th>Title</th>
363         <th>Itemtype</th>
364         <th>Call no</th>
365         <th>Barcode</th>
366         <th>Renew?</th>
367                 <th>Check In?</th>
368     </tr>
369 <!-- TMPL_IF NAME="todayissues" -->
370
371     <!-- TMPL_LOOP NAME="todayissues" -->
372     <!-- TMPL_IF NAME="togglecolor" -->
373     <tr>
374     <!-- TMPL_ELSE -->
375     <tr class="highlight">
376     <!-- /TMPL_IF -->
377         <td><!-- TMPL_VAR NAME="dd" --></td>
378         <td>
379         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
380        <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
381         <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
382         </td>
383         <td>
384             <!-- TMPL_VAR NAME="itemtype" -->
385             <!-- TMPL_IF NAME="itemtype_image" -->
386             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
387             <!-- /TMPL_IF -->
388         </td>
389         <td><!-- TMPL_VAR NAME="classification" --></td>
390         <td><!-- TMPL_VAR NAME="barcode" --></td>
391         <td>
392         <!-- TMPL_IF NAME="od" -->
393             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
394         <!-- TMPL_ELSE -->
395             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
396         <!-- /TMPL_IF -->
397         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
398         </td>
399                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
400                 <!-- TMPL_IF NAME="renew_failed" -->
401                 <td>Renewal Failed</td>
402                 <!-- /TMPL_IF -->
403     </tr>
404     <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
405     <!-- /TMPL_IF --> <!-- /if todayissues -->
406 <!-- TMPL_IF NAME="previssues" -->
407     <tr>
408         <th colspan="7"><a name="previous" id="previous">Previous checkouts</a></th>
409     </tr>
410     <!-- TMPL_LOOP NAME="previssues" -->
411     <!-- TMPL_IF NAME="togglecolor" -->
412         <tr>
413     <!-- TMPL_ELSE -->
414         <tr class="highlight">
415     <!-- /TMPL_IF -->
416         <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
417         <!-- TMPL_VAR NAME="dd" -->
418         </td>
419         <td>
420         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
421         <br /><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
422         </td>
423         <td>
424             <!-- TMPL_VAR NAME="itemtype" -->
425             <!-- TMPL_IF NAME="itemtype_image" -->
426             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
427             <!-- /TMPL_IF -->
428         </td>
429         <td><!-- TMPL_VAR NAME="classification" --></td>
430         <td><!-- TMPL_VAR NAME="barcode" --></td>
431         <td>
432         <!-- TMPL_IF NAME="od" -->
433             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
434         <!-- TMPL_ELSE -->
435             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
436         <!-- /TMPL_IF -->
437         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
438         </td>
439                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
440                 <!-- TMPL_IF NAME="renew_failed" -->
441                 <td>Renewal Failed</td>
442                 <!-- /TMPL_IF -->
443
444     </tr>
445     <!-- /TMPL_LOOP --> <!-- /loop previssues -->
446 <!-- /TMPL_IF --> <!--/if previssues -->
447     </table>
448         <!--TMPL_IF NAME="issuecount"-->
449     <div id="action">
450     <input type="submit" name="renew_checked" value="Renew Checked Items" />
451     <input type="submit" name="renew_all" value="Renew All" />
452     </div>
453         <!-- /TMPL_IF -->
454 </form>
455 <!-- TMPL_ELSE -->
456 <p>Patron has nothing checked out.</p>
457 <!-- /TMPL_IF -->
458 </div>
459
460
461 <div id="reserves">
462 <!-- TMPL_IF NAME="reservloop" -->
463     <table>
464         <tr>
465             <th>Hold date</th>
466             <th>Status</th>
467             <th>Title</th>
468             <th>Author</th>
469             <th>Call Number</th>
470         </tr>
471         <!-- TMPL_LOOP NAME="reservloop" -->
472         <tr class="<!-- TMPL_VAR NAME="color" -->">
473                     <td>
474                         <!-- TMPL_VAR NAME="reservedate" -->
475                     </td>
476                     <td>
477                         <!-- TMPL_IF name="barcodereserv" --><!-- TMPL_VAR NAME="barcodereserv" -->
478                         <!-- /TMPL_IF -->
479                         <!-- TMPL_IF NAME="waitingposition" -->
480                         Hold priority
481                         <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
482                         <!-- /TMPL_IF -->
483                     </td>
484                     <td>
485                         <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
486
487                         <!-- TMPL_IF name="waiting" -->
488                         <br />
489                         <i>This hold is available</i>
490                         <!-- /TMPL_IF -->
491                         <!-- TMPL_IF name="transfered" -->
492                         <br />
493                         <i>This hold has been transfered from library
494                         <!-- TMPL_VAR NAME="frombranch" --> on  <!-- TMPL_VAR NAME="datesent" --> </i>
495                         <!-- /TMPL_IF -->
496
497                         <!-- TMPL_IF name="nottransfered" -->
498                         <br />
499                         <i>This hold hasn't been transfered yet from library  <!-- TMPL_VAR NAME="nottransferedby" --></i>
500                         <!-- /TMPL_IF -->
501                     </td>
502                     <td><!-- TMPL_VAR NAME="author" --></td>
503                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
504             </tr>
505         <!-- /TMPL_LOOP -->
506     </table>
507         <!-- TMPL_ELSE -->
508         <p>Patron has no pending holds.</p>
509 <!-- /TMPL_IF -->
510 </div> <!-- reservesloop -->
511
512 <!-- /TMPL_IF --> <!-- borrowernumber -->
513 </div></div>
514 <!--/TMPL_IF -->
515
516
517
518 </div>
519 </div>
520 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><div class="yui-b">
521 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
522 </div><!-- /TMPL_UNLESS -->
523 </div>
524 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->