New basic page structure implemented for circ pages: global main menu in the header...
[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
10     /**
11     *  MoreBorrowerDetails();
12     *  This function displays or not borrower information.
13     */
14     function MoreBorrowerDetails() {
15         var div = document.getElementById('BorrowerDetails');
16         if(div.getAttribute('class') == "content_visible"){
17             div.removeAttribute('class');
18             div.setAttribute('class',"content_hidden");
19         }
20         else {
21             div.setAttribute('class',"content_visible");
22             div.setAttribute('style',"height:180px;");
23         }
24     }
25     /**
26     *  active(numlayer)
27     *  This function activate the numlayer div.
28     */
29     function active(numlayer){
30         for (i=0; i <= 1 ; i++ ) {
31             var tab;
32             try{
33                 tab = document.getElementById(i+'XX');
34                 tab.getAttribute('id'); // that throw an exception.
35             }
36             catch(e){
37                 continue; // go to the next step.
38             }
39             if (numlayer==i) {
40                 tab.setAttribute("class","content_visible");
41                 var tabactive=document.getElementById('link'+i);
42                 tabactive.removeAttribute("class");
43                 tabactive.setAttribute("class","tab_active");
44             } else {
45                 tab.setAttribute("class","content_hidden");
46                 try {
47                     var tabactive=document.getElementById('link'+i);
48                     tabactive.removeAttribute("class");
49                     tabactive.setAttribute("class","tab_inactive");
50                 }
51                 catch(e){};
52             }
53         }
54     }
55
56 </script>
57
58 </head>
59 <body>
60
61 <!-- TMPL_INCLUDE NAME="header.inc" -->
62 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
63
64 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation.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>
65
66 <div id="doc3" class="yui-t2">
67    
68    <div id="bd">
69         <div id="yui-main">
70         <div class="yui-b"><div class="yui-g">
71
72 <!-- TMPL_IF NAME="borrowernumber" -->
73     <h1>Checkouts</h1>
74 <!-- TMPL_ELSE -->
75 <!--     <h1>Circulation &rsaquo; Checkouts</h1> -->
76 <!-- /TMPL_IF -->
77
78 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
79 <!-- Branch: <a href="/cgi-bin/koha/circ/selectbranchprinter.pl" title="change"><!-- TMPL_VAR NAME="branchname"--></a>
80 <!-- TMPL_IF name="printername" --> | Printer: <!-- TMPL_VAR NAME="printername" --><!-- /TMPL_IF -->-->
81
82 <!-- TMPL_IF NAME="borrowernumber" -->
83
84 <div id="BorrowerDetails">
85         <fieldset>
86             <legend><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
87             </legend>
88             <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">details</a>
89                 / <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&amp;modify=edit&amp;destination=circ&categorycode=<!-- TMPL_VAR name="categorycode" -->">edit</a>
90         <p>
91         <!--TMPL_IF Name="warndeparture"--><p class="problem"> Patron card expires on <!-- TMPL_VAR name="warndeparture" -->.</p><!--/TMPL_IF-->
92         <!-- TMPL_IF NAME="streetaddress"-->
93             <!-- TMPL_VAR NAME="streetaddress" -->,
94         <!-- TMPL_ELSE -->
95             <span class="problem">No address stored for patron.</span>
96         <!-- /TMPL_IF -->
97         <!-- TMPL_IF NAME="city" -->
98             <!-- TMPL_VAR NAME="city" -->
99         <!-- TMPL_ELSE -->
100             No city stored.
101         <!-- /TMPL_IF -->
102     <!--TMPL_IF NAME="phone" -->
103         <!-- TMPL_VAR NAME="phone" -->
104     <!-- TMPL_ELSE -->
105         <span class="problem">No phone stored.</span>    
106     <!-- /TMPL_IF -->
107     </p>
108     <!-- TMPL_IF NAME="emailaddress" -->
109     <a href="mailto:<!-- TMPL_VAR NAME="emailaddress" -->"><!-- TMPL_VAR NAME="emailaddress" --></a>
110     <!-- /TMPL_IF -->
111     <p>Category: <!-- TMPL_VAR name="categorycode" --></p>
112     </fieldset>
113     <!-- TMPL_IF NAME="overduecount" -->
114         <span class="problem"><b><big>This borrower has <!-- TMPL_VAR name="overduecount" --> overdue(s) items</big></b></span>
115     <!--/TMPL_IF-->
116     <!-- TMPL_IF NAME="flagged" -->
117         <fieldset>
118             <legend class="problem">Warning</legend>
119             <!-- TMPL_IF NAME="gna" -->
120                 <p>Address: Patron's address in doubt</p>
121             <!-- /TMPL_IF -->
122         
123             <!-- TMPL_IF NAME="lost" -->
124                 <p>Lost: Patron's card is lost</p>
125             <!-- /TMPL_IF -->
126         
127             <!-- TMPL_IF NAME="dbarred" -->
128                 <p>
129                 Restricted: 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>
130                 </p>
131             <!-- /TMPL_IF -->
132         
133             <!-- TMPL_IF name="odues" -->
134             <p>
135                 <!-- TMPL_IF name="nonreturns" -->
136             Overdues: See highlighted items <a href="JavaScript:active(1)">below</a>
137                 <!-- /TMPL_IF -->
138             </p>
139             <!-- /TMPL_IF --> <!-- odues -->
140         
141             <!-- TMPL_IF NAME="charges" -->
142             <p>
143             Fines: Patron has 
144             <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Outstanding fines</a>.
145             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a>
146             </p>
147             <!-- /TMPL_IF -->
148             <!-- this part must be removed if we keep the new waiting infos display-->
149             <!-- TMPL_IF NAME="waiting" -->
150             <p>
151             Reserves waiting:
152                 <!-- TMPL_LOOP name="itemswaiting" -->
153                 <li>
154                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR name="title" --></a>
155                 (<!-- TMPL_VAR name="barcode" --> -- <!-- TMPL_VAR name="branchname" -->)
156                 </li>
157                 <!-- /TMPL_LOOP --> <!-- itemswaiting -->
158             </p>
159             <!-- /TMPL_IF --> <!-- waiting -->
160             <!-- end of this part must be removed if we keep the new waiting infos display-->
161         
162             <!-- TMPL_IF name="notes" -->
163             <p>Notes: <!-- TMPL_VAR name="notesmsg" --></p>
164             <!-- /TMPL_IF --> <!-- notes -->
165         </fieldset>
166     <!-- /TMPL_IF --> <!-- flagged -->
167
168 </div> <!-- id=BorrowerDetails -->
169 <!-- TMPL_ELSE --> <!-- borrowernumber -->
170
171 <!-- TMPL_UNLESS NAME="CGIselectborrower"-->
172 <!-- No card entered yet -->
173 <!-- <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform" id="mainform">
174 <fieldset id="circ_circulation_borrower_search">
175     <legend>Search for a patron</legend>
176
177     <p>
178     <label for="findborrower">Enter patron card number or partial name: </label>
179     <input id="findborrower" name="findborrower" type="text" size="40" class="focus" />
180     </p>
181
182     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
183     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
184     <input type="submit" value="Submit" />
185 </fieldset>
186 </form> -->
187 <!-- /TMPL_UNLESS -->
188 <!-- /TMPL_IF --> <!-- borrowernumber -->
189
190 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
191 <fieldset id="circ_circulation_needsconfirmation">
192 <legend>Please Confirm Checkout</legend>
193
194 <ul>
195 <!-- TMPL_IF NAME="DEBT" -->
196     <li>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></li>
197 <!-- /TMPL_IF -->
198
199 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
200     <li>Item is currently issued to this patron.  Renew?</li>
201 <!-- /TMPL_IF -->
202
203 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
204     <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
205 <!-- /TMPL_IF -->
206
207 <!-- TMPL_IF NAME="RESERVED" -->
208     <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
209 <!-- /TMPL_IF -->
210
211 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
212     <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</li>
213 <!-- /TMPL_IF -->
214
215 <!-- TMPL_IF NAME="TOO_MANY" -->
216     <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
217 <!-- /TMPL_IF -->
218 </ul>
219
220 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
221     
222 <!-- TMPL_IF NAME="RESERVED" -->
223     <p>
224     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
225     <label for="cancelreserve">Cancel Reserve</label>
226     </p>
227 <!-- /TMPL_IF -->
228
229 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
230     <p>
231     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
232     <label for="cancelreserve">Cancel Reserve</label>
233     </p>
234 <!-- /TMPL_IF -->
235
236     <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
237     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
238     <input type="hidden" name="issueconfirmed" value="1" />
239     <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
240     <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
241     <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
242     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
243
244     <div id="action">
245     <input type="submit" value="Confirm Checkout" accesskey="y" />
246     </div>
247
248 </form>
249
250 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
251     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
252
253     <div id="action">
254     <input type="submit" value="Don't Checkout" accesskey="n" />
255     </div>
256 </form>
257
258 </fieldset>
259
260 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
261
262 <!-- TMPL_IF NAME="issued" -->
263 <p>Item Checked out</p>
264 <!-- /TMPL_IF -->
265
266 <!-- TMPL_IF NAME="message" -->
267 <p>
268 No patron matched <!-- TMPL_VAR name="message" -->
269 <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=A" />Add adult</a>
270 <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=C" />Add child</a>  
271 </p>
272 <!-- /TMPL_IF -->
273
274
275 <!-- TMPL_IF NAME="CGIselectborrower" -->
276 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
277 <fieldset id="circ_circulation_selectborrower">
278     <legend>Patron selection</legend>
279
280     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
281     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
282
283     <p>
284     <label for="borrowernumber">Select a patron: </label>
285     <!-- TMPL_VAR name="CGIselectborrower" -->
286     </p>
287
288     <p><input type="submit" value="Select" /></p>
289
290     <p>
291     Patron not found?
292     <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=A" />Add adult</a>
293     <a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=C" />Add child</a>
294     or <a href="JavaScript:back();">try another search</a>
295     </p>
296 </fieldset>
297 </form>
298 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
299
300 <!-- BARCODE ENTRY -->
301
302 <!-- TMPL_IF NAME="borrowernumber" -->
303 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
304 <fieldset id="circ_circulation_issue">
305     <legend>Checkout an item</legend>
306
307     <p>
308     <label for="barcode">Enter item barcode: </label><input type="text" name="barcode" class="focus" size="14" />
309     
310         <!-- RESULT OF ISSUING REQUEST -->
311         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
312         <ul>
313         <!-- TMPL_IF NAME="INVALID_DATE" -->
314             <li><span class="problem">The due date is invalid</span></li>
315         <!-- /TMPL_IF -->  
316         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
317             <li><span class="problem">The barcode was not found</span></li>
318         <!-- /TMPL_IF -->
319
320         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
321             <li><span class="problem">Item not for loan</span></li>
322         <!-- /TMPL_IF -->
323
324         <!-- TMPL_IF NAME="WTHDRAWN" -->
325             <li><span class="problem">Item is cancelled</span></li>
326         <!-- /TMPL_IF -->
327
328         <!-- TMPL_IF NAME="GNA" -->
329             <li><span class="problem">Patron's address is in doubt</span></li>
330         <!-- /TMPL_IF -->
331
332         <!-- TMPL_IF NAME="CARD_LOST" -->
333             <li><span class="problem">Patron's card is lost</span></li>
334         <!-- /TMPL_IF -->
335
336         <!-- TMPL_IF NAME="DEBARRED" -->
337             <li><span class="problem">Patron is restricted</span></li>
338         <!-- /TMPL_IF -->
339
340         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
341             <li><span class="problem">No more renewals possible</span></li>
342         <!-- /TMPL_IF -->
343
344         <!-- TMPL_IF NAME="EXPIRED" -->
345             <li><span class="problem">Patron's card is expired</span></li>
346         <!-- /TMPL_IF -->
347         </ul>
348 </p>
349     <!-- TMPL_IF NAME="memberofinstution" -->
350     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
351     <!-- /TMPL_IF -->
352
353     <!--/TMPL_IF --> <!-- impossible -->
354     <p><label for="day">Specify due date: </label>
355         <select name="day" id="day">
356             <option value="0">Day</option>
357             <!-- TMPL_IF NAME="day1" -->
358                 <option value="1" selected="selected">1</option>
359             <!-- TMPL_ELSE -->
360                 <option value="1">1</option>
361             <!-- /TMPL_IF -->
362             
363             <!-- TMPL_IF NAME="day2" -->
364                 <option value="2" selected="selected">2</option>
365             <!-- TMPL_ELSE -->
366                 <option value="2">2</option>
367             <!-- /TMPL_IF -->
368             
369             <!-- TMPL_IF NAME="day3" -->
370                 <option value="3" selected="selected">3</option>
371             <!-- TMPL_ELSE -->
372                 <option value="3">3</option>
373             <!-- /TMPL_IF -->
374             
375             <!-- TMPL_IF NAME="day4" -->
376                 <option value="4" selected="selected">4</option>
377             <!-- TMPL_ELSE -->
378                 <option value="4">4</option>
379             <!-- /TMPL_IF -->
380             
381             <!-- TMPL_IF NAME="day5" -->
382                 <option value="5" selected="selected">5</option>
383             <!-- TMPL_ELSE -->
384                 <option value="5">5</option>
385             <!-- /TMPL_IF -->
386             
387             <!-- TMPL_IF NAME="day6" -->
388                 <option value="6" selected="selected">6</option>
389             <!-- TMPL_ELSE -->
390                 <option value="6">6</option>
391             <!-- /TMPL_IF -->
392             
393             <!-- TMPL_IF NAME="day7" -->
394                 <option value="7" selected="selected">7</option>
395             <!-- TMPL_ELSE -->
396                 <option value="7">7</option>
397             <!-- /TMPL_IF -->
398             
399             <!-- TMPL_IF NAME="day8" -->
400                 <option value="8" selected="selected">8</option>
401             <!-- TMPL_ELSE -->
402                 <option value="8">8</option>
403             <!-- /TMPL_IF -->
404             
405             <!-- TMPL_IF NAME="day9" -->
406                 <option value="9" selected="selected">9</option>
407             <!-- TMPL_ELSE -->
408                 <option value="9">9</option>
409             <!-- /TMPL_IF -->
410             
411             <!-- TMPL_IF NAME="day10" -->
412                 <option value="10" selected="selected">10</option>
413             <!-- TMPL_ELSE -->
414                 <option value="10">10</option>
415             <!-- /TMPL_IF -->
416             
417             <!-- TMPL_IF NAME="day11" -->
418                 <option value="11" selected="selected">11</option>
419             <!-- TMPL_ELSE -->
420                 <option value="11">11</option>
421             <!-- /TMPL_IF -->
422             
423             <!-- TMPL_IF NAME="day12" -->
424                 <option value="12" selected="selected">12</option>
425             <!-- TMPL_ELSE -->
426                 <option value="12">12</option>
427             <!-- /TMPL_IF -->
428             
429             <!-- TMPL_IF NAME="day13" -->
430                 <option value="13" selected="selected">13</option>
431             <!-- TMPL_ELSE -->
432                 <option value="13">13</option>
433             <!-- /TMPL_IF -->
434             
435             <!-- TMPL_IF NAME="day14" -->
436                 <option value="14" selected="selected">14</option>
437             <!-- TMPL_ELSE -->
438                 <option value="14">14</option>
439             <!-- /TMPL_IF -->
440             
441             <!-- TMPL_IF NAME="day15" -->
442                 <option value="15" selected="selected">15</option>
443             <!-- TMPL_ELSE -->
444                 <option value="15">15</option>
445             <!-- /TMPL_IF -->
446             
447             <!-- TMPL_IF NAME="day16" -->
448                 <option value="16" selected="selected">16</option>
449             <!-- TMPL_ELSE -->
450                 <option value="16">16</option>
451             <!-- /TMPL_IF -->
452             
453             <!-- TMPL_IF NAME="day17" -->
454                 <option value="17" selected="selected">17</option>
455             <!-- TMPL_ELSE -->
456                 <option value="17">17</option>
457             <!-- /TMPL_IF -->
458             
459             <!-- TMPL_IF NAME="day18" -->
460                 <option value="18" selected="selected">18</option>
461             <!-- TMPL_ELSE -->
462                 <option value="18">18</option>
463             <!-- /TMPL_IF -->
464             
465             <!-- TMPL_IF NAME="day19" -->
466                 <option value="19" selected="selected">19</option>
467             <!-- TMPL_ELSE -->
468                 <option value="19">19</option>
469             <!-- /TMPL_IF -->
470             
471             <!-- TMPL_IF NAME="day20" -->
472                 <option value="20" selected="selected">20</option>
473             <!-- TMPL_ELSE -->
474                 <option value="20">20</option>
475             <!-- /TMPL_IF -->
476             
477             <!-- TMPL_IF NAME="day21" -->
478                 <option value="21" selected="selected">21</option>
479             <!-- TMPL_ELSE -->
480                 <option value="21">21</option>
481             <!-- /TMPL_IF -->
482             
483             <!-- TMPL_IF NAME="day22" -->
484                 <option value="22" selected="selected">22</option>
485             <!-- TMPL_ELSE -->
486                 <option value="22">22</option>
487             <!-- /TMPL_IF -->
488             
489             <!-- TMPL_IF NAME="day23" -->
490                 <option value="23" selected="selected">23</option>
491             <!-- TMPL_ELSE -->
492                 <option value="23">23</option>
493             <!-- /TMPL_IF -->
494             
495             <!-- TMPL_IF NAME="day24" -->
496                 <option value="24" selected="selected">24</option>
497             <!-- TMPL_ELSE -->
498                 <option value="24">24</option>
499             <!-- /TMPL_IF -->
500             
501             <!-- TMPL_IF NAME="day25" -->
502                 <option value="25" selected="selected">25</option>
503             <!-- TMPL_ELSE -->
504                 <option value="25">25</option>
505             <!-- /TMPL_IF -->
506             
507             <!-- TMPL_IF NAME="day26" -->
508                 <option value="26" selected="selected">26</option>
509             <!-- TMPL_ELSE -->
510                 <option value="26">26</option>
511             <!-- /TMPL_IF -->
512             
513             <!-- TMPL_IF NAME="day27" -->
514                 <option value="27" selected="selected">27</option>
515             <!-- TMPL_ELSE -->
516                 <option value="27">27</option>
517             <!-- /TMPL_IF -->
518             
519             <!-- TMPL_IF NAME="day28" -->
520                 <option value="28" selected="selected">28</option>
521             <!-- TMPL_ELSE -->
522                 <option value="28">28</option>
523             <!-- /TMPL_IF -->
524             
525             <!-- TMPL_IF NAME="day29" -->
526                 <option value="29" selected="selected">29</option>
527             <!-- TMPL_ELSE -->
528                 <option value="29">29</option>
529             <!-- /TMPL_IF -->
530             
531             <!-- TMPL_IF NAME="day30" -->
532                 <option value="30" selected="selected">30</option>
533             <!-- TMPL_ELSE -->
534                 <option value="30">30</option>
535             <!-- /TMPL_IF -->
536             
537             <!-- TMPL_IF NAME="day31" -->
538                 <option value="31" selected="selected">31</option>
539             <!-- TMPL_ELSE -->
540                 <option value="31">31</option>
541             <!-- /TMPL_IF -->
542             </select>
543         
544         <select name="month">
545             <option value="0">Month</option>
546             <!-- TMPL_IF NAME="month1" -->
547                 <option value="1" selected="selected">Jan</option>
548             <!-- TMPL_ELSE -->
549                 <option value="1">Jan</option>
550             <!-- /TMPL_IF -->
551             
552             <!-- TMPL_IF NAME="month2" -->
553                 <option value="2" selected="selected">Feb</option>
554             <!-- TMPL_ELSE -->
555                 <option value="2">Feb</option>
556             <!-- /TMPL_IF -->
557             
558             <!-- TMPL_IF NAME="month3" -->
559                 <option value="3" selected="selected">Mar</option>
560             <!-- TMPL_ELSE -->
561                 <option value="3">Mar</option>
562             <!-- /TMPL_IF -->
563             
564             <!-- TMPL_IF NAME="month4" -->
565                 <option value="4" selected="selected">Apr</option>
566             <!-- TMPL_ELSE -->
567                 <option value="4">Apr</option>
568             <!-- /TMPL_IF -->
569             
570             <!-- TMPL_IF NAME="month5" -->
571                 <option value="5" selected="selected">May</option>
572             <!-- TMPL_ELSE -->
573                 <option value="5">May</option>
574             <!-- /TMPL_IF -->
575             
576             <!-- TMPL_IF NAME="month6" -->
577                 <option value="6" selected="selected">Jun</option>
578             <!-- TMPL_ELSE -->
579                 <option value="6">Jun</option>
580             <!-- /TMPL_IF -->
581             
582             <!-- TMPL_IF NAME="month7" -->
583                 <option value="7" selected="selected">Jul</option>
584             <!-- TMPL_ELSE -->
585                 <option value="7">Jul</option>
586             <!-- /TMPL_IF -->
587             
588             <!-- TMPL_IF NAME="month8" -->
589                 <option value="8" selected="selected">Aug</option>
590             <!-- TMPL_ELSE -->
591                 <option value="8">Aug</option>
592             <!-- /TMPL_IF -->
593             
594             <!-- TMPL_IF NAME="month9" -->
595                 <option value="9" selected="selected">Sep</option>
596             <!-- TMPL_ELSE -->
597                 <option value="9">Sep</option>
598             <!-- /TMPL_IF -->
599             
600             <!-- TMPL_IF NAME="month10" -->
601                 <option value="10" selected="selected">Oct</option>
602             <!-- TMPL_ELSE -->
603                 <option value="10">Oct</option>
604             <!-- /TMPL_IF -->
605             
606             <!-- TMPL_IF NAME="month11" -->
607                 <option value="11" selected="selected">Nov</option>
608             <!-- TMPL_ELSE -->
609                 <option value="11">Nov</option>
610             <!-- /TMPL_IF -->
611             
612             <!-- TMPL_IF NAME="month12" -->
613                 <option value="12" selected="selected">Dec</option>
614             <!-- TMPL_ELSE -->
615                 <option value="12">Dec</option>
616             <!-- /TMPL_IF -->
617         </select>
618             
619         <select name="year">
620             <option value="0">Year</option>
621             <!-- TMPL_IF NAME="year2007" -->
622                 <option value="2007" selected="selected">2007</option>
623             <!-- TMPL_ELSE -->
624                 <option value="2007">2007</option>
625             <!-- /TMPL_IF -->
626             <!-- TMPL_IF NAME="year2008" -->
627                 <option value="2008" selected="selected">2008</option>
628             <!-- TMPL_ELSE -->
629                 <option value="2008">2008</option>
630             <!-- /TMPL_IF -->
631             <!-- TMPL_IF NAME="year2009" -->
632                 <option value="2009" selected="selected">2009</option>
633             <!-- TMPL_ELSE -->
634                 <option value="2009">2009</option>
635             <!-- /TMPL_IF -->
636             <!-- TMPL_IF NAME="year2010" -->
637                 <option value="2010" selected="selected">2010</option>
638             <!-- TMPL_ELSE -->
639                 <option value="2010">2010</option>
640             <!-- /TMPL_IF -->
641         <!-- TMPL_IF NAME="year2011" -->
642                 <option value="2011" selected="selected">2011</option>
643             <!-- TMPL_ELSE -->
644                 <option value="2011">2011</option>
645             <!-- /TMPL_IF -->   
646         </select>
647         
648         <label for="stickyduedate">
649         <!-- TMPL_IF NAME="stickyduedate" -->
650             <input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> checked="checked" />
651             Remember due date for this patron
652 <!-- TMPL_ELSE -->
653             <input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> />
654 <!-- /TMPL_IF -->
655             </label>
656         </p>
657
658     <input type="hidden" name="day" value="0" />
659     <input type="hidden" name="month" value="0" />
660     <input type="hidden" name="year" value="0" />
661     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
662     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
663     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
664     <input type="hidden" name="print" value="maybe" />
665     <!-- TMPL_IF NAME="CHARGES" -->
666     <input type="hidden" name="charges" value="yes" />
667     <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
668     <!-- /TMPL_IF -->
669
670     <div id="action">
671     <input type="submit" value="Issue" />
672     </div>
673
674 </fieldset>
675 </form>
676
677 <!-- TMPL_IF NAME="WaitingReserveLoop" -->      
678 <fieldset id="circ_circulation_issue">
679     <legend class="problem">Holds waiting</legend>
680         This patron has holds waiting:
681         <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
682         <p>
683             <ul> 
684                 <li> <!-- TMPL_VAR NAME="title"--> (<!-- TMPL_VAR NAME="itemtype"-->), author : <!-- TMPL_VAR NAME="author"-->, reserved the : <!-- TMPL_VAR NAME="reservedate"--> 
685             <!-- TMPL_IF NAME="waitingat" -->
686                 waiting at : <!-- TMPL_VAR NAME="waitingat" --> 
687             <!-- /TMPL_IF -->
688                 </li>
689             </ul>
690         </p>
691     <!-- /TMPL_LOOP -->
692 </fieldset>
693
694 <!-- /TMPL_IF -->
695
696 <div id="tabs">
697     <h2><!-- TMPL_VAR NAME="firstname"--> <!-- TMPL_VAR NAME="surname"--> (<!-- TMPL_VAR NAME="cardnumber"-->) has</h2>
698     <!-- TMPL_IF NAME="countreserv"-->
699         <a href="javascript:active(0)" class="tab_inactive" id="link0">
700             <!--TMPL_VAR NAME="countreserv"--> reserve(s)
701         </a>
702     <!-- TMPL_ELSE -->
703         <a href="#" class="tab_inactive">
704             0 reserves
705         </a>
706     <!-- /TMPL_IF -->
707     
708     <!--TMPL_IF NAME="issuecount"-->
709         <a href="javascript:active(1)" class="tab_inactive" id="link1">
710             <!-- TMPL_VAR NAME="issuecount"--> issue(s)
711         </a>
712     <!-- TMPL_ELSE -->
713         <a href="#" class="tab_inactive">
714             0 issue(s)
715         </a>
716     <!-- /TMPL_IF -->
717 </div>
718
719 <!-- TMPL_IF NAME="reservloop" -->
720 <div id="0XX" class="content_hidden">
721     <table>
722         <tr>
723             <th>Reserve date</th>
724             <th>Barcode</th>
725             <th>Title</th>
726             <th>Author</th>
727             <th>Localisation</th>
728         </tr>
729         <!-- TMPL_LOOP NAME="reservloop" -->
730         <tr class="<!-- TMPL_VAR NAME="color" -->">
731                     <td>
732                         <!-- TMPL_VAR NAME="reservedate" -->
733                     </td>
734                     <td>
735                         <!-- TMPL_IF name="barcodereserv" -->
736                         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcodereserv" --></a>
737                         <!-- /TMPL_IF -->
738                         <!-- TMPL_IF NAME="waitingposition" -->
739                         Hold priority :
740                         <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
741                         <!-- /TMPL_IF -->
742                     </td>
743                     <td>
744                         <!-- TMPL_VAR NAME="title" --> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
745
746                         <!-- TMPL_IF name="waiting" -->
747                         <br />
748                         <i>This hold is available</i>
749                         <!-- /TMPL_IF -->
750                         <!-- TMPL_IF name="transfered" -->
751                         <br />
752                         <i>This hold has been transfered from library : 
753                         <!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
754                         <!-- /TMPL_IF -->
755
756                         <!-- TMPL_IF name="nottransfered" -->
757                         <br />
758                         <i>This hold hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
759                         <!-- /TMPL_IF -->
760                     </td>
761                     <td><!-- TMPL_VAR NAME="author" --></td>
762                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
763             </tr>
764         <!-- /TMPL_LOOP -->
765     </table>
766 </div>
767 <!-- /TMPL_IF --> <!-- reservesloop -->
768 <!-- /TMPL_IF --> <!-- borrowernumber -->
769
770 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
771 <!-- TMPL_IF NAME="borrowernumber" -->
772 <div id="1XX">
773     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
774     <p>
775     <span class="click" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page')">Print Page</span>
776     / <span class="click" onclick="window.open('/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip')">Print Slip</span>
777     </p>
778     
779     <input type="hidden" value="circ" name="destination" />
780     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
781     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
782     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />       
783     
784 <!-- TMPL_IF NAME="todayissues" -->
785     <table>
786     <tr>
787         <th>Title</th>
788         <th>Due date</th>
789         <th>Itemtype</th>
790         <th>Call no</th>
791         <th>Barcode</th>
792         <th>Renew?</th>
793     </tr>
794     
795     <tr>
796         <th colspan="6"><a name="today" id="today">Today checkouts</a></th>
797     </tr>
798     <!-- TMPL_LOOP NAME="todayissues" -->
799     <!-- TMPL_IF NAME="togglecolor" -->
800     <tr>
801     <!-- TMPL_ELSE -->
802     <tr class="highlight">
803     <!-- /TMPL_IF -->
804         <td>
805         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
806         <br /><!-- TMPL_VAR NAME="author" -->
807         - <!-- TMPL_VAR name="itemnotes" -->
808         </td>
809         <td><!-- TMPL_VAR NAME="dd" --></td>
810         <td>
811             <!-- TMPL_VAR NAME="itemtype" -->
812             <!-- TMPL_IF NAME="itemtype_image" -->
813             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
814             <!-- /TMPL_IF -->
815         </td>
816         <td><!-- TMPL_VAR NAME="classification" --></td>
817         <td><!-- TMPL_VAR NAME="barcode" --></td>
818         <td>
819         <!-- TMPL_IF NAME="od" -->
820             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
821         <!-- TMPL_ELSE -->
822             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
823         <!-- /TMPL_IF -->
824         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
825         </td>
826     </tr>
827     <!-- /TMPL_LOOP --> <!-- todayissues -->
828     <!-- /TMPL_IF --> <!-- todayissues -->
829 <!-- TMPL_IF NAME="previssues" -->
830     <table>
831     <tr>
832         <th>Title</th>
833         <th>Due date</th>
834         <th>Itemtype</th>
835         <th>Call no</th>
836         <th>Barcode</th>
837         <th>Renew?</th>
838     </tr>
839     <tr>
840         <th colspan="6"><a name="previous" id="previous">Previous checkouts</a></th>
841     </tr>
842     <!-- TMPL_LOOP NAME="previssues" -->
843     <!-- TMPL_IF NAME="togglecolor" -->
844         <tr>
845     <!-- TMPL_ELSE -->
846         <tr class="highlight">
847     <!-- /TMPL_IF -->
848         <td>
849         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
850         <br /><!-- TMPL_VAR NAME="author" --> - <!-- TMPL_VAR name="itemnotes" -->
851         </td>
852         <td>
853         <!-- TMPL_VAR NAME="dd" -->
854         </td>
855         <td>
856             <!-- TMPL_VAR NAME="itemtype" -->
857             <!-- TMPL_IF NAME="itemtype_image" -->
858             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
859             <!-- /TMPL_IF -->
860         </td>
861         <td><!-- TMPL_VAR NAME="classification" --></td>
862         <td><!-- TMPL_VAR NAME="barcode" --></td>
863         <td>
864         <!-- TMPL_IF NAME="od" -->
865             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
866         <!-- TMPL_ELSE -->
867             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
868         <!-- /TMPL_IF -->
869         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
870         </td>
871     </tr>
872     <!-- /TMPL_LOOP --> <!-- previssues -->
873 <!-- /TMPL_IF --> <!-- previssues -->
874     </table>
875
876     <div id="action">
877     <input type="submit" name="renew_checked" value="Renew Checked Items" />
878     <input type="submit" name="renew_all" value="Renew All" />
879     </div>
880 </form>
881 </div>
882 <!-- /TMPL_IF --> <!-- borrowernumber -->
883 <!--/TMPL_IF -->
884
885
886
887 </div>
888 </div>
889 </div>
890
891 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
892 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->