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