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