Bug 29394: Remove flatpickr instantiations from most of the tt files
[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>Patrons with no checkouts &rsaquo; Reports &rsaquo; Koha</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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12     <ol>
13         <li>
14             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
15         </li>
16         <li>
17             <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
18         </li>
19         <li>
20             <a href="#" aria-current="page">
21                 Patrons with no checkouts
22             </a>
23         </li>
24     </ol>
25 </nav>
26
27 <div class="main container-fluid">
28     <div class="row">
29         <div class="col-sm-10 col-sm-push-2">
30             <main>
31
32 [% IF ( do_it ) %]
33     [% FOREACH mainloo IN mainloop %]
34         <h1>Patrons with no checkouts</h1>
35         [% IF ( mainloo.loopfilter ) %]
36             <p>Filtered on:</p>
37             [% FOREACH loopfilte IN mainloo.loopfilter %]
38                     <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
39             [% END %]
40         [% END %]
41         
42         <table>
43             <tr>
44                 <th>Num/Patrons</th>
45                 [% FOREACH loopco IN mainloo.loopcol %]
46                     <th>[% loopco.coltitle | html %]</th>
47                 [% END %]
48             </tr>
49                 [% FOREACH loopro IN mainloo.looprow %]
50             <tr>
51                         <td>[% loopro.rowtitle | html %]</td>
52                         [% FOREACH loopcel IN loopro.loopcell %]
53                         <td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
54                             </td>
55                         [% END %]
56                     </tr>
57                 [% END %]
58         </table>
59     [% END %]
60 [% ELSE %]
61     <h1>Patrons with no checkouts</h1>
62     <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
63     <fieldset class="rows">
64                 <ol>
65             <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option>
66     [% FOREACH patron_category IN patron_categories %]
67         <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
68     [% END %]
69     </select>
70 </li>
71     <li><label for="to">Not checked out since: </label> <input size="10" id="to" class="flatpickr" data-flatpickr-pastdate="true" name="Filter" value="" type="text" />
72 </li>
73                 </ol>
74         </fieldset>
75         
76     <fieldset class="rows">
77         <legend>Limits</legend>
78                 <ol>
79                         <li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
80                         <option value ="" selected="selected">None</option>
81                         <option value ="5"> 5</option>
82                         <option value ="10">10</option>
83                         <option value ="15">15</option>
84                         <option value ="20">20</option>
85                         <option value ="25">25</option>
86                         <option value ="40">40</option>
87                         <option value ="50">50</option>
88                         <option value ="100">100</option>
89                     </select></li>
90                         <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
91                         <option value ="" selected="selected">None</option>
92                         <option value ="categorycode">Patron category</option>
93                         <option value ="branchcode">Library</option>
94                     </select></li>
95                 </ol>
96         </fieldset>
97         
98 <fieldset class="rows">
99         <legend>Output</legend>
100     <ol>
101         <li>
102             <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
103         </li>
104         <li>
105             <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
106             <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
107             <label class="inline" for="MIME">Into an application:</label>
108             <select name="MIME" id="MIME">
109             [% FOREACH value IN CGIextChoice %]
110                 <option value="[% value | html %]">[% value | html %]</option>
111             [% END %]
112             </select>
113             <select name="sep" id="sep">
114             [% FOREACH value IN CGIsepChoice.values.sort() %]
115               [% IF ( value == CGIsepChoice.default ) %]
116                 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
117               [% ELSE %]
118                 <option value="[% value | html %]">[% value | html %]</option>
119               [% END %]
120             [% END %]
121             </select>
122         </li>
123     </ol>
124         </fieldset>
125
126         <fieldset class="action">
127         <input type="submit" value="Submit" />
128         <input type="hidden" name="report_name" value="[% report_name | html %]" />
129         <input type="hidden" name="do_it" value="1" />
130         </fieldset>
131         </form>
132 [% END %]
133
134             </main>
135         </div> <!-- /.col-sm-10.col-sm-push-2 -->
136
137         <div class="col-sm-2 col-sm-pull-10">
138             <aside>
139                 [% INCLUDE 'reports-menu.inc' %]
140             </aside>
141         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
142      </div> <!-- /.row -->
143
144 [% MACRO jsinclude BLOCK %]
145     [% INCLUDE 'calendar.inc' %]
146 [% END %]
147
148 [% INCLUDE 'intranet-bottom.inc' %]