Merge remote-tracking branch 'kc/master' into new/bug_5683
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / stats.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Circulation &rsaquo; Statistics</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body>
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'circ-search.inc' %]
8
9 <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; Statistics</div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17     [% IF ( notime ) %]
18         <h1>Display statistics for:</h1>
19         <ul>
20             <li><a href="/cgi-bin/koha/circ/stats.pl?time=yesterday">yesterday</a></li>
21             <li><a href="/cgi-bin/koha/circ/stats.pl?time=today">today</a></li>
22     [% ELSE %]
23         [% IF ( loop1 ) %]
24         <table>
25         <caption>Statistics</caption>
26                 <tr>
27                         <th>Name</th>
28                         <th>Type</th>
29                         <th>Date/time</th>
30                         <th>Amount</th>
31                         <th>Library</th>
32                 <tr>
33                 [% FOREACH loop IN loop1 %]
34                 <tr>
35                         <td>[% loop.name %]</td>
36                         <td>[% loop.type %]</td>
37                         <td>[% loop.time %]</td>
38                         <td>[% loop.amount %]</td>
39                         <td>[% loop.branch %]</td>
40                 </tr>
41                 [% END %]
42                 </table>
43                 <p>Total paid: [% total %]<br />Total written off: [% totalw %]</p>
44         [% ELSE %]
45         <h3>No statistics to report</h3>
46         [% END %]
47         
48     [% END %]
49 </div>
50 </div>
51 <div class="yui-b">
52 [% INCLUDE 'circ-menu.inc' %]
53 </div>
54 </div>
55 [% INCLUDE 'intranet-bottom.inc' %]