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