3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Most-circulated items[% IF ( do_it ) %] › Results[% END %] › Reports › Koha</title>
5 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="rep_cat_issues_top" 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/cat_issues_top.pl">Most-circulated items</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">
49 [% FOREACH mainloo IN mainloop %]
50 <h1>Top [% mainloo.limit | html %] Most-circulated items</h1>
51 [% IF ( mainloo.loopfilter ) %]
53 [% FOREACH loopfilte IN mainloo.loopfilter %]
54 <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %] [% END %]</p>
59 <tr> <th>Rank/Biblioitemnumbers</th>
60 [% FOREACH loopco IN mainloo.loopcol %]
61 <th colspan="2">[% loopco.coltitle | html %]</th>
65 [% FOREACH loopco IN mainloo.loopcol %]
67 <th>Count of checkouts</th>
70 [% FOREACH loopro IN mainloo.looprow %]
72 <td>[% loopro.rowtitle | html %]</td>
73 [% FOREACH loopcel IN loopro.loopcell %]
76 [% IF ( loopcel.reference ) %]
77 <a href="[% PROCESS biblio_a_href biblionumber => loopcel.reference %]">
79 [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
80 [% IF ( loopcel.reference ) %]</a>[% END %]
83 [% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
91 <h1>Most-circulated items</h1>
92 <form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
93 <fieldset class="rows">
96 <label for="checkoutfrom">Checkout date from: </label>
97 <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
99 <label for="checkoutto" class="inline">To:</label>
100 <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
101 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
104 <label for="checkinfrom">Check-in date from</label>
105 <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
107 <label for="checkinto" class="inline">To: </label>
108 <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
109 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
112 <label for="branch">Library: </label>
113 <select name="Filter" id="branch"><option value="" > Any library</option>
114 [% PROCESS options_for_libraries libraries => Branches.all() %]
118 <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
119 [% FOREACH itemtype IN itemtypes %]
120 <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
125 <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" />
128 <label for="ccode">Collection: </label><select name="Filter" id="ccode"><option value="" > Any collection</option>
129 [% FOREACH ccodeloo IN ccodeloop %]
130 <option value="[% ccodeloo.value | html %]" >[% ccodeloo.description | html %] </option>
135 <label for="shelvingloc">Shelving location: </label><select name="Filter" id="shelvingloc"><option value="" > Any shelving location</option>
136 [% FOREACH shelvinglocloo IN shelvinglocloop %]
137 <option value="[% shelvinglocloo.value | html %]" >[% shelvinglocloo.description | html %] </option>
142 <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option>
143 [% FOREACH patron_category IN patron_categories %]
144 <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
148 <li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li>
149 <li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li>
150 <li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li>
154 <fieldset class="rows">
155 <legend>Limits</legend>
156 <ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
157 <option value ="" selected="selected">None</option>
158 <option value="5" selected="selected"> 5</option>
159 <option value ="10">10</option>
160 <option value ="15">15</option>
161 <option value ="20">20</option>
162 <option value ="25">25</option>
163 <option value ="40">40</option>
164 <option value ="50">50</option>
165 <option value ="100">100</option>
167 <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
168 <option value ="" selected="selected">None</option>
169 <option value ="branch">Library</option>
170 <option value ="categorycode">Categorycode</option>
171 <option value ="itemtype">Itemtype</option>
172 <option value ="Day">Day</option>
173 <option value ="Week">Week</option>
174 <option value ="Month">Month</option>
175 <option value ="Year">Year</option>
179 <fieldset class="rows">
180 <legend>Output</legend>
183 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
186 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
187 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
188 <label class="inline" for="MIME">Into an application:</label>
189 <select name="MIME" id="MIME">
190 [% FOREACH value IN CGIextChoice %]
191 <option value="[% value | html %]">[% value | html %]</option>
194 <select name="sep" id="sep">
195 [% FOREACH value IN CGIsepChoice.values.sort() %]
196 [% IF ( value == CGIsepChoice.default ) %]
197 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
199 <option value="[% value | html %]">[% value | html %]</option>
207 <fieldset class="action">
208 <input type="submit" class="btn btn-primary" value="Submit" />
209 <input type="hidden" name="report_name" value="[% report_name | html %]" />
210 <input type="hidden" name="do_it" value="1" />
216 </div> <!-- /.col-sm-10.col-sm-push-2 -->
218 <div class="col-sm-2 col-sm-pull-10">
220 [% INCLUDE 'reports-menu.inc' %]
222 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
223 </div> <!-- /.row -->
225 [% MACRO jsinclude BLOCK %]
226 [% INCLUDE 'calendar.inc' %]
229 [% INCLUDE 'intranet-bottom.inc' %]