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