Bug 14321: Integrate Upload.pm into Koha
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / on-site_checkouts.tt
1 [% USE Branches %]
2 [% USE KohaDates %]
3 [% USE AuthorisedValues %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha &rsaquo; Circulation &rsaquo; Pending on-site checkouts</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <link rel="stylesheet" href="[% themelang %]/css/datatables.css" />
8 [% INCLUDE 'datatables.inc' %]
9 <script type="text/javascript">
10 //<![CDATA[
11
12 $(document).ready(function(){
13   if ( $("#pending_onsite_checkout").length ) {
14     $("#pending_onsite_checkout").dataTable($.extend(true, {}, dataTablesDefaults, {
15         "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
16         "aoColumns": [
17             { "sType": "title-string" },
18             { "sType": "html" },
19             { "sType": "html" },
20             null,
21             { "sType": "html" },
22             null,
23             null,
24         ],
25         'bAutoWidth': false,
26         "sPaginationType": "four_button"
27     }));
28   }
29 });
30 //]]>
31 </script>
32
33 </head>
34 <body id="circ_stats" class="circ">
35 [% INCLUDE 'header.inc' %]
36 [% INCLUDE 'circ-search.inc' %]
37
38 <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; Pending on-site checkouts</div>
39
40 <div id="doc3" class="yui-t2">
41   <div id="bd">
42     <div id="yui-main">
43       <div class="yui-b">
44         <h1>Pending on-site checkouts</h1>
45         [% IF pending_onsite_checkouts %]
46           <table id="pending_onsite_checkout">
47             <thead>
48               <tr>
49                 <th>Date</th><th>Patron</th><th>Title</th><th>Callnumber</th><th>Barcode</th><th>Library</th><th>Location</th>
50               </tr>
51             </thead>
52             <tbody>
53               [% FOREACH item IN pending_onsite_checkouts %]
54                 <tr>
55                   <td>
56                     [% IF item.is_overdue %]<span class="overdue">[% END %]
57                     <span title="[% item.date_due %]">[% item.date_due | $KohaDates %]</span>
58                     [% IF item.is_overdue %]</span>[% END %]
59                   </td>
60                   <td>
61                     <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a>
62                   </td>
63                   <td>
64                     <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]"><strong>[% item.title |html %]</strong></a>[% IF ( item.author ) %], by [% item.author %][% END %][% IF ( item.itemnotes ) %]- <span class="circ-hlt">[% item.itemnotes %]</span>[% END %]
65                   </td>
66                   <td>[% item.itemcallnumber %]</td>
67                   <td>
68                     <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]&amp;itemnumber=[% item.itemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a>
69                   </td>
70                   <td>[% Branches.GetName(item.branchcode) %]</td>
71                   <td>[% AuthorisedValues.GetByCode( 'LOC', item.location )%]</td>
72                 </tr>
73               [% END %]
74             </tbody>
75           </table>
76         [% ELSE %]
77           <h3>No pending on-site checkout.</h3>
78         [% END %]
79       </div>
80     </div>
81     <div class="yui-b">
82       [% INCLUDE 'circ-menu.inc' %]
83     </div>
84   </div>
85 [% INCLUDE 'intranet-bottom.inc' %]