Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / borrowers_out.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Reports &rsaquo; Patrons with no checkouts</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript">
6 //<![CDATA[
7 $(document).ready(function(){
8     $("#to").datepicker({ maxDate: "-1D" });
9 });
10 //]]>
11 </script>
12 </head>
13 <body id="rep_borrowers_out" class="rep">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
16
17 <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; Patrons with no checkouts</div>
18
19 <div id="doc3" class="yui-t2">
20    
21    <div id="bd">
22         <div id="yui-main">
23         <div class="yui-b">
24
25 [% IF ( do_it ) %]
26     [% FOREACH mainloo IN mainloop %]
27         <h1>Patrons with no checkouts</h1>
28         [% IF ( mainloo.loopfilter ) %]
29             <p>Filtered on:</p>
30             [% FOREACH loopfilte IN mainloo.loopfilter %]
31                     <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit %] =[% loopfilte.filter %][% IF ( loopfilte.err ) %]  [% END %]</p>
32             [% END %]
33         [% END %]
34         
35         <table>
36             <tr>
37                 <th>Num/Patrons</th>
38                 [% FOREACH loopco IN mainloo.loopcol %]
39                     <th>[% loopco.coltitle %]</th>
40                 [% END %]
41             </tr>
42                 [% FOREACH loopro IN mainloo.looprow %]
43             <tr>
44                         <td>[% loopro.rowtitle %]</td>
45                         [% FOREACH loopcel IN loopro.loopcell %]
46                         <td>[% IF ( loopcel.value ) %][% loopcel.value %][% END %]
47                             </td>
48                         [% END %]
49                     </tr>
50                 [% END %]
51         </table>
52     [% END %]
53 [% ELSE %]
54     <h1>Patrons with no checkouts</h1>
55     <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
56     <fieldset class="rows">
57                 <ol>
58             <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option>
59     [% FOREACH borcatloo IN borcatloop %]
60         <option value="[% borcatloo.value %]" >[% borcatloo.description %] </option>  
61      [% END %] 
62     </select>
63 </li>
64     <li><label for="to">Not checked out since: </label> <input size="10" id="to" name="Filter" value="" type="text" />
65 </li>
66                 </ol>
67         </fieldset>
68         
69     <fieldset class="rows">
70         <legend>Limits</legend>
71                 <ol>
72                         <li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
73                         <option value ="" selected="selected">None</option>
74                         <option value ="5"> 5</option>
75                         <option value ="10">10</option>
76                         <option value ="15">15</option>
77                         <option value ="20">20</option>
78                         <option value ="25">25</option>
79                         <option value ="40">40</option>
80                         <option value ="50">50</option>
81                         <option value ="100">100</option>
82                     </select></li>
83                         <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
84                         <option value ="" selected="selected">None</option>
85                         <option value ="categorycode">Patron category</option>
86                         <option value ="branchcode">Library</option>
87                     </select></li>
88                 </ol>
89         </fieldset>
90         
91 <fieldset class="rows">
92         <legend>Output</legend>
93     <ol>
94         <li>
95             <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
96         </li>
97         <li>
98             <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
99             <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
100             <label class="inline" for="MIME">Into an application </label>
101             <select name="MIME" id="MIME" size="1">
102             [% FOREACH value IN CGIextChoice %]
103                 <option value="[% value %]">[% value %]</option>
104             [% END %]
105             </select>
106             <select name="sep" id="sep" size="1">
107             [% FOREACH value IN CGIsepChoice.values.sort() %]
108               [% IF ( value == CGIsepChoice.default ) %]
109                 <option value="[% value %]" selected="selected">[% value %]</option>
110               [% ELSE %]
111                 <option value="[% value %]">[% value %]</option>
112               [% END %]
113             [% END %]
114             </select>
115         </li>
116     </ol>
117         </fieldset>
118
119         <fieldset class="action">
120         <input type="submit" value="Submit" />
121         <input type="hidden" name="report_name" value="[% report_name %]" />
122         <input type="hidden" name="do_it" value="1" />
123         </fieldset>
124         </form>
125 [% END %]
126
127 </div>
128 </div>
129 <div class="yui-b">
130 [% INCLUDE 'reports-menu.inc' %]
131 </div>
132 </div>
133 [% INCLUDE 'intranet-bottom.inc' %]