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