3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Holds statistics[% IF ( do_it ) %] › Results[% END %] › Reports › Koha</title>
5 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="rep_reserve_stats" class="rep">
12 [% WRAPPER 'header.inc' %]
13 [% INCLUDE 'cat-search.inc' %]
16 [% WRAPPER 'sub-header.inc' %]
17 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
23 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
27 <a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds statistics</a>
30 <a href="#" aria-current="page">
36 <a href="#" aria-current="page">
45 <div class="main container-fluid">
47 <div class="col-sm-10 col-sm-push-2">
51 <h1>Holds statistics</h1>
54 [% IF ( loopfilter ) %]
57 [% FOREACH loopfilte IN loopfilter %]
58 [% IF ( loopfilte.err ) %]<li class="error">Error:
59 [% ELSIF ( loopfilte.sql ) %]<li class="sql">
62 [% loopfilte.crit | html %] [% loopfilte.filter | html %]
68 [% FOREACH mainloo IN mainloop %]
72 <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
73 [% FOREACH loopco IN mainloo.loopcol %]
74 <th>[% loopco.coltitle_display | html %]</th>
78 [% FOREACH loopro IN mainloo.looprow %]
80 <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
81 [% FOREACH loopcel IN loopro.loopcell %]
83 [% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output | uri %]&[% loopcel.url_complement | uri %]">[% loopcel.value | html %]</a>[% ELSE %][% loopcel.value | html %][% END %]
86 <td align="center">[% loopro.totalrow | html %]</td>
91 [% FOREACH loopfoote IN mainloo.loopfooter %]
92 <th>[% loopfoote.totalcol | html %]</th>
94 <th>[% mainloo.total | html %]</th>
101 <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl">
102 <fieldset class="rows">
103 <legend>Holds statistics</legend><table>
114 <td>Hold status </td>
115 <td><input type="radio" name="Line" value="reservestatus" /></td>
116 <td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td>
118 <input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked
119 <input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing
120 <input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting
121 <input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied
122 <input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled
127 <td><input type="radio" name="Line" value="reservedate" /></td>
128 <td><input type="radio" name="Column" value="reservedate" /></td>
130 <label for="filter_reservedate_begin">From</label>
131 <input type="text" size="10" id="filter_reservedate_begin" data-date_to="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" />
133 <label for="filter_reservedate_end">To</label>
134 <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" class="flatpickr" />
138 <td>Notification date</td>
139 <td><input type="radio" name="Line" value="notificationdate" /></td>
140 <td><input type="radio" name="Column" value="notificationdate" /></td>
142 <label for="filter_notificationdate_begin">From</label>
143 <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-date_to="filter_notificationdate_end" class="flatpickr" />
145 <label for="filter_notificationdate_end">To</label>
146 <input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" class="flatpickr" />
150 <td>Reminder date</td>
151 <td><input type="radio" name="Line" value="reminderdate" /></td>
152 <td><input type="radio" name="Column" value="reminderdate" /></td>
154 <label for="filter_reminderdate_begin">From</label>
155 <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-date_to="filter_reminderdate_end" class="flatpickr" />
157 <label for="filter_reminderdate_end">To</label>
158 <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" class="flatpickr" />
162 <td>Waiting date</td>
163 <td><input type="radio" name="Line" value="waitingdate" /></td>
164 <td><input type="radio" name="Column" value="waitingdate" /></td>
166 <label for="filter_waitingdate_begin">From</label>
167 <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-date_to="filter_waitingdate_end" class="flatpickr" />
169 <label for="filter_waitingdate_end">To</label>
170 <input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" />
174 <td>Cancellation date</td>
175 <td><input type="radio" name="Line" value="cancellationdate" /></td>
176 <td><input type="radio" name="Column" value="cancellationdate" /></td>
178 <label for="filter_cancellationdate_begin">From</label>
179 <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-date_to="filter_cancellationdate_end" class="flatpickr" />
181 <label for="filter_cancellationdate_end">To</label>
182 <input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" class="flatpickr" />
186 <td>Patron category</td>
187 <td><input type="radio" name="Line" value="borrowers.categorycode" /></td>
188 <td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
189 <td><select name="filter_categorycode" id="borcat">
190 <option value=""> </option>
191 [% FOREACH categoryloo IN categoryloop %]
192 <option value="[% categoryloo.categorycode | html %]">[% categoryloo.description | html %]</option>
199 <td><input type="radio" name="Line" value="items.itype" /></td>
200 <td><input type="radio" name="Column" value="items.itype" /></td>
201 <td><select name="filter_items.itype" id="itype">
202 <option value=""> </option>
203 [% FOREACH itemtype IN itemtypes %]
204 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
210 <td>Pickup library</td>
211 <td><input type="radio" name="Line" value="reserves.branchcode" checked="checked" /></td>
212 <td><input type="radio" name="Column" value="reserves.branchcode" /></td>
213 <td><select name="filter_reserves.branchcode" id="resbranchcode">
214 <option value=""> </option>
215 [% PROCESS options_for_libraries libraries => Branches.all() %]
220 <td>Holding library</td>
221 <td><input type="radio" name="Line" value="items.holdingbranch" /></td>
222 <td><input type="radio" name="Column" value="items.holdingbranch" /></td>
223 <td><select name="filter_items.holdingbranch" id="holdingbranch">
224 <option value=""> </option>
225 [% PROCESS options_for_libraries libraries => Branches.all() %]
230 <td>Home library</td>
231 <td><input type="radio" name="Line" value="items.homebranch" /></td>
232 <td><input type="radio" name="Column" value="items.homebranch" /></td>
233 <td><select name="filter_items.homebranch" id="homebranch">
234 <option value=""> </option>
235 [% PROCESS options_for_libraries libraries => Branches.all() %]
241 <td><input type="radio" name="Line" value="items.ccode" /></td>
242 <td><input type="radio" name="Column" value="items.ccode" /></td>
243 <td><select name="filter_items.ccode" id="ccode">
244 <option value=""> </option>
245 [% FOREACH ccodeloo IN ccodeloop %]
246 [% IF ( ccodeloo.selected ) %] <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>[% ELSE %]<option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>[% END %]
252 <td>Shelving location</td>
253 <td><input type="radio" name="Line" value="items.location" /></td>
254 <td><input type="radio" name="Column" value="items.location" /></td>
255 <td><select name="filter_items.location" id="location">
256 <option value=""> </option>
257 [% FOREACH locationloo IN locationloop %]
258 [% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %]
264 <td>Item call number</td>
267 <td>From <input type="text" name="filter_items.itemcallnumber_begin" size="10" /> (inclusive) to <input type="text" name="filter_items.itemcallnumber_endex" size="10" /> (exclusive) </td>
269 [% IF ( hassort1 ) %]
270 <tr><td>Patron sort 1</td>
271 <td><input type="radio" name="Line" value="borrowers.sort1" /></td>
272 <td><input type="radio" name="Column" value="borrowers.sort1" /></td>
273 <td><select name="filter_borrowers.sort1" id="sort1">
274 <option value=""> </option>
275 [% FOREACH Bsort IN Bsort1 %]
276 [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
282 [% IF ( hassort2 ) %]
283 <tr><td>Patron sort 2</td>
284 <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
285 <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
286 <td><select name="filter_borrowers.sort2" id="sort2">
287 <option value=""> </option>
288 [% FOREACH Bsort IN Bsort2 %]
289 [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
296 </table><br /></fieldset>
298 <fieldset class="rows"><legend>Cell value </legend><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li>
299 <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique bibliographic records:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset>
301 <fieldset class="rows">
302 <legend>Output</legend>
305 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
308 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
309 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
310 <label class="inline" for="MIME">Into an application:</label>
311 <select name="MIME" id="MIME">
312 [% FOREACH value IN CGIextChoice %]
313 <option value="[% value | html %]">[% value | html %]</option>
316 <select name="sep" id="sep">
317 [% FOREACH value IN CGIsepChoice.values.sort() %]
318 [% IF ( value == CGIsepChoice.default ) %]
319 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
321 <option value="[% value | html %]">[% value | html %]</option>
329 <fieldset class="action">
330 <input type="submit" value="Submit" />
331 <input type="hidden" name="report_name" value="[% report_name | html %]" />
332 <input type="hidden" name="do_it" value="1" />
338 </div> <!-- /.col-sm-10.col-sm-push-2 -->
340 <div class="col-sm-2 col-sm-pull-10">
342 [% INCLUDE 'reports-menu.inc' %]
344 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
345 </div> <!-- /.row -->
347 [% MACRO jsinclude BLOCK %]
348 [% INCLUDE 'calendar.inc' %]
351 [% INCLUDE 'intranet-bottom.inc' %]