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