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