4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Most-circulated items[% IF ( do_it ) %] › Results[% END %] › Reports › Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="rep_cat_issues_top" class="rep">
10 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 [% WRAPPER breadcrumbs %]
16 [% WRAPPER breadcrumb_item %]
17 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
20 [% WRAPPER breadcrumb_item %]
21 <a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a>
23 [% WRAPPER breadcrumb_item bc_active= 1 %]
27 [% WRAPPER breadcrumb_item bc_active= 1 %]
28 <span>Most-circulated items</span>
30 [% END # /IF ( do_it ) %]
31 [% END #/ WRAPPER breadcrumbs %]
32 [% END #/ WRAPPER sub-header.inc %]
34 <div class="main container-fluid">
36 <div class="col-sm-10 col-sm-push-2">
41 [% FOREACH mainloo IN mainloop %]
42 <h1>Top [% mainloo.limit | html %] Most-circulated items</h1>
43 [% IF ( mainloo.loopfilter ) %]
45 [% FOREACH loopfilte IN mainloo.loopfilter %]
46 <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %] [% END %]</p>
51 <tr> <th>Rank/Biblioitemnumbers</th>
52 [% FOREACH loopco IN mainloo.loopcol %]
53 <th colspan="2">[% loopco.coltitle | html %]</th>
57 [% FOREACH loopco IN mainloo.loopcol %]
59 <th>Count of checkouts</th>
62 [% FOREACH loopro IN mainloo.looprow %]
64 <td>[% loopro.rowtitle | html %]</td>
65 [% FOREACH loopcel IN loopro.loopcell %]
68 [% IF ( loopcel.reference ) %]
69 <a href="[% PROCESS biblio_a_href biblionumber => loopcel.reference %]">
71 [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
72 [% IF ( loopcel.reference ) %]</a>[% END %]
75 [% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
83 <h1>Most-circulated items</h1>
84 <form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
85 <fieldset class="rows">
88 <label for="checkoutfrom">Checkout date from: </label>
89 <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
91 <label for="checkoutto" class="inline">To:</label>
92 <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
93 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
96 <label for="checkinfrom">Check-in date from</label>
97 <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
99 <label for="checkinto" class="inline">To: </label>
100 <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
101 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
104 <label for="branch">Library: </label>
105 <select name="Filter" id="branch"><option value="" > Any library</option>
106 [% PROCESS options_for_libraries libraries => Branches.all() %]
110 <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
111 [% FOREACH itemtype IN itemtypes %]
112 <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
117 <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" />
120 <label for="ccode">Collection: </label><select name="Filter" id="ccode"><option value="" > Any collection</option>
121 [% FOREACH ccodeloo IN ccodeloop %]
122 <option value="[% ccodeloo.value | html %]" >[% ccodeloo.description | html %] </option>
127 <label for="shelvingloc">Shelving location: </label><select name="Filter" id="shelvingloc"><option value="" > Any shelving location</option>
128 [% FOREACH shelvinglocloo IN shelvinglocloop %]
129 <option value="[% shelvinglocloo.value | html %]" >[% shelvinglocloo.description | html %] </option>
134 <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option>
135 [% FOREACH patron_category IN patron_categories %]
136 <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
140 <li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li>
141 <li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li>
142 <li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li>
146 <fieldset class="rows">
147 <legend>Limits</legend>
148 <ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
149 <option value ="" selected="selected">None</option>
150 <option value="5" selected="selected"> 5</option>
151 <option value ="10">10</option>
152 <option value ="15">15</option>
153 <option value ="20">20</option>
154 <option value ="25">25</option>
155 <option value ="40">40</option>
156 <option value ="50">50</option>
157 <option value ="100">100</option>
159 <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
160 <option value ="" selected="selected">None</option>
161 <option value ="branch">Library</option>
162 <option value ="categorycode">Categorycode</option>
163 <option value ="itemtype">Itemtype</option>
164 <option value ="Day">Day</option>
165 <option value ="Week">Week</option>
166 <option value ="Month">Month</option>
167 <option value ="Year">Year</option>
171 <fieldset class="rows">
172 <legend>Output</legend>
175 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
178 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
179 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
180 <label class="inline" for="MIME">Into an application:</label>
181 <select name="MIME" id="MIME">
182 [% FOREACH value IN CGIextChoice %]
183 <option value="[% value | html %]">[% value | html %]</option>
186 <select name="sep" id="sep">
187 [% FOREACH value IN CGIsepChoice.values.sort() %]
188 [% IF ( value == CGIsepChoice.default ) %]
189 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
191 <option value="[% value | html %]">[% value | html %]</option>
199 <fieldset class="action">
200 <input type="submit" class="btn btn-primary" value="Submit" />
201 <input type="hidden" name="report_name" value="[% report_name | html %]" />
202 <input type="hidden" name="do_it" value="1" />
208 </div> <!-- /.col-sm-10.col-sm-push-2 -->
210 <div class="col-sm-2 col-sm-pull-10">
212 [% INCLUDE 'reports-menu.inc' %]
214 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
215 </div> <!-- /.row -->
217 [% MACRO jsinclude BLOCK %]
218 [% INCLUDE 'calendar.inc' %]
221 [% INCLUDE 'intranet-bottom.inc' %]