[SIGNED-OFF]Bug 2780 - Capitalize strings consistently (reports)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / serials_stats.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Reports &rsaquo; Serials subscriptions stats</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <style type="text/css">
5         .sql {display: none;}
6 </style>
7 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
8 <script type="text/JavaScript" language="JavaScript">
9         //<![CDATA[
10                 $(document).ready(function() {
11                 $("#resulttable").tablesorter({
12                                 widgets : ['zebra']
13                         });
14         });
15         //]]>
16 </script>
17 </head>
18 <body id="rep_serials_stats" class="rep">
19 [% INCLUDE 'header.inc' %]
20 [% INCLUDE 'cat-search.inc' %]
21
22 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Serials subscriptions stats</div>
23
24 <div id="doc3" class="yui-t2">
25    <div id="bd">
26         <div id="yui-main">
27         <div class="yui-b">
28
29         <h1>Serials subscriptions</h1>
30 [% IF ( do_it ) %]
31         <table id="resulttable">
32                 <thead>
33                         <tr>
34                                 <th>Vendor</th>
35                                 <th>Title</th>
36                                 <th>Subscription id</th>
37                                 <th>Branch</th>
38                 <th>Call number</th>
39                 <th>Subscription begin</th>
40                 <th>Subscription end</th>
41                         </tr>
42                 </thead>
43                 <tbody>
44                         <tr>
45                                 [% FOREACH data IN datas %]
46                                         <td>[% data.name %]</td>
47                                         <td>[% data.title |html %]</td>
48                                         <td>[% data.subscriptionid %]</td>
49                                         <td>[% data.branchcode %]</td>
50                                         <td>[% data.callnumber %]</td>
51                                         <td>[% data.startdate %]</td>
52                                         <td>[% data.enddate %]</td>
53                                 </tr>
54                                 [% END %]
55                         </tr>
56                 </tbody>
57         </table>
58
59 [% ELSE %]
60         <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
61
62         <fieldset class="rows">
63                 <ol>
64                         <li>
65
66                                 <label for="bookseller">
67                                         Vendor:
68                             </label>
69                                 <select name="bookseller" id="bookseller">
70                                         <option value="">Any Vendor</option>
71                                 [% FOREACH bookseller IN booksellers %]
72                                                 <option value="[% bookseller.aqbooksellerid %]">[% bookseller.name %]</option>
73                                         [% END %]
74                             </select>
75                         </li><li>
76                         <label for="branch">
77                                         Library:
78                         </label>
79                         <select name="branchcode"  id="branchcode">
80                                 <option value="">Any library</option>
81                                 [% FOREACH branche IN branches %]
82                                                 <option value="[% branche.branchcode %]">[% branche.branchname %]</option>
83                                         [% END %]
84                         </select>
85
86                     </li>
87                     <li>
88                         <label for="expired">Include expired subscriptions: </label>
89                         <input type="checkbox" name="expired" />
90                     </li>
91                 </ol>
92         </fieldset>
93
94
95         <fieldset class="rows">
96         <legend>Output</legend>
97 <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
98 <li><label for="outputfile">To a file:</label>          <input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
99                 <label class="inline" for="MIME">Into an application</label>[% CGIextChoice %]
100                 [% CGIsepChoice %]</li></ol>
101         </fieldset>
102
103         <fieldset class="action">
104         <input type="submit" value="Submit" />
105         <input type="hidden" name="report_name" value="[% report_name %]" />
106         <input type="hidden" name="do_it" value="1" />
107         </fieldset>
108         </form>
109 [% END %]
110 </div>
111 </div>
112 <div class="yui-b">
113 [% INCLUDE 'reports-menu.inc' %]
114 </div>
115 </div>
116 [% INCLUDE 'intranet-bottom.inc' %]