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