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