Some formatting changes, bringing displays in circ and moremember more in line with...
[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" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pack.js"></script>
9 <script type="text/JavaScript" language="JavaScript">
10 //<![CDATA[
11 $.tablesorter.addParser({
12     id: 'articles', 
13     is: function(s) {return false;  }, 
14     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
15     type: 'text' 
16 });
17          $(document).ready(function() {
18                 $('#patronlists > ul').tabs();
19                 $("#issuest").tablesorter({
20                 sortList: [[1,0]],
21                 headers: { 1: { sorter: 'articles' },4:{sorter:false},5: { sorter: false },6:{sorter:false},7:{sorter:false}}
22         }); 
23          });
24 //]]>
25 </script>
26 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
27 </head>
28 <body>
29
30 <!-- TMPL_INCLUDE NAME="header.inc" -->
31 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
32
33 <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>
34
35 <!-- TMPL_IF NAME="CGIselectborrower" -->
36 <div id="doc" class="yui-t7">
37    
38    <div id="bd">
39         <div id="yui-main">
40         <div class="yui-g">
41 <!-- TMPL_ELSE -->
42 <div id="doc3" class="yui-t2">
43    
44    <div id="bd">
45         <div id="yui-main">
46         <div class="yui-b">
47 <!-- /TMPL_IF -->
48
49 <!-- TMPL_IF NAME="borrowernumber" -->
50 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
51 <!-- /TMPL_IF -->
52
53 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
54 <!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
55 <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
56 <div class="yui-g">
57
58 <div id="circ_needsconfirmation" class="dialog alert">
59 <h3>Please Confirm Checkout</h3>
60
61 <ul>
62 <!-- TMPL_IF NAME="DEBT" -->
63     <li>The patron has a debt of $<!-- TMPL_VAR name="DEBT" --></li>
64 <!-- /TMPL_IF -->
65
66 <!-- TMPL_IF NAME="RENEW_ISSUE" -->
67     <li>Item is currently checked out to this patron.  Renew?</li>
68 <!-- /TMPL_IF -->
69
70 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
71     <li>Item is consigned for <!-- TMPL_VAR NAME="RESERVE_WAITING" --></li>
72 <!-- /TMPL_IF -->
73
74 <!-- TMPL_IF NAME="RESERVED" -->
75     <li>Item is on reserve for <!-- TMPL_VAR NAME="RESERVED" --></li>
76 <!-- /TMPL_IF -->
77
78 <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
79     <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) checked out to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Check in and check out?</li>
80 <!-- /TMPL_IF -->
81
82 <!-- TMPL_IF NAME="TOO_MANY" -->
83     <li>Too many checked out (already checked out / max : <!-- TMPL_VAR name="TOO_MANY" -->)</li>
84 <!-- /TMPL_IF -->
85 </ul>
86
87 <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
88     
89 <!-- TMPL_IF NAME="RESERVED" -->
90     <p>
91     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
92     <label for="cancelreserve">Cancel Reserve</label>
93     </p>
94 <!-- /TMPL_IF -->
95
96 <!-- TMPL_IF NAME="RESERVE_WAITING" -->
97     <p>
98     <input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" />
99     <label for="cancelreserve">Cancel Reserve</label>
100     </p>
101 <!-- /TMPL_IF -->
102
103     <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
104     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
105     <input type="hidden" name="issueconfirmed" value="1" />
106         <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
107     <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
108     <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
109     <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
110     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
111     <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
112 </form>
113
114 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
115     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
116     <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
117 </form>
118
119 </div></div>
120 <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
121
122         <!-- TMPL_IF NAME="IMPOSSIBLE" -->
123 <div class="yui-g">
124 <div id="circ_impossible" class="dialog alert">
125 <!-- RESULT OF ISSUING REQUEST -->
126         <ul>
127         <!-- TMPL_IF NAME="STATS" -->
128             <li>Local Use Recorded</li>
129         <!-- /TMPL_IF -->
130
131         <!-- TMPL_IF NAME="INVALID_DATE" -->
132             <li>The due date is invalid</li>
133         <!-- /TMPL_IF -->  
134         <!-- TMPL_IF NAME="UNKNOWN_BARCODE" -->
135             <li>The barcode was not found</li>
136         <!-- /TMPL_IF -->
137
138         <!-- TMPL_IF NAME="NOT_FOR_LOAN" -->
139             <li>Item not for loan</li>
140         <!-- /TMPL_IF -->
141
142         <!-- TMPL_IF NAME="WTHDRAWN" -->
143             <li>Item has been withdrawn</li>
144         <!-- /TMPL_IF -->
145
146         <!-- TMPL_IF NAME="GNA" -->
147             <li>Patron's address is in doubt</li>
148         <!-- /TMPL_IF -->
149
150         <!-- TMPL_IF NAME="CARD_LOST" -->
151             <li>Patron's card is lost</li>
152         <!-- /TMPL_IF -->
153
154         <!-- TMPL_IF NAME="DEBARRED" -->
155             <li>Patron is restricted</li>
156         <!-- /TMPL_IF -->
157
158         <!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
159             <li>No more renewals possible</li>
160         <!-- /TMPL_IF -->
161
162         <!-- TMPL_IF NAME="EXPIRED" -->
163             <li>Patron's card is expired</li>
164         <!-- /TMPL_IF -->
165         
166         <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
167              <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
168         <!-- /TMPL_IF -->        
169         </ul>
170
171     <!-- TMPL_IF NAME="memberofinstution" -->
172     <p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
173     <!-- /TMPL_IF -->
174
175 </div></div>
176     <!--/TMPL_IF --> <!-- /impossible -->
177
178 <!-- TMPL_IF NAME="issued" -->
179 <p>Item Checked out</p>
180 <!-- /TMPL_IF -->
181
182 <!-- TMPL_IF NAME="message" -->
183 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
184 <h4>
185 No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
186 </h4>
187 <!-- /TMPL_IF -->
188
189
190 <!-- TMPL_IF NAME="CGIselectborrower" -->
191 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
192
193 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform">
194 <fieldset id="circ_circulation_selectborrower" class="brief">
195     <legend>Patron selection</legend>
196
197     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
198     <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
199
200 <ol>    <li>
201     <label for="borrowernumber">Select a patron: </label>
202     <!-- TMPL_VAR name="CGIselectborrower" -->
203     </li>
204 </ol>
205 <p><input type="submit" value="Select" /></p>
206 </fieldset>
207 </form>
208 <!-- TMPL_ELSE --> <!-- CGIselectborrower -->
209
210 <!-- BARCODE ENTRY -->
211
212 <!-- TMPL_IF NAME="borrowernumber" -->
213 <div class="yui-g">
214 <!-- TMPL_UNLESS NAME="noissues" -->
215 <!-- TMPL_IF NAME="flagged" -->
216 <div class="yui-u first">
217 <!-- TMPL_ELSE -->
218 <div><!-- /TMPL_IF --><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
219 <fieldset id="circ_circulation_issue">
220     <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
221         <div class="hint">Enter item barcode:</div>
222         
223         <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> <input type="submit" value="Check Out" />
224         
225     <div class="date-select">
226         <div class="hint">Specify Due Date:</div><input type="text" size="10" id="duedatespec" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />                                                        
227                 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar"  border="0" id="CalendarDueDate" style="cursor: pointer;" valign="top" />
228              <script language="JavaScript" type="text/javascript">
229                    function validate1(date) {
230                          var today = new Date();
231                          if ( date < today ) {
232                              return true;
233                           } else {
234                              return false;
235                           }
236                      };
237                      function refocus(calendar) {
238                         document.getElementById('barcode').focus();
239                         calendar.hide();
240                      };
241                                 //#TODO - ADD syspref (AllowPostDatedCheckouts).
242                      Calendar.setup(
243                           {
244                              inputField : "duedatespec",
245                              ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
246                              button : "CalendarDueDate",
247                              disableFunc : validate1,
248                              dateStatusFunc : validate1,
249                              onClose : refocus
250                            }
251                         );
252                  </script>
253
254           <label for="stickyduedate"> Remember for Session:</label>
255 <!-- TMPL_IF NAME="stickyduedate" -->
256 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="1" />
257 <!-- TMPL_ELSE -->
258 <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
259 <!-- /TMPL_IF -->
260           <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" />
261           <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
262           <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
263           <input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->" />
264           <input type="hidden" name="print" value="maybe" />
265                 <!-- TMPL_IF NAME="CHARGES" -->
266                         <input type="hidden" name="charges" value="yes" />
267                         <input type="hidden" name="oldamount" value="<!-- TMPL_VAR NAME="amountold" -->" />
268                 <!-- /TMPL_IF -->
269 </div>
270 </fieldset> 
271 </form></div><!-- /TMPL_UNLESS --><!-- /unless noissues -->
272
273 <!-- TMPL_IF NAME="noissues" --><div><!-- TMPL_ELSE --><div class="yui-u"><!-- /TMPL_IF -->
274         
275     <!-- TMPL_IF NAME="flagged" -->
276                 <!-- TMPL_IF NAME="noissues" -->
277                  <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h4>
278         <div id="circmessages" class="circmessage warning">
279                 <!-- TMPL_ELSE -->
280         <div id="circmessages" class="circmessage attention">
281                 <!-- /TMPL_IF -->
282                 
283                 <h3><!-- TMPL_IF NAME="noissues" -->Cannot Check Out!<!-- TMPL_ELSE -->Attention:<!-- /TMPL_IF --></h3>
284                 <ul>
285                 
286                         <!-- TMPL_IF NAME = "warndeparture" -->
287                         <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
288                         Patron's card expires on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?modify=edit&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Edit Details</a>
289                         
290                         </li>
291                         <!-- /TMPL_IF -->
292                         
293                         <!-- TMPL_IF NAME="returnbeforeexpiry" -->
294                          <li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the
295                          expiry date is before the date due, the date due will be set to the expiry date
296                          </li>
297                         <!-- /TMPL_IF -->
298
299                         <!-- TMPL_IF NAME = "expired" -->
300                         <li><span class="circ-hlt">Expiration:</span> Patron's card has expired.
301                         Patron's card expired on <!-- TMPL_VAR NAME="expiry" --> <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?modify=edit&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Edit Details</a>
302                         
303                         </li>
304                         <!-- /TMPL_IF -->
305
306             <!-- TMPL_IF NAME="gna" -->
307                         <li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li>
308                         <!-- /TMPL_IF -->
309                         
310             <!-- TMPL_IF NAME="lost" -->
311                         <li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li>
312                         <!-- /TMPL_IF -->
313                         
314             <!-- TMPL_IF NAME="dbarred" --><li class="blocker">
315                <span class="circ-hlt"> Restricted:</span> Patron's account is restricted <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&amp;destination=circ&amp;status=0">Lift restriction</a>
316 </li><!-- /TMPL_IF -->
317
318                 <!-- 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>
319             <!-- /TMPL_IF -->
320                         
321                 <!-- TMPL_IF NAME="charges" -->
322                         <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>.
323             Make <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->">Payment</a></li>
324                         <!-- /TMPL_IF -->
325
326                 <!-- TMPL_IF NAME="credits" -->
327                         <li><span class="circ-hlt">Credits:</span> Patron has a credit</li>
328                         <!-- /TMPL_IF -->
329
330                         
331
332                         </ul>
333         </div>
334
335                         <!-- TMPL_IF NAME="WaitingReserveLoop" -->      
336                         <div id="holdswaiting" class="circmessage">
337                     <h4>Holds waiting:</h4>
338                                 <!-- TMPL_LOOP NAME="WaitingReserveLoop" -->
339                                     <ul> 
340                                         <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"-->.
341                                     <!-- TMPL_IF NAME="waitingat" -->
342                                         Waiting at <!-- TMPL_VAR NAME="waitingat" -->   
343                                     <!-- /TMPL_IF -->
344                                         </li>
345                                     </ul>
346                             <!-- /TMPL_LOOP -->
347                         </div>
348                         <!-- /If WaitingReserveLoop --><!-- /TMPL_IF -->
349         <!-- TMPL_IF name="notes" -->
350                         <div id="circnotes" class="circmessage">
351                         <h4>Notes:</h4>
352             <p><!-- TMPL_VAR name="notesmsg" --></p>
353                         </div>
354     <!-- /If notes --><!-- /TMPL_IF --> 
355      <!-- /If flagged --><!-- /TMPL_IF -->
356
357
358 </div>
359 </div>
360
361 <div class="yui-g"><div id="patronlists" class="toptabs">
362
363 <ul>   
364 <li>    <!--TMPL_IF NAME="issuecount"-->
365             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a>
366     <!-- TMPL_ELSE -->
367             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
368     <!-- /TMPL_IF --></li>
369 <li><!-- TMPL_IF NAME="countreserv"-->
370             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Holds(s)</a>
371     <!-- TMPL_ELSE -->
372             <a href="/cgi-bin/koha/circ/circulation.pl#reserves">0 Holds</a>
373     <!-- /TMPL_IF --></li>
374  
375 </ul>
376
377 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
378 <div id="checkouts">
379 <!--TMPL_IF NAME="issuecount"-->
380     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
381     <input type="hidden" value="circ" name="destination" />
382     <input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
383     <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
384     <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />       
385         <table id="issuest">
386     <thead><tr>
387         <th>Due date</th>
388         <th>Title</th>
389         <th>Item Type</th>
390         <th>Call no</th>
391         <th>Barcode</th>
392         <th>Renew?</th>
393                 <th>Check In?</th>
394     </tr></thead>
395 <!-- TMPL_IF NAME="todayissues" -->
396
397     <!-- TMPL_LOOP NAME="todayissues" -->
398         <tbody>
399     <!-- TMPL_IF NAME="togglecolor" -->
400     <tr>
401     <!-- TMPL_ELSE -->
402     <tr class="highlight">
403     <!-- /TMPL_IF -->
404         <td><!-- TMPL_VAR NAME="dd" --></td>
405         <td>
406         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
407        <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
408         <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
409         </td>
410         <td>
411             <!-- TMPL_VAR NAME="itemtype" -->
412            <!-- TMPL_UNLESS NAME="noItemTypeImages" --> <!-- TMPL_IF NAME="itemtype_image" -->
413             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
414             <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
415         </td>
416         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
417         <td><!-- TMPL_VAR NAME="barcode" --></td>
418         <td>
419                 <!-- TMPL_IF NAME="can_renew" -->
420         <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
421         <!-- TMPL_IF NAME="od" -->
422             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
423         <!-- TMPL_ELSE -->
424             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
425         <!-- /TMPL_IF -->
426                 <!-- TMPL_ELSE -->
427                     <!-- TMPL_IF NAME="renew_error_on_reserve" -->
428                             On Hold
429                         <!-- /TMPL_IF -->
430                         <!-- TMPL_IF NAME="renew_error_too_many" -->
431                             Too Many Renewals
432                         <!-- /TMPL_IF -->
433                 <!-- /TMPL_IF -->
434         </td>
435                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
436                 <!-- TMPL_IF NAME="renew_failed" -->
437                 <td>Renewal Failed</td>
438                 <!-- /TMPL_IF -->
439     </tr>
440     <!-- /loop todayissues --><!-- /TMPL_LOOP --> 
441     <!-- /if todayissues --><!-- /TMPL_IF --> 
442 <!-- TMPL_IF NAME="previssues" -->
443 <!--     <tr>
444         <th colspan="7"><a name="previous" id="previous">Previous checkouts</a></th>
445     </tr> -->
446     <!-- TMPL_LOOP NAME="previssues" -->
447     <!-- TMPL_IF NAME="togglecolor" -->
448         <tr>
449     <!-- TMPL_ELSE -->
450         <tr class="highlight">
451     <!-- /TMPL_IF -->
452         <!-- TMPL_IF NAME="od" --><td class="od"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
453         <!-- TMPL_VAR NAME="dd" -->
454         </td>
455         <td>
456         <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra"><!-- TMPL_VAR NAME="title" --></a>
457         <br /><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="itemnotes" -->- <!-- TMPL_VAR name="itemnotes" --><!-- /TMPL_IF -->
458         </td>
459         <td>
460             <!-- TMPL_VAR NAME="itemtype" -->
461             <!-- TMPL_IF NAME="itemtype_image" -->
462             <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
463             <!-- /TMPL_IF -->
464         </td>
465         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
466         <td><!-- TMPL_VAR NAME="barcode" --></td>
467         <td>
468                 <!-- TMPL_IF NAME="can_renew" -->
469             <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
470         <!-- TMPL_IF NAME="od" -->
471             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
472         <!-- TMPL_ELSE -->
473             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
474         <!-- /TMPL_IF -->
475                 <!-- TMPL_ELSE -->
476                     <!-- TMPL_IF NAME="renew_error_on_reserve" -->
477                             On Hold
478                         <!-- /TMPL_IF -->
479                         <!-- TMPL_IF NAME="renew_error_too_many" -->
480                             Too Many Renewals
481                         <!-- /TMPL_IF -->
482                         
483                 <!-- /TMPL_IF -->
484         </td>
485                 <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
486                 <!-- TMPL_IF NAME="renew_failed" -->
487                 <td>Renewal Failed</td>
488                 <!-- /TMPL_IF -->
489
490     </tr>
491     <!-- /loop previssues --><!-- /TMPL_LOOP --> 
492 <!--/if previssues --><!-- /TMPL_IF --> 
493         </tbody>
494     </table>
495         <!--TMPL_IF NAME="issuecount"-->
496     <fieldset class="action">
497     <input type="submit" name="renew_checked" value="Renew Checked Items" />
498     <input type="submit" name="renew_all" value="Renew All" />
499     </fieldset>
500         <!-- /TMPL_IF -->
501 </form>
502 <!-- TMPL_ELSE -->
503 <p>Patron has nothing checked out.</p>
504 <!-- /TMPL_IF -->
505 </div>
506
507
508 <div id="reserves">
509 <!-- TMPL_IF NAME="reservloop" -->
510     <table>
511         <tr>
512             <th>Hold date</th>
513             <th>Title</th>
514             <th>Item Type</th>
515             <th>Call Number</th>
516                         <th>Barcode</th>
517             <th>Priority</th>
518         </tr>
519         <!-- TMPL_LOOP NAME="reservloop" -->
520         <tr class="<!-- TMPL_VAR NAME="color" -->">
521                     <td><!-- TMPL_VAR NAME="reservedate" --></td>
522                     <td>
523                         <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
524  </td>
525                                         <td><!-- TMPL_VAR NAME="itemtype" --></td>
526                     <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
527                                         <td><em><!-- TMPL_IF name="barcodereserv" -->Item <!-- TMPL_VAR NAME="barcodereserv" -->
528                         <!-- /TMPL_IF --><!-- TMPL_IF name="waiting" --> <strong>waiting</strong>
529                         <!-- /TMPL_IF -->
530                         <!-- TMPL_IF name="transfered" --> <strong>in transit</strong> from
531                         <!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" -->
532                         <!-- /TMPL_IF -->
533                         <!-- TMPL_IF name="nottransfered" --> hasn't been transfered yet from <!-- TMPL_VAR NAME="nottransferedby" --></i>
534                         <!-- /TMPL_IF --></em></td>
535                     <td>                    
536                         <!-- TMPL_IF NAME="waitingposition" -->
537                         Hold priority
538                         <b> <!-- TMPL_VAR NAME="waitingposition" --> </b><!-- /TMPL_IF -->
539                     </td>
540             </tr>
541         <!-- /TMPL_LOOP -->
542     </table>
543         <!-- TMPL_ELSE -->
544         <p>Patron has no pending holds.</p>
545 <!-- /TMPL_IF -->
546 </div> <!-- reservesloop -->
547
548 <!-- /TMPL_IF --> <!-- borrowernumber -->
549 </div></div>
550 <!--/TMPL_IF -->
551
552
553
554 </div>
555 </div>
556 <!-- TMPL_UNLESS NAME="CGIselectborrower" --><div class="yui-b">
557 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
558 </div><!-- /TMPL_UNLESS -->
559 </div>
560 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->