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