Finishing circ page layout changes. Still need to iron out standards for warning...
[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 <!-- TMPL_INCLUDE NAME="yui-toolbars.inc" -->
9 <script type="text/JavaScript" language="JavaScript">
10 //<![CDATA[
11          $(document).ready(function() {
12                 $('#patronlists').tabs();
13          });
14 //]]>
15 </script>
16
17 </head>
18 <body class="yui-skin-sam">
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 <div id="doc3" class="yui-t2">
26    
27    <div id="bd">
28         <div id="yui-main">
29         <div class="yui-b">
30 <!-- TMPL_IF NAME="borrowernumber" -->
31 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
32 <!-- /TMPL_IF -->
33
34 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
35
36 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
37 <div id="circ_circulation_needsconfirmation">
38 <h3>Please Confirm Checkout</h3>
39
40 <ul>
41 <!-- TMPL_IF NAME="DEBT" -->
42     <li>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></li>
43 <!-- /TMPL_IF -->
44
45 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
46     <li>Item is currently issued to this patron.  Renew?</li>
47 <!-- /TMPL_IF -->
48
49 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
50     <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
51 <!-- /TMPL_IF -->
52
53 <!-- TMPL_IF NAME="RESERVED" -->
54     <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
55 <!-- /TMPL_IF -->
56
57 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
58     <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</li>
59 <!-- /TMPL_IF -->
60
61 <!-- TMPL_IF NAME="TOO_MANY" -->
62     <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
63 <!-- /TMPL_IF -->
64 </ul>
65
66 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
67     
68 <!-- TMPL_IF NAME="RESERVED" -->
69     <p>
70     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
71     <label for="cancelreserve">Cancel Reserve</label>
72     </p>
73 <!-- /TMPL_IF -->
74
75 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
76     <p>
77     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
78     <label for="cancelreserve">Cancel Reserve</label>
79     </p>
80 <!-- /TMPL_IF -->
81
82     <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
83     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
84     <input type="hidden" name="issueconfirmed" value="1" />
85     <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
86     <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
87     <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
88     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
89     <input type="submit" value="Confirm Checkout" accesskey="y" />
90 </form>
91
92 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
93     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
94     <input type="submit" value="Don't Checkout" accesskey="n" />
95 </form>
96
97 </div>
98
99 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
100
101 <!-- TMPL_IF NAME="issued" -->
102 <p>Item Checked out</p>
103 <!-- /TMPL_IF -->
104
105 <!-- TMPL_IF NAME="message" -->
106 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
107 <h4>
108 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
109 </h4>
110 <!-- /TMPL_IF -->
111
112
113 <!-- TMPL_IF NAME="CGIselectborrower" -->
114 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
115 <fieldset id="circ_circulation_selectborrower">
116     <legend>Patron selection</legend>
117
118     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
119     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
120
121     <p>
122     <label for="borrowernumber">Select a patron: </label>
123     <!-- TMPL_VAR name="CGIselectborrower" -->
124     </p>
125
126     <p><input type="submit" value="Select" /></p>
127
128     <p>
129     Patron not found?
130     <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=A" />Add adult</a>
131     <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=C" />Add child</a>
132     or <a href="/cgi-bin/koha/circ/circulation.pl">try another search</a>
133     </p>
134 </fieldset>
135 </form>
136 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
137
138 <!-- BARCODE ENTRY -->
139
140 <!-- TMPL_IF NAME="borrowernumber" -->
141 <div class="yui-g">
142 <!-- TMPL_UNLESS NAME="noissues" -->
143 <div class="yui-u first"><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
144 <fieldset id="circ_circulation_issue">
145     <label for="barcode">Enter item barcode: </label>
146         <div class="hint">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --></div>
147         <input type="text" name="barcode" id="barcode" class="focus" size="14" />
148     
149         <!-- RESULT OF ISSUING REQUEST -->
150         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
151         <ul>
152         <!-- TMPL_IF NAME="INVALID_DATE" -->
153             <li><span class="problem">The due date is invalid</span></li>
154         <!-- /TMPL_IF -->  
155         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
156             <li><span class="problem">The barcode was not found</span></li>
157         <!-- /TMPL_IF -->
158
159         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
160             <li><span class="problem">Item not for loan</span></li>
161         <!-- /TMPL_IF -->
162
163         <!-- TMPL_IF NAME="WTHDRAWN" -->
164             <li><span class="problem">Item is cancelled</span></li>
165         <!-- /TMPL_IF -->
166
167         <!-- TMPL_IF NAME="GNA" -->
168             <li><span class="problem">Patron's address is in doubt</span></li>
169         <!-- /TMPL_IF -->
170
171         <!-- TMPL_IF NAME="CARD_LOST" -->
172             <li><span class="problem">Patron's card is lost</span></li>
173         <!-- /TMPL_IF -->
174
175         <!-- TMPL_IF NAME="DEBARRED" -->
176             <li><span class="problem">Patron is restricted</span></li>
177         <!-- /TMPL_IF -->
178
179         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
180             <li><span class="problem">No more renewals possible</span></li>
181         <!-- /TMPL_IF -->
182
183         <!-- TMPL_IF NAME="EXPIRED" -->
184             <li><span class="problem">Patron's card is expired</span></li>
185         <!-- /TMPL_IF -->
186         </ul>
187
188     <!-- TMPL_IF NAME="memberofinstution" -->
189     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
190     <!-- /TMPL_IF -->
191
192     <!--/TMPL_IF --> <!-- /impossible -->
193     <p><label for="day">Specify due date: </label>
194         <select name="day" id="day">
195             <option value="0">Day</option>
196             <!-- TMPL_IF NAME="day1" -->
197                 <option value="1" selected="selected">1</option>
198             <!-- TMPL_ELSE -->
199                 <option value="1">1</option>
200             <!-- /TMPL_IF -->
201             
202             <!-- TMPL_IF NAME="day2" -->
203                 <option value="2" selected="selected">2</option>
204             <!-- TMPL_ELSE -->
205                 <option value="2">2</option>
206             <!-- /TMPL_IF -->
207             
208             <!-- TMPL_IF NAME="day3" -->
209                 <option value="3" selected="selected">3</option>
210             <!-- TMPL_ELSE -->
211                 <option value="3">3</option>
212             <!-- /TMPL_IF -->
213             
214             <!-- TMPL_IF NAME="day4" -->
215                 <option value="4" selected="selected">4</option>
216             <!-- TMPL_ELSE -->
217                 <option value="4">4</option>
218             <!-- /TMPL_IF -->
219             
220             <!-- TMPL_IF NAME="day5" -->
221                 <option value="5" selected="selected">5</option>
222             <!-- TMPL_ELSE -->
223                 <option value="5">5</option>
224             <!-- /TMPL_IF -->
225             
226             <!-- TMPL_IF NAME="day6" -->
227                 <option value="6" selected="selected">6</option>
228             <!-- TMPL_ELSE -->
229                 <option value="6">6</option>
230             <!-- /TMPL_IF -->
231             
232             <!-- TMPL_IF NAME="day7" -->
233                 <option value="7" selected="selected">7</option>
234             <!-- TMPL_ELSE -->
235                 <option value="7">7</option>
236             <!-- /TMPL_IF -->
237             
238             <!-- TMPL_IF NAME="day8" -->
239                 <option value="8" selected="selected">8</option>
240             <!-- TMPL_ELSE -->
241                 <option value="8">8</option>
242             <!-- /TMPL_IF -->
243             
244             <!-- TMPL_IF NAME="day9" -->
245                 <option value="9" selected="selected">9</option>
246             <!-- TMPL_ELSE -->
247                 <option value="9">9</option>
248             <!-- /TMPL_IF -->
249             
250             <!-- TMPL_IF NAME="day10" -->
251                 <option value="10" selected="selected">10</option>
252             <!-- TMPL_ELSE -->
253                 <option value="10">10</option>
254             <!-- /TMPL_IF -->
255             
256             <!-- TMPL_IF NAME="day11" -->
257                 <option value="11" selected="selected">11</option>
258             <!-- TMPL_ELSE -->
259                 <option value="11">11</option>
260             <!-- /TMPL_IF -->
261             
262             <!-- TMPL_IF NAME="day12" -->
263                 <option value="12" selected="selected">12</option>
264             <!-- TMPL_ELSE -->
265                 <option value="12">12</option>
266             <!-- /TMPL_IF -->
267             
268             <!-- TMPL_IF NAME="day13" -->
269                 <option value="13" selected="selected">13</option>
270             <!-- TMPL_ELSE -->
271                 <option value="13">13</option>
272             <!-- /TMPL_IF -->
273             
274             <!-- TMPL_IF NAME="day14" -->
275                 <option value="14" selected="selected">14</option>
276             <!-- TMPL_ELSE -->
277                 <option value="14">14</option>
278             <!-- /TMPL_IF -->
279             
280             <!-- TMPL_IF NAME="day15" -->
281                 <option value="15" selected="selected">15</option>
282             <!-- TMPL_ELSE -->
283                 <option value="15">15</option>
284             <!-- /TMPL_IF -->
285             
286             <!-- TMPL_IF NAME="day16" -->
287                 <option value="16" selected="selected">16</option>
288             <!-- TMPL_ELSE -->
289                 <option value="16">16</option>
290             <!-- /TMPL_IF -->
291             
292             <!-- TMPL_IF NAME="day17" -->
293                 <option value="17" selected="selected">17</option>
294             <!-- TMPL_ELSE -->
295                 <option value="17">17</option>
296             <!-- /TMPL_IF -->
297             
298             <!-- TMPL_IF NAME="day18" -->
299                 <option value="18" selected="selected">18</option>
300             <!-- TMPL_ELSE -->
301                 <option value="18">18</option>
302             <!-- /TMPL_IF -->
303             
304             <!-- TMPL_IF NAME="day19" -->
305                 <option value="19" selected="selected">19</option>
306             <!-- TMPL_ELSE -->
307                 <option value="19">19</option>
308             <!-- /TMPL_IF -->
309             
310             <!-- TMPL_IF NAME="day20" -->
311                 <option value="20" selected="selected">20</option>
312             <!-- TMPL_ELSE -->
313                 <option value="20">20</option>
314             <!-- /TMPL_IF -->
315             
316             <!-- TMPL_IF NAME="day21" -->
317                 <option value="21" selected="selected">21</option>
318             <!-- TMPL_ELSE -->
319                 <option value="21">21</option>
320             <!-- /TMPL_IF -->
321             
322             <!-- TMPL_IF NAME="day22" -->
323                 <option value="22" selected="selected">22</option>
324             <!-- TMPL_ELSE -->
325                 <option value="22">22</option>
326             <!-- /TMPL_IF -->
327             
328             <!-- TMPL_IF NAME="day23" -->
329                 <option value="23" selected="selected">23</option>
330             <!-- TMPL_ELSE -->
331                 <option value="23">23</option>
332             <!-- /TMPL_IF -->
333             
334             <!-- TMPL_IF NAME="day24" -->
335                 <option value="24" selected="selected">24</option>
336             <!-- TMPL_ELSE -->
337                 <option value="24">24</option>
338             <!-- /TMPL_IF -->
339             
340             <!-- TMPL_IF NAME="day25" -->
341                 <option value="25" selected="selected">25</option>
342             <!-- TMPL_ELSE -->
343                 <option value="25">25</option>
344             <!-- /TMPL_IF -->
345             
346             <!-- TMPL_IF NAME="day26" -->
347                 <option value="26" selected="selected">26</option>
348             <!-- TMPL_ELSE -->
349                 <option value="26">26</option>
350             <!-- /TMPL_IF -->
351             
352             <!-- TMPL_IF NAME="day27" -->
353                 <option value="27" selected="selected">27</option>
354             <!-- TMPL_ELSE -->
355                 <option value="27">27</option>
356             <!-- /TMPL_IF -->
357             
358             <!-- TMPL_IF NAME="day28" -->
359                 <option value="28" selected="selected">28</option>
360             <!-- TMPL_ELSE -->
361                 <option value="28">28</option>
362             <!-- /TMPL_IF -->
363             
364             <!-- TMPL_IF NAME="day29" -->
365                 <option value="29" selected="selected">29</option>
366             <!-- TMPL_ELSE -->
367                 <option value="29">29</option>
368             <!-- /TMPL_IF -->
369             
370             <!-- TMPL_IF NAME="day30" -->
371                 <option value="30" selected="selected">30</option>
372             <!-- TMPL_ELSE -->
373                 <option value="30">30</option>
374             <!-- /TMPL_IF -->
375             
376             <!-- TMPL_IF NAME="day31" -->
377                 <option value="31" selected="selected">31</option>
378             <!-- TMPL_ELSE -->
379                 <option value="31">31</option>
380             <!-- /TMPL_IF -->
381             </select>
382         
383         <select name="month">
384             <option value="0">Month</option>
385             <!-- TMPL_IF NAME="month1" -->
386                 <option value="1" selected="selected">Jan</option>
387             <!-- TMPL_ELSE -->
388                 <option value="1">Jan</option>
389             <!-- /TMPL_IF -->
390             
391             <!-- TMPL_IF NAME="month2" -->
392                 <option value="2" selected="selected">Feb</option>
393             <!-- TMPL_ELSE -->
394                 <option value="2">Feb</option>
395             <!-- /TMPL_IF -->
396             
397             <!-- TMPL_IF NAME="month3" -->
398                 <option value="3" selected="selected">Mar</option>
399             <!-- TMPL_ELSE -->
400                 <option value="3">Mar</option>
401             <!-- /TMPL_IF -->
402             
403             <!-- TMPL_IF NAME="month4" -->
404                 <option value="4" selected="selected">Apr</option>
405             <!-- TMPL_ELSE -->
406                 <option value="4">Apr</option>
407             <!-- /TMPL_IF -->
408             
409             <!-- TMPL_IF NAME="month5" -->
410                 <option value="5" selected="selected">May</option>
411             <!-- TMPL_ELSE -->
412                 <option value="5">May</option>
413             <!-- /TMPL_IF -->
414             
415             <!-- TMPL_IF NAME="month6" -->
416                 <option value="6" selected="selected">Jun</option>
417             <!-- TMPL_ELSE -->
418                 <option value="6">Jun</option>
419             <!-- /TMPL_IF -->
420             
421             <!-- TMPL_IF NAME="month7" -->
422                 <option value="7" selected="selected">Jul</option>
423             <!-- TMPL_ELSE -->
424                 <option value="7">Jul</option>
425             <!-- /TMPL_IF -->
426             
427             <!-- TMPL_IF NAME="month8" -->
428                 <option value="8" selected="selected">Aug</option>
429             <!-- TMPL_ELSE -->
430                 <option value="8">Aug</option>
431             <!-- /TMPL_IF -->
432             
433             <!-- TMPL_IF NAME="month9" -->
434                 <option value="9" selected="selected">Sep</option>
435             <!-- TMPL_ELSE -->
436                 <option value="9">Sep</option>
437             <!-- /TMPL_IF -->
438             
439             <!-- TMPL_IF NAME="month10" -->
440                 <option value="10" selected="selected">Oct</option>
441             <!-- TMPL_ELSE -->
442                 <option value="10">Oct</option>
443             <!-- /TMPL_IF -->
444             
445             <!-- TMPL_IF NAME="month11" -->
446                 <option value="11" selected="selected">Nov</option>
447             <!-- TMPL_ELSE -->
448                 <option value="11">Nov</option>
449             <!-- /TMPL_IF -->
450             
451             <!-- TMPL_IF NAME="month12" -->
452                 <option value="12" selected="selected">Dec</option>
453             <!-- TMPL_ELSE -->
454                 <option value="12">Dec</option>
455             <!-- /TMPL_IF -->
456         </select>
457             
458         <select name="year">
459             <option value="0">Year</option>
460             <!-- TMPL_IF NAME="year2007" -->
461                 <option value="2007" selected="selected">2007</option>
462             <!-- TMPL_ELSE -->
463                 <option value="2007">2007</option>
464             <!-- /TMPL_IF -->
465             <!-- TMPL_IF NAME="year2008" -->
466                 <option value="2008" selected="selected">2008</option>
467             <!-- TMPL_ELSE -->
468                 <option value="2008">2008</option>
469             <!-- /TMPL_IF -->
470             <!-- TMPL_IF NAME="year2009" -->
471                 <option value="2009" selected="selected">2009</option>
472             <!-- TMPL_ELSE -->
473                 <option value="2009">2009</option>
474             <!-- /TMPL_IF -->
475             <!-- TMPL_IF NAME="year2010" -->
476                 <option value="2010" selected="selected">2010</option>
477             <!-- TMPL_ELSE -->
478                 <option value="2010">2010</option>
479             <!-- /TMPL_IF -->
480         <!-- TMPL_IF NAME="year2011" -->
481                 <option value="2011" selected="selected">2011</option>
482             <!-- TMPL_ELSE -->
483                 <option value="2011">2011</option>
484             <!-- /TMPL_IF -->   
485         </select>
486         
487         <label for="stickyduedate">
488         <!-- TMPL_IF NAME="stickyduedate" -->
489             <input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> checked="checked" />
490             Remember due date for this patron
491 <!-- TMPL_ELSE -->
492             <input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> />
493 <!-- /TMPL_IF -->
494             </label>
495         </p>
496
497     <input type="hidden" name="day" value="0" />
498     <input type="hidden" name="month" value="0" />
499     <input type="hidden" name="year" value="0" />
500     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
501     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
502     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
503     <input type="hidden" name="print" value="maybe" />
504     <!-- TMPL_IF NAME="CHARGES" -->
505     <input type="hidden" name="charges" value="yes" />
506     <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
507     <!-- /TMPL_IF -->
508
509     <fieldset class="action">
510     <input type="submit" value="Issue" />
511     </fieldset>
512
513 </fieldset>
514 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
515
516 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
517         
518     <!-- TMPL_IF NAME="flagged" -->
519                 <!-- TMPL_IF NAME="noissues" -->
520         <div id="circmessages" class="circmessage warning">
521                 <!-- TMPL_ELSE -->
522         <div id="circmessages" class="circmessage attention">
523                 <!-- /TMPL_IF -->
524                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
525                 <ul>
526                         <!--TMPL_IF Name="warndeparture"--><li><span class="circ-hlt">Expiration:</span> Patron card has expired or will expire soon.</li><!--/TMPL_IF-->
527             <!-- TMPL_IF NAME="gna" --><li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li><!-- /TMPL_IF -->
528             <!-- TMPL_IF NAME="lost" --><li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li><!-- /TMPL_IF -->
529             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
530                <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 -->
531                 <!-- 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>
532             <!-- /TMPL_IF -->
533         <!-- TMPL_IF NAME="charges" --><li><span class="circ-hlt">Fines:</span> Patron has 
534             <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Outstanding fines</a>.
535             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li><!-- /TMPL_IF -->
536
537                         </ul>
538         </div>
539
540                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->      
541                         <div id="holdswaiting" class="circmessage">
542                     <h4>Holds waiting:</h4>
543                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
544                                     <ul> 
545                                         <li> <a href="/cgi-bin/koha/catalogue/detail.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"--> 
546                                     <!-- TMPL_IF NAME="waitingat" -->
547                                         waiting at : <!-- TMPL_VAR NAME="waitingat" --> 
548                                     <!-- /TMPL_IF -->
549                                         </li>
550                                     </ul>
551                             <!-- /TMPL_LOOP -->
552                         </div>
553                         <!-- /TMPL_IF --><!-- /If WaitingReserveLoop -->
554
555     <!-- /TMPL_IF --> <!-- /If flagged -->
556         <!-- TMPL_IF name="notes" -->
557                         <div id="circnotes" class="circmessage">
558                         <h4>Notes:</h4>
559             <p><!-- TMPL_VAR name="notesmsg" --></p>
560                         </div>
561     <!-- /TMPL_IF --> <!-- /If notes -->
562
563 </div>
564 </div>
565
566 <div class="yui-g"><div id="patronlists" class="toptabs">
567
568 <ul>   
569 <li>    <!--TMPL_IF NAME="issuecount"-->
570             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
571     <!-- TMPL_ELSE -->
572             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
573     <!-- /TMPL_IF --></li>
574 <li><!-- TMPL_IF NAME="countreserv"-->
575             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Holds(s)</a>
576     <!-- TMPL_ELSE -->
577             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
578     <!-- /TMPL_IF --></li>
579  
580 </ul>
581
582 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
583 <div id="checkouts">
584 <!--TMPL_IF NAME="issuecount"-->
585     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
586 <!--     <p>
587     <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page'); return false;">Print Page</a>
588     / <a href="#" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip'); return false;">Print Slip</a>
589     </p> -->
590     
591     <input type="hidden" value="circ" name="destination" />
592     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
593     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
594     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />       
595         <table>
596     <tr>
597         <th>Due date</th>
598         <th>Title</th>
599         <th>Itemtype</th>
600         <th>Call no</th>
601         <th>Barcode</th>
602         <th>Renew?</th>
603                 <th>Check In?</th>
604     </tr>
605 <!-- TMPL_IF NAME="todayissues" -->
606
607     <!-- TMPL_LOOP NAME="todayissues" -->
608     <!-- TMPL_IF NAME="togglecolor" -->
609     <tr>
610     <!-- TMPL_ELSE -->
611     <tr class="highlight">
612     <!-- /TMPL_IF -->
613         <td><!-- TMPL_VAR NAME="dd" --></td>
614         <td>
615         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
616        <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
617         <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
618         </td>
619         <td>
620             <!-- TMPL_VAR NAME="itemtype" -->
621             <!-- TMPL_IF NAME="itemtype_image" -->
622             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
623             <!-- /TMPL_IF -->
624         </td>
625         <td><!-- TMPL_VAR NAME="classification" --></td>
626         <td><!-- TMPL_VAR NAME="barcode" --></td>
627         <td>
628         <!-- TMPL_IF NAME="od" -->
629             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
630         <!-- TMPL_ELSE -->
631             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
632         <!-- /TMPL_IF -->
633         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
634         </td>
635                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
636     </tr>
637     <!-- /TMPL_LOOP --> <!-- /loop todayissues -->
638     <!-- /TMPL_IF --> <!-- /if todayissues -->
639 <!-- TMPL_IF NAME="previssues" -->
640     <tr>
641         <th colspan="7"><a name="previous" id="previous">Previous checkouts</a></th>
642     </tr>
643     <!-- TMPL_LOOP NAME="previssues" -->
644     <!-- TMPL_IF NAME="togglecolor" -->
645         <tr>
646     <!-- TMPL_ELSE -->
647         <tr class="highlight">
648     <!-- /TMPL_IF -->
649         <td>
650         <!-- TMPL_VAR NAME="dd" -->
651         </td>
652         <td>
653         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
654         <br /><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
655         </td>
656         <td>
657             <!-- TMPL_VAR NAME="itemtype" -->
658             <!-- TMPL_IF NAME="itemtype_image" -->
659             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
660             <!-- /TMPL_IF -->
661         </td>
662         <td><!-- TMPL_VAR NAME="classification" --></td>
663         <td><!-- TMPL_VAR NAME="barcode" --></td>
664         <td>
665         <!-- TMPL_IF NAME="od" -->
666             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
667         <!-- TMPL_ELSE -->
668             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
669         <!-- /TMPL_IF -->
670         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
671         </td>
672                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
673     </tr>
674     <!-- /TMPL_LOOP --> <!-- /loop previssues -->
675 <!-- /TMPL_IF --> <!--/if previssues -->
676     </table>
677         <!--TMPL_IF NAME="issuecount"-->
678     <div id="action">
679     <input type="submit" name="renew_checked" value="Renew Checked Items" />
680     <input type="submit" name="renew_all" value="Renew All" />
681     </div>
682         <!-- /TMPL_IF -->
683 </form>
684 <!-- TMPL_ELSE -->
685 <p>Patron has nothing checked out.</p>
686 <!-- /TMPL_IF -->
687 </div>
688
689
690 <div id="reserves">
691 <!-- TMPL_IF NAME="reservloop" -->
692     <table>
693         <tr>
694             <th>Hold date</th>
695             <th>Status</th>
696             <th>Title</th>
697             <th>Author</th>
698             <th>Call Number</th>
699         </tr>
700         <!-- TMPL_LOOP NAME="reservloop" -->
701         <tr class="<!-- TMPL_VAR NAME="color" -->">
702                     <td>
703                         <!-- TMPL_VAR NAME="reservedate" -->
704                     </td>
705                     <td>
706                         <!-- TMPL_IF name="barcodereserv" --><!-- TMPL_VAR NAME="barcodereserv" -->
707                         <!-- /TMPL_IF -->
708                         <!-- TMPL_IF NAME="waitingposition" -->
709                         Hold priority :
710                         <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
711                         <!-- /TMPL_IF -->
712                     </td>
713                     <td>
714                         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
715
716                         <!-- TMPL_IF name="waiting" -->
717                         <br />
718                         <i>This hold is available</i>
719                         <!-- /TMPL_IF -->
720                         <!-- TMPL_IF name="transfered" -->
721                         <br />
722                         <i>This hold has been transfered from library : 
723                         <!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
724                         <!-- /TMPL_IF -->
725
726                         <!-- TMPL_IF name="nottransfered" -->
727                         <br />
728                         <i>This hold hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
729                         <!-- /TMPL_IF -->
730                     </td>
731                     <td><!-- TMPL_VAR NAME="author" --></td>
732                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
733             </tr>
734         <!-- /TMPL_LOOP -->
735     </table>
736         <!-- TMPL_ELSE -->
737         <p>Patron has no pending holds.</p>
738 <!-- /TMPL_IF -->
739 </div> <!-- reservesloop -->
740
741 <!-- /TMPL_IF --> <!-- borrowernumber -->
742 </div></div>
743 <!--/TMPL_IF -->
744
745
746
747 </div>
748 </div>
749 <div class="yui-b">
750 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
751 </div>
752 </div>
753 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->