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