Merge remote-tracking branch 'kc/new/enh/bug_5263' into kcmaster
[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.waslost ) %]
316                         <p class="problem">Item was lost, now found.</p>
317                     [% END %]
318                     [% IF ( errmsgloo.withdrawn ) %]
319                         <p class="problem">Item is withdrawn.</p>
320                     [% END %]
321             [% END %]
322 [% IF ( soundon ) %]
323 <audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
324 [% END %]
325         [% ELSE %]
326 [% IF ( soundon ) %]
327 <audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
328 [% END %]
329         [% END %]
330     </div>
331 [% END %]
332
333     <div id="exemptfines" class="dialog message" style="display:none;">
334         <p>Fines for returned items are forgiven.</p>
335     </div>
336     <div id="dropboxmode" class="dialog message" style="display:none;">
337         <p>Dropbox Mode.  (Effective checkin date is [% dropboxdate %] ).</p>
338     </div>
339 </div>
340         <div class="yui-g">
341     <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
342     <div class="yui-u first">
343             <fieldset>
344         <legend>Check In</legend>
345             <label for="barcode">Enter item barcode: </label>
346                         [% IF ( exemptfine ) %]
347                         <input name="barcode" id="barcode" size="14" class="focus alert"/>
348                         [% ELSIF ( dropboxmode ) %]
349                         <input name="barcode" id="barcode" size="14" class="focus alert"/>
350                         [% ELSE %]
351                         <input name="barcode" id="barcode" size="14" class="focus"/>
352                         [% END %]
353             <input type="submit" class="submit" value="Submit" />
354             [% FOREACH inputloo IN inputloop %]
355                 <input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" />
356                 <input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" />
357                 <input type="hidden" name="bn-[% inputloo.counter %]" value="[% inputloo.borrowernumber %]" />
358             [% END %]
359
360
361             </fieldset>
362             </div>
363             <div class="yui-u">
364             <fieldset id="checkin_options">
365                 <legend>Options</legend>
366
367                 <ul>
368                     [% IF ( overduecharges ) %]
369                     <li>
370                         [% IF ( exemptfine ) %]
371                         <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
372                         [% ELSE %]
373                         <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
374                         [% END %]
375                         <label for="exemptcheck">Forgive overdue charges</label>
376                     </li>
377                     [% END %] <!-- overduecharges -->
378                     <li>
379                         [% IF ( dropboxmode ) %]
380                         <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
381                         [% ELSE %]
382                         <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
383                         [% END %]
384                         <label for="dropboxcheck">Dropbox mode</label>
385                     </li>
386                 </ul>
387             </fieldset>
388         </div>
389     </form>
390 </div>
391
392 [% IF ( returned ) %]
393 <div class="yui-g">    <table>
394         <tr><th>Item Information</th><th>Patron Information</th></tr>
395         <tr>
396             <td>[% title |html %]</td>
397             <td>
398
399                 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
400                 [% IF ( flagset ) %]
401                 ([% FOREACH flagloo IN flagloop %]
402                 [% flagloo.flag %]
403                 [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
404                 ,
405                 [% END %])[% END %]
406             </td>
407         </tr>
408     </table>
409 [% END %]
410 [% IF ( riloop ) %]
411     <h2>Checked-In items</h2>
412     <table>
413         <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>
414
415         [% FOREACH riloo IN riloop %]
416             <tr>
417             <td>[% IF ( riloo.duedate ) %]
418                     [% IF ( riloo.return_overdue ) %]
419                         <span class="overdue">[% riloo.duedate %] (overdue)</span>
420                     [% ELSE %][% riloo.duedate %]
421                     [% END %]
422                 [% ELSE %]Not checked out
423                 [% END %]
424             </td>
425             <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
426                     [% riloo.itemtitle |html %]</a></td>
427                         <td>[% riloo.itemauthor %]</td>
428             <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
429             <td>[% riloo.location %]</td>
430             <td>[% riloo.itemcallnumber %]</td>
431             <td>[% riloo.itemtype %] [% riloo.ccode %]</td>
432                         <td>[% IF ( riloo.duedate ) %]
433                 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]">
434                     [% riloo.borsurname %], [% riloo.borfirstname %] ([% riloo.borcategorycode %])
435                 </a>
436             [% ELSE %]Not checked out[% END %]</td>
437             <td>[% IF ( riloo.bornote ) %]<span class="circ-hlt">[% riloo.bornote %]<br /></span>[% END %]
438             [% IF ( riloo.itemnote ) %]<span class="circ-hlt">[% riloo.itemnote %]</span>[% END %]
439             </td>
440            </tr>
441         [% END %]
442     </table></div>
443 [% END %]
444
445
446 </div>
447 [% INCLUDE 'intranet-bottom.inc' %]