Some fixes for "delete" menu items in toolbars to ensure that redirects are handled...
[koha_fer] / 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                 verify_patron_images();
13          });
14 //]]>
15
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>
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 checked out 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" --> ) checked out to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Check in and check out?</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 <!-- TMPL_IF NAME="flagged" -->
163 <div class="yui-u first">
164 <!-- TMPL_ELSE -->
165 <div><!-- /TMPL_IF --><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
166 <fieldset id="circ_circulation_issue">
167     <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
168         <div class="hint">Enter item barcode:</div>
169         
170         <input type="text" name="barcode" id="barcode" class="focus" size="14" />
171
172         <!-- RESULT OF ISSUING REQUEST -->
173         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
174         <ul>
175         <!-- TMPL_IF NAME="INVALID_DATE" -->
176             <li><span class="problem">The due date is invalid</span></li>
177         <!-- /TMPL_IF -->  
178         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
179             <li><span class="problem">The barcode was not found</span></li>
180         <!-- /TMPL_IF -->
181
182         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
183             <li><span class="problem">Item not for loan</span></li>
184         <!-- /TMPL_IF -->
185
186         <!-- TMPL_IF NAME="WTHDRAWN" -->
187             <li><span class="problem">Item is cancelled</span></li>
188         <!-- /TMPL_IF -->
189
190         <!-- TMPL_IF NAME="GNA" -->
191             <li><span class="problem">Patron's address is in doubt</span></li>
192         <!-- /TMPL_IF -->
193
194         <!-- TMPL_IF NAME="CARD_LOST" -->
195             <li><span class="problem">Patron's card is lost</span></li>
196         <!-- /TMPL_IF -->
197
198         <!-- TMPL_IF NAME="DEBARRED" -->
199             <li><span class="problem">Patron is restricted</span></li>
200         <!-- /TMPL_IF -->
201
202         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
203             <li><span class="problem">No more renewals possible</span></li>
204         <!-- /TMPL_IF -->
205
206         <!-- TMPL_IF NAME="EXPIRED" -->
207             <li><span class="problem">Patron's card is expired</span></li>
208         <!-- /TMPL_IF -->
209         
210         <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
211              <li><span class="problem">This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</span></li>
212         <!-- /TMPL_IF -->        
213         </ul>
214
215     <!-- TMPL_IF NAME="memberofinstution" -->
216     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
217     <!-- /TMPL_IF -->
218
219     <!--/TMPL_IF --> <!-- /impossible -->
220     <p class="date-select">
221         <label for "duedatespec">Specify Due Date:</label> <input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />                                                        
222                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar"  border="0" id="CalendarDueDate" style="cursor: pointer;" valign="top" />
223              <script language="JavaScript" type="text/javascript">
224                    function validate1(date) {
225                          var today = new Date();
226                          if ( date < today ) {
227                              return true;
228                           } else {
229                              return false;
230                           }
231                      };
232                      function refocus(calendar) {
233                         document.getElementById('barcode').focus();
234                         calendar.hide();
235                      };
236                                 //#TODO - ADD syspref (AllowPostDatedCheckouts).
237                      Calendar.setup(
238                           {
239                              inputField : "duedatespec",
240                              ifFormat : "%Y-%m-%d",
241                              button : "CalendarDueDate",
242                              disableFunc : validate1,
243                              dateStatusFunc : validate1,
244                              onClose : refocus
245                            }
246                         );
247                  </script>
248
249           <label for="stickyduedate">Remember for Session:</label>
250           <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" <!-- TMPL_IF NAME="stickyduedate" --> checked="1" <!-- /TMPL_IF -->  />
251           <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;" />
252           <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
253           <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
254           <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
255           <input type="hidden" name="print" value="maybe" />
256                 <!-- TMPL_IF NAME="CHARGES" -->
257                         <input type="hidden" name="charges" value="yes" />
258                         <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
259                 <!-- /TMPL_IF -->
260
261       <fieldset class="action">
262       <input type="submit" value="Check Out" />
263       </fieldset>
264 </p>
265 </fieldset> 
266 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
267
268 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
269         
270     <!-- TMPL_IF NAME="flagged" -->
271                 <!-- TMPL_IF NAME="noissues" -->
272                  <div class="hint">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</div>
273         <div id="circmessages" class="circmessage warning">
274                 <!-- TMPL_ELSE -->
275         <div id="circmessages" class="circmessage attention">
276                 <!-- /TMPL_IF -->
277                 
278                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
279                 <ul>
280                 
281                         <!--TMPL_IF Name="warndeparture"-->
282                         <li><span class="circ-hlt">Expiration:</span> Patron card has expired or will expire soon.</li>
283                         <!--/TMPL_IF-->
284
285             <!-- TMPL_IF NAME="gna" -->
286                         <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
287                         <!-- /TMPL_IF -->
288                         
289             <!-- TMPL_IF NAME="lost" -->
290                         <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
291                         <!-- /TMPL_IF -->
292                         
293             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
294                <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 -->
295
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>
297             <!-- /TMPL_IF -->
298                         
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>
302                         <!-- /TMPL_IF -->
303
304                         </ul>
305         </div>
306
307                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->      
308                         <div id="holdswaiting" class="circmessage">
309                     <h4>Holds waiting:</h4>
310                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
311                                     <ul> 
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" --> 
315                                     <!-- /TMPL_IF -->
316                                         </li>
317                                     </ul>
318                             <!-- /TMPL_LOOP -->
319                         </div>
320                         <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
321         <!-- TMPL_IF name="notes" -->
322                         <div id="circnotes" class="circmessage">
323                         <h4>Notes:</h4>
324             <p><!-- TMPL_VAR name="notesmsg" --></p>
325                         </div>
326     <!-- /If notes --><!-- /TMPL_IF --> 
327      <!-- /If flagged --><!-- /TMPL_IF -->
328
329
330 </div>
331 </div>
332
333 <div class="yui-g"><div id="patronlists" class="toptabs">
334
335 <ul>   
336 <li>    <!--TMPL_IF NAME="issuecount"-->
337             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
338     <!-- TMPL_ELSE -->
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>
343     <!-- TMPL_ELSE -->
344             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
345     <!-- /TMPL_IF --></li>
346  
347 </ul>
348
349 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
350 <div id="checkouts">
351 <!--TMPL_IF NAME="issuecount"-->
352     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
353 <!--     <p>
354     <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page'); return false;">Print Page</a>
355     / <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip'); return false;">Print Slip</a>
356     </p> -->
357     
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" -->" />       
362         <table>
363     <tr>
364         <th>Due date</th>
365         <th>Title</th>
366         <th>Itemtype</th>
367         <th>Call no</th>
368         <th>Barcode</th>
369         <th>Renew?</th>
370                 <th>Check In?</th>
371     </tr>
372 <!-- TMPL_IF NAME="todayissues" -->
373
374     <!-- TMPL_LOOP NAME="todayissues" -->
375     <!-- TMPL_IF NAME="togglecolor" -->
376     <tr>
377     <!-- TMPL_ELSE -->
378     <tr class="highlight">
379     <!-- /TMPL_IF -->
380         <td><!-- TMPL_VAR NAME="dd" --></td>
381         <td>
382         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;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 -->
385         </td>
386         <td>
387             <!-- TMPL_VAR NAME="itemtype" -->
388             <!-- TMPL_IF NAME="itemtype_image" -->
389             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
390             <!-- /TMPL_IF -->
391         </td>
392         <td><!-- TMPL_VAR NAME="classification" --></td>
393         <td><!-- TMPL_VAR NAME="barcode" --></td>
394         <td>
395         <!-- TMPL_IF NAME="od" -->
396             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
397         <!-- TMPL_ELSE -->
398             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
399         <!-- /TMPL_IF -->
400         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
401         </td>
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>
405                 <!-- /TMPL_IF -->
406     </tr>
407     <!-- /loop todayissues --><!-- /TMPL_LOOP --> 
408     <!-- /if todayissues --><!-- /TMPL_IF --> 
409 <!-- TMPL_IF NAME="previssues" -->
410     <tr>
411         <th colspan="7"><a name="previous" id="previous">Previous checkouts</a></th>
412     </tr>
413     <!-- TMPL_LOOP NAME="previssues" -->
414     <!-- TMPL_IF NAME="togglecolor" -->
415         <tr>
416     <!-- TMPL_ELSE -->
417         <tr class="highlight">
418     <!-- /TMPL_IF -->
419         <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
420         <!-- TMPL_VAR NAME="dd" -->
421         </td>
422         <td>
423         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;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 -->
425         </td>
426         <td>
427             <!-- TMPL_VAR NAME="itemtype" -->
428             <!-- TMPL_IF NAME="itemtype_image" -->
429             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
430             <!-- /TMPL_IF -->
431         </td>
432         <td><!-- TMPL_VAR NAME="classification" --></td>
433         <td><!-- TMPL_VAR NAME="barcode" --></td>
434         <td>
435         <!-- TMPL_IF NAME="od" -->
436             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
437         <!-- TMPL_ELSE -->
438             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
439         <!-- /TMPL_IF -->
440         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
441         </td>
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>
445                 <!-- /TMPL_IF -->
446
447     </tr>
448     <!-- /loop previssues --><!-- /TMPL_LOOP --> 
449 <!--/if previssues --><!-- /TMPL_IF --> 
450     </table>
451         <!--TMPL_IF NAME="issuecount"-->
452     <div id="action">
453     <input type="submit" name="renew_checked" value="Renew Checked Items" />
454     <input type="submit" name="renew_all" value="Renew All" />
455     </div>
456         <!-- /TMPL_IF -->
457 </form>
458 <!-- TMPL_ELSE -->
459 <p>Patron has nothing checked out.</p>
460 <!-- /TMPL_IF -->
461 </div>
462
463
464 <div id="reserves">
465 <!-- TMPL_IF NAME="reservloop" -->
466     <table>
467         <tr>
468             <th>Hold date</th>
469             <th>Status</th>
470             <th>Title</th>
471             <th>Author</th>
472             <th>Call Number</th>
473         </tr>
474         <!-- TMPL_LOOP NAME="reservloop" -->
475         <tr class="<!-- TMPL_VAR NAME="color" -->">
476                     <td>
477                         <!-- TMPL_VAR NAME="reservedate" -->
478                     </td>
479                     <td>
480                         <!-- TMPL_IF name="barcodereserv" --><!-- TMPL_VAR NAME="barcodereserv" -->
481                         <!-- /TMPL_IF -->
482                         <!-- TMPL_IF NAME="waitingposition" -->
483                         Hold priority
484                         <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
485                         <!-- /TMPL_IF -->
486                     </td>
487                     <td>
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>) 
489
490                         <!-- TMPL_IF name="waiting" -->
491                         <br />
492                         <i>This hold is available</i>
493                         <!-- /TMPL_IF -->
494                         <!-- TMPL_IF name="transfered" -->
495                         <br />
496                         <i>This hold has been transfered from library
497                         <!-- TMPL_VAR NAME="frombranch" --> on  <!-- TMPL_VAR NAME="datesent" --> </i>
498                         <!-- /TMPL_IF -->
499
500                         <!-- TMPL_IF name="nottransfered" -->
501                         <br />
502                         <i>This hold hasn't been transfered yet from library  <!-- TMPL_VAR NAME="nottransferedby" --></i>
503                         <!-- /TMPL_IF -->
504                     </td>
505                     <td><!-- TMPL_VAR NAME="author" --></td>
506                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
507             </tr>
508         <!-- /TMPL_LOOP -->
509     </table>
510         <!-- TMPL_ELSE -->
511         <p>Patron has no pending holds.</p>
512 <!-- /TMPL_IF -->
513 </div> <!-- reservesloop -->
514
515 <!-- /TMPL_IF --> <!-- borrowernumber -->
516 </div></div>
517 <!--/TMPL_IF -->
518
519
520
521 </div>
522 </div>
523 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><div class="yui-b">
524 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
525 </div><!-- /TMPL_UNLESS -->
526 </div>
527 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->