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