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