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