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