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