Enh 6403: Record local use stats when checking in unissued materials
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / returns.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Circulation &rsaquo; Check In [% title |html %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 //<![CDATA[
6 function Dopop(link) {
7     var newin=window.open(link,'popup','width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
8 }
9          $(document).ready(function() {
10                 $("#exemptcheck").change(function(){
11                         if(this.checked == true) {
12                                 $("#barcode").addClass("alert");
13                                 $("#exemptfines").show();
14                         } else {
15                                 $("#barcode").removeClass("alert");
16                                 $("#exemptfines").hide();
17                         }
18                         $("#barcode").focus();
19                 });
20                 $("#dropboxcheck").change(function(){
21                         if (this.checked == true) {
22                                 $("#barcode").addClass("alert");
23                                 $("#dropboxmode").show();
24                         } else {
25                                 $("#barcode").removeClass("alert");
26                                 $("#dropboxmode").hide();
27                         }
28                         $("#barcode").focus();
29                 });
30                 [% IF ( overduecharges ) %]$("#barcode").focus(function(){
31                         if(($("#exemptcheck").attr("checked") == true)||($("#dropboxcheck").attr("checked") == true)){
32                                 $("#barcode").addClass("alert");
33                         } else {
34                                 $("#barcode").removeClass("alert");
35                         }
36                 });
37                 $("#barcode").blur(function(){
38                         $("#barcode").removeClass("alert");
39                 });[% END %]
40          });
41 //]]>
42 </script>
43 </head>
44 <body>
45 [% INCLUDE 'header.inc' %]
46 [% INCLUDE 'checkin-search.inc' %]
47
48 <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; Check In</div>
49
50 <div id="doc" class="yui-t7">
51
52    <div id="bd">
53         <div id="yui-main">
54
55 <div class="yui-g">
56
57 [% IF ( collectionItemNeedsTransferred ) %]
58         <div class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div>
59 [% END %]
60
61 <!-- Patron has fines -->
62 [% IF ( fines ) %]
63     <div class="dialog alert">
64         <h3>Patron has outstanding fines of [% fines %].</h3>
65         <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p>
66     </div>
67 [% END %]
68
69 <!-- Patron has waiting holds -->
70 [% IF ( waiting_holds ) %]
71     <div class="dialog message">
72         <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3>
73         <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p>
74     </div>
75 [% END %]
76
77
78 [% IF ( wrongbranch ) %]
79 <div class="dialog alert"><h3>Cannot Check In</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
80 </div>
81 [% END %]
82 <!-- case of a mistake in transfer loop -->
83 [% IF ( WrongTransfer ) %]<div class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% TransferWaitingAt %] or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&amp;canceltransfer=1">Cancel Transfer</a></h3>
84 [% IF ( wborcnum ) %]<h5>Hold for:</h5>
85         <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
86             [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
87         <li>[% wboraddress %][% IF ( wboraddress2 ) %]<br />
88                 [% wboraddress2 %]<br />[% END %]
89         [% wborcity %]  [% wborzip %]</li>
90         [% IF ( wborphone ) %]<li>[% wborphone %]</li>[% END %]
91                 [% IF ( wboremail ) %]<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li>[% END %]
92         </ul>
93
94     <form method="post" action="returns.pl" class="confirm">
95             <input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" />
96             <input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" />
97             <input type="hidden" name="WT-From" value="[% wtransfertFrom %]" />
98         <input type="submit" class="approve" value="Confirm" />
99                         <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&amp;borrowernumber=[% borrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip'); this.form.submit();" />
100     </form>
101     [% END %]</div>
102 [% END %]
103
104 [% IF ( found ) %]
105 <!-- found -->
106 <!-- case of a reservation found, and display info -->
107     [% IF ( waiting ) %]
108         <!-- waiting -->
109
110 [% IF ( soundon ) %]
111 <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
112 [% END %]
113
114 <div class="dialog message">
115         <h3>Hold Found (item is already waiting):  <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
116         [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
117         <h4>Hold for:</h4>
118                         <ul>
119             <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
120             <li>[% boraddress %]<br />
121                         [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
122             [% borcity %] [% borzip %]</li>
123            [% IF ( borphone ) %]<li> [% borphone %]</li>[% END %]
124                    [% IF ( boremail ) %]<li><a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a></li>[% END %]
125 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
126 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]</ul>
127                 [% IF ( transfertodo ) %]
128             <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
129                 [% ELSE %]
130                 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
131         [% END %]
132         <form method="post" action="returns.pl" class="confirm">
133             <input type="submit" class="approve" value="Confirm" />
134
135                         <input type="submit" value="Print and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip'); this.form.submit();" />
136             [% FOREACH inputloo IN inputloop %]
137                 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
138                 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
139                 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
140             [% END %]
141                 <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
142                 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
143                 <input type="hidden" name="resbarcode" value="[% barcode %]" />
144                 <input type="hidden" name="diffBranch" value="[% destbranch %]" />
145                 <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
146                 <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
147                 </form>
148         </div>
149     [% END %]
150
151     [% IF ( diffbranch ) %]
152                 <!-- diffbranch -->
153         [% IF ( soundon ) %]
154         <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
155         [% END %]
156         <div class="dialog message">
157                 <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
158                 <h4>Hold for: </h4>
159                     <ul>
160                         <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li>
161                         <li>[% boraddress %]<br />
162                                                 [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
163                                                 [% borcity %]  [% borzip %]</li>
164                         [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
165                         [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
166 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
167 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
168                     </ul>
169                 [% IF ( transfertodo ) %]
170             <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
171                 [% ELSE %]
172                 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
173         [% END %]
174
175         <form method="post" action="returns.pl" class="confirm">
176             <input type="submit" class="approve" value="Confirm" />
177                         <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&amp;borrowernumber=[% borrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip'); this.form.submit();" />
178             [% FOREACH inputloo IN inputloop %]
179                 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
180                 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
181                 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
182             [% END %]
183             <input type="hidden" name="diffBranch" value="[% destbranch %]" />
184             <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
185             <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
186             <input type="hidden" name="barcode" value="0" />
187         </form>
188                 </div>
189     [% END %]
190
191     [% IF ( transfer ) %]
192     <!-- transfer: item with no reservation, must be returned to its homebranch -->
193         <div class="dialog message">
194             <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3>
195         </div>
196         [% IF ( soundon ) %]
197         <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
198         [% END %]
199     [% END %]
200
201     [% IF ( needstransfer ) %]
202         <!-- needstransfer -->
203         [% IF ( soundon ) %]
204         <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
205         [% END %]
206         <div class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
207         Transfer Now?<br />
208     <form method="post" action="returns.pl" name="mainform" id="mainform">
209         <input type="submit" name="dotransfer" value="Yes" class="submit" />
210         <input type="submit" name="notransfer" value="No" class="submit" />
211         <input type="hidden" name="tobranch" value="[% homebranch %]" />
212         <input type="hidden" name="transferitem" value="[% itemnumber %]" />
213         <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
214         <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
215         [% FOREACH inputloo IN inputloop %]
216         <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
217         <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
218         <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
219         [% END %]
220         <input type="hidden" name="barcode" value="0" />
221         </form>   </div>
222     [% END %]
223
224     [% IF ( diffbranch ) %]
225         <!-- diffbranch -->
226         [% IF ( soundon ) %]
227         <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
228         [% END %]
229         <h3>Item Consigned:</h3>
230         <table>
231         <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title |html %]</a></caption>
232         <tr>
233             <th>Hold for:</th>
234             <td>[% name %]</td>
235         </tr>
236         </table>
237         <form method="post" action="returns.pl"><input type="submit" value="OK" />
238             [% FOREACH inputloo IN inputloop %]
239                 [% UNLESS ( inputloo.first ) %]
240                     <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
241                     <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
242                     <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
243                 [% END %]
244             [% END %]
245             <input type="hidden" name="barcode" value="0" />
246         </form>
247     [% END %]
248
249
250     <!-- case of simple return no issue or transfer but with a reservation  -->
251     [% IF ( reserved ) %]
252         <!--  reserved  -->
253
254         [% IF ( soundon ) %]
255         <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
256         [% END %]
257
258         <div class="dialog message">
259           <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
260         [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %]
261         <h5>Hold for:</h5>
262                 <ul>
263             <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
264                 [% borsurname %], [% borfirstname %]
265             </a> ([% borcnum %])</li>
266             <li>[% boraddress %]<br />
267                         [% IF ( boraddress2 ) %][% boraddress2 %]<br />[% END %]
268                         [% borcity %] [% borzip %]</li>
269             [% IF ( borphone ) %]<li>[% borphone %]</li>[% END %]
270             [% IF ( boremail ) %]<li>[% IF ( transfertodo ) %][% boremail %][% ELSE %]<a id="boremail" href="mailto:[% boremail %]">[% boremail %]</a>[% END %]</li>[% END %]
271 [% IF ( debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %]
272 [% IF ( gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %]
273         </ul>
274         [% IF ( transfertodo ) %]
275             <h4><strong>Transfer to:</strong> [% destbranchname %]</h4>
276                 [% ELSE %]
277                 <h4><strong>Hold at</strong> [% destbranchname %]</h4>
278         [% END %]
279         <form method="post" action="returns.pl" class="confirm">
280             [% IF ( transfertodo ) %]
281                 <input type="submit" class="approve" value="Confirm hold and Transfer" />
282                 <input type="submit" value="Print slip, Transfer, and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?transfer=1&amp;borrowernumber=[% borrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip'); this.form.submit();" />
283             [% ELSE %]
284                 <input type="submit" class="approve" value="Confirm hold" />
285                 <input type="submit" value="Print Slip and Confirm" class="print" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip'); this.form.submit();" />
286             [% END %]
287                 <input type="submit" class="deny" value="Ignore" onclick="$('.dialog:visible').hide('slow'); $('#barcode').focus(); return false;" />
288             [% FOREACH inputloo IN inputloop %]
289         <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
290         <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
291         <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />[% END %]
292             <input type="hidden" name="itemnumber" value="[% itemnumber %]" />
293             <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
294             <input type="hidden" name="resbarcode" value="[% barcode %]" />
295             <input type="hidden" name="diffBranch" value="[% destbranch %]" />
296             <input type="hidden" name="exemptfine" value="[% exemptfine %]" />
297             <input type="hidden" name="dropboxmode" value="[% dropboxmode %]" />
298         </form>
299         </div>
300     [% END %]
301 [% ELSE %]
302
303 [% IF ( errmsgloop ) %]
304     <div class="dialog alert">
305         [% FOREACH errmsgloo IN errmsgloop %]
306                     [% IF ( errmsgloo.badbarcode ) %]
307                         <p class="problem">No Item with barcode: [% errmsgloo.msg %]</p>
308                     [% END %]
309                     [% IF ( errmsgloo.ispermanent ) %]
310                         <p class="problem">Please return to  [% errmsgloo.msg %]</p>
311                     [% END %]
312                     [% IF ( errmsgloo.notissued ) %]
313                         <p class="problem">Not checked out.</p>
314                     [% END %]
315                     [% IF ( errmsgloo.localuse) %]
316                         <p class="problem">Local Use recorded</p>
317                     [% END %]
318                     [% IF ( errmsgloo.waslost ) %]
319                         <p class="problem">Item was lost, now found.</p>
320                     [% END %]
321                     [% IF ( errmsgloo.withdrawn ) %]
322                         <p class="problem">Item is withdrawn.</p>
323                     [% END %]
324             [% END %]
325 [% IF ( soundon ) %]
326 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
327 [% END %]
328         [% ELSE %]
329 [% IF ( soundon ) %]
330 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
331 [% END %]
332         [% END %]
333     </div>
334 [% END %]
335
336     <div id="exemptfines" class="dialog message" style="display:none;">
337         <p>Fines for returned items are forgiven.</p>
338     </div>
339     <div id="dropboxmode" class="dialog message" style="display:none;">
340         <p>Dropbox Mode.  (Effective checkin date is [% dropboxdate %] ).</p>
341     </div>
342 </div>
343         <div class="yui-g">
344     <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
345     <div class="yui-u first">
346             <fieldset>
347         <legend>Check In</legend>
348             <label for="barcode">Enter item barcode: </label>
349                         [% IF ( exemptfine ) %]
350                         <input name="barcode" id="barcode" size="14" class="focus alert"/>
351                         [% ELSIF ( dropboxmode ) %]
352                         <input name="barcode" id="barcode" size="14" class="focus alert"/>
353                         [% ELSE %]
354                         <input name="barcode" id="barcode" size="14" class="focus"/>
355                         [% END %]
356             <input type="submit" class="submit" value="Submit" />
357             [% FOREACH inputloo IN inputloop %]
358                 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
359                 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
360                 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
361             [% END %]
362
363
364             </fieldset>
365             </div>
366             <div class="yui-u">
367             <fieldset id="checkin_options">
368                 <legend>Options</legend>
369
370                 <ul>
371                     [% IF ( overduecharges ) %]
372                     <li>
373                         [% IF ( exemptfine ) %]
374                         <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
375                         [% ELSE %]
376                         <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
377                         [% END %]
378                         <label for="exemptcheck">Forgive overdue charges</label>
379                     </li>
380                     [% END %] <!-- overduecharges -->
381                     <li>
382                         [% IF ( dropboxmode ) %]
383                         <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
384                         [% ELSE %]
385                         <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
386                         [% END %]
387                         <label for="dropboxcheck">Dropbox mode</label>
388                     </li>
389                 </ul>
390             </fieldset>
391         </div>
392     </form>
393 </div>
394
395 [% IF ( returned ) %]
396 <div class="yui-g">    <table>
397         <tr><th>Item Information</th><th>Patron Information</th></tr>
398         <tr>
399             <td>[% title |html %]</td>
400             <td>
401
402                 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
403                 [% IF ( flagset ) %]
404                 ([% FOREACH flagloo IN flagloop %]
405                 [% flagloo.flag %]
406                 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
407                 ,
408                 [% END %])[% END %]
409             </td>
410         </tr>
411     </table>
412 [% END %]
413 [% IF ( riloop ) %]
414     <h2>Checked-In items</h2>
415     <table>
416         <tr><th>Due Date</th><th>Title</th>     <th>Author</th> <th>Barcode</th><th>Shelving Location</th><th>Call Number</th><th>Type</th>     <th>Patron</th><th>Note</th></tr>
417
418         [% FOREACH riloo IN riloop %]
419             <tr>
420             <td>[% IF ( riloo.duedate ) %]
421                     [% IF ( riloo.return_overdue ) %]
422                         <span class="overdue">[% riloo.duedate %] (overdue)</span>
423                     [% ELSE %][% riloo.duedate %]
424                     [% END %]
425                 [% ELSE %]Not checked out
426                 [% END %]
427             </td>
428             <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
429                     [% riloo.itemtitle |html %]</a></td>
430                         <td>[% riloo.itemauthor %]</td>
431             <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
432             <td>[% riloo.location %]</td>
433             <td>[% riloo.itemcallnumber %]</td>
434             <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
435                         <td>[% IF ( riloo.duedate ) %]
436                 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
437                     [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
438                 </a>
439             [% ELSE %]Not checked out[% END %]</td>
440             <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
441             [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
442             </td>
443            </tr>
444         [% END %]
445     </table></div>
446 [% END %]
447
448
449 </div>
450 [% INCLUDE 'intranet-bottom.inc' %]