3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Average loan time › Reports › Koha</title>
5 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="rep_issues_avg_stats" class="rep">
9 [% WRAPPER 'header.inc' %]
10 [% INCLUDE 'cat-search.inc' %]
13 [% WRAPPER 'sub-header.inc' %]
14 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
24 <a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a>
27 <a href="#" aria-current="page">
33 <a href="#" aria-current="page">
42 <div class="main container-fluid">
44 <div class="col-sm-10 col-sm-push-2">
47 <h1>Average checkout period</h1>
49 [% FOREACH mainloo IN mainloop %]
50 [% IF ( mainloo.loopfilter ) %]
52 [% FOREACH loopfilte IN mainloo.loopfilter %]
53 <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %] [% END %]</p>
59 <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
60 [% FOREACH loopco IN mainloo.loopcol %]
61 <th>[% loopco.coltitle | html %]</th>
65 [% FOREACH loopro IN mainloo.looprow %]
67 [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
68 [% loopro.rowtitle | html %]</td>
69 [% FOREACH loopcel IN loopro.loopcell %]
70 [% IF ( loopcel.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
71 [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
74 [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
75 [% loopro.totalrow | html %]
81 [% FOREACH loopfoote IN mainloo.loopfooter %]
83 [% loopfoote.totalcol | html %]
86 <th>[% mainloo.total | html %]</th>
92 <form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl">
93 <fieldset class="rows">
94 <legend>Average checkout period statistics</legend>
105 <tr class="hilighted">
106 <td>Checkout date</td>
107 <td><input type="radio" name="Line" value="timestamp" /></td>
108 <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td>
110 <label for="checkoutfrom">From</label>
111 <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkouto" class="flatpickr" />
113 <label for="checkouto">To</label>
114 <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" />
115 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
118 <tr class="hilighted">
120 <td colspan="2">by <select name="IssueDisplay">
121 <option value=""> </option>
122 <option value ="1">Day</option>
123 <option value ="2">Month</option>
124 <option value ="3">Year</option>
128 <td><!--Preparing Month and Day Selection--><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
132 <td><input type="radio" name="Line" value="returndate" /></td>
133 <td><input type="radio" name="Column" value="returndate" /></td>
135 <label for="checkinfrom">From</label>
136 <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
138 <label for="checkinto">To</label>
139 <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
140 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
145 <td colspan="2">by <select name="ReturnDisplay">
146 <option value=""> </option>
147 <option value ="1">Day</option>
148 <option value ="2">Month</option>
149 <option value ="3">Year</option>
153 <td><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
155 <tr class="hilighted">
156 <td>Patron category</td>
157 <td><input type="radio" checked="checked" name="Line" value="borrowers.categorycode" /></td>
158 <td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
160 <select name="Filter" id="borcat">
161 <option value=""></option>
162 [% FOREACH patron_category IN patron_categories %]
163 <option value="[%- patron_category.categorycode | html -%]">[%- patron_category.description | html -%]</option>
170 <td><input type="radio" name="Line" value="itemtype" /></td>
171 <td><input type="radio" name="Column" value="itemtype" /></td>
173 <select name="Filter" id="itemtypes">
174 <option value=""></option>
175 [% FOREACH itemtype IN itemtypes %]
176 <option value="[%- itemtype.itemtype | html -%]">[%- itemtype.translated_description | html -%]</option>
181 <tr class="hilighted">
183 <td><input type="radio" name="Line" value="branchcode" /></td>
184 <td><input type="radio" name="Column" value="branchcode" /></td>
186 <select name="Filter" id="branch">
187 <option value=""></option>
188 [% PROCESS options_for_libraries libraries => Branches.all() %]
192 [% IF ( hassort1 ) %]
193 <tr class="hilighted">
195 <td><input type="radio" name="Line" value="borrowers.sort1" /></td>
196 <td><input type="radio" name="Column" value="borrowers.sort1" /></td>
198 <select name="Filter" id="sort1">
199 <option value=""></option>
200 [%- FOREACH value IN Sort1.values %]
201 <option value="[%- value | html -%]">[%- value | html -%]</option>
207 [% IF ( hassort2 ) %]
208 [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
210 <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
211 <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
213 <select name="Filter" id="sort2">
214 <option value=""></option>
215 [%- FOREACH value IN Sort2.values %]
216 <option value="[%- value | html -%]">[%- value | html -%]</option>
223 </table><br /></fieldset>
226 <fieldset class="rows">
227 <legend>Output</legend>
230 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
233 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
234 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
235 <label class="inline" for="MIME">Into an application: </label>
236 <select name="MIME" id="MIME">
237 <option value="CSV">CSV</option>
239 <select name="sep" id="sep">
240 [% FOREACH value IN CGIsepChoice.values.sort() %]
241 [% IF ( value == CGIsepChoice.default ) %]
242 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
244 <option value="[% value | html %]">[% value | html %]</option>
252 <fieldset class="action">
253 <input type="hidden" name="Filter" value="" />
254 <input type="hidden" name="report_name" value="[% report_name | html %]" />
255 <input type="hidden" name="do_it" value="1" />
256 <input type="submit" class="btn btn-primary" value="Submit" />
262 </div> <!-- /.col-sm-10.col-sm-push-2 -->
264 <div class="col-sm-2 col-sm-pull-10">
266 [% INCLUDE 'reports-menu.inc' %]
268 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
269 </div> <!-- /.row -->
272 [% MACRO jsinclude BLOCK %]
273 [% INCLUDE 'calendar.inc' %]
276 [% INCLUDE 'intranet-bottom.inc' %]