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