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 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'cat-search.inc' %]
12 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
18 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
22 <a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a>
25 <a href="#" aria-current="page">
31 <a href="#" aria-current="page">
39 <div class="main container-fluid">
41 <div class="col-sm-10 col-sm-push-2">
46 [% FOREACH mainloo IN mainloop %]
47 <h1>Top [% mainloo.limit | html %] Most-circulated items</h1>
48 [% IF ( mainloo.loopfilter ) %]
50 [% FOREACH loopfilte IN mainloo.loopfilter %]
51 <p>[% IF ( loopfilte.err ) %] [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %] [% END %]</p>
56 <tr> <th>Rank/Biblioitemnumbers</th>
57 [% FOREACH loopco IN mainloo.loopcol %]
58 <th colspan="2">[% loopco.coltitle | html %]</th>
62 [% FOREACH loopco IN mainloo.loopcol %]
64 <th>Count of checkouts</th>
67 [% FOREACH loopro IN mainloo.looprow %]
69 <td>[% loopro.rowtitle | html %]</td>
70 [% FOREACH loopcel IN loopro.loopcell %]
73 [% IF ( loopcel.reference ) %]
74 [% IF ( loopcel.BiblioDefaultViewmarc ) %]
75 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% loopcel.reference |url %]">
76 [% ELSIF ( loopcel.BiblioDefaultViewisbd ) %]
77 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% loopcel.reference |url %]">
79 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopcel.reference |url %]">
82 [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
83 [% IF ( loopcel.reference ) %]</a>[% END %]
86 [% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
94 <h1>Most-circulated items</h1>
95 <form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
96 <fieldset class="rows">
99 <label for="checkoutfrom">Checkout date from: </label>
100 <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
102 <label for="checkoutto" class="inline">To:</label>
103 <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
104 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
107 <label for="checkinfrom">Check-in date from</label>
108 <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
110 <label for="checkinto" class="inline">To: </label>
111 <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
112 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
115 <label for="branch">Library: </label>
116 <select name="Filter" id="branch"><option value="" > Any library</option>
117 [% PROCESS options_for_libraries libraries => Branches.all() %]
121 <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
122 [% FOREACH itemtype IN itemtypes %]
123 <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
128 <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" />
131 <label for="ccode">Collection: </label><select name="Filter" id="ccode"><option value="" > Any collection</option>
132 [% FOREACH ccodeloo IN ccodeloop %]
133 <option value="[% ccodeloo.value | html %]" >[% ccodeloo.description | html %] </option>
138 <label for="shelvingloc">Shelving location: </label><select name="Filter" id="shelvingloc"><option value="" > Any shelving location</option>
139 [% FOREACH shelvinglocloo IN shelvinglocloop %]
140 <option value="[% shelvinglocloo.value | html %]" >[% shelvinglocloo.description | html %] </option>
145 <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option>
146 [% FOREACH patron_category IN patron_categories %]
147 <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
151 <li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li>
152 <li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li>
153 <li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li>
157 <fieldset class="rows">
158 <legend>Limits</legend>
159 <ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
160 <option value ="" selected="selected">None</option>
161 <option value="5" selected="selected"> 5</option>
162 <option value ="10">10</option>
163 <option value ="15">15</option>
164 <option value ="20">20</option>
165 <option value ="25">25</option>
166 <option value ="40">40</option>
167 <option value ="50">50</option>
168 <option value ="100">100</option>
170 <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
171 <option value ="" selected="selected">None</option>
172 <option value ="branch">Library</option>
173 <option value ="categorycode">Categorycode</option>
174 <option value ="itemtype">Itemtype</option>
175 <option value ="Day">Day</option>
176 <option value ="Week">Week</option>
177 <option value ="Month">Month</option>
178 <option value ="Year">Year</option>
182 <fieldset class="rows">
183 <legend>Output</legend>
186 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
189 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
190 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
191 <label class="inline" for="MIME">Into an application:</label>
192 <select name="MIME" id="MIME">
193 [% FOREACH value IN CGIextChoice %]
194 <option value="[% value | html %]">[% value | html %]</option>
197 <select name="sep" id="sep">
198 [% FOREACH value IN CGIsepChoice.values.sort() %]
199 [% IF ( value == CGIsepChoice.default ) %]
200 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
202 <option value="[% value | html %]">[% value | html %]</option>
210 <fieldset class="action">
211 <input type="submit" value="Submit" />
212 <input type="hidden" name="report_name" value="[% report_name | html %]" />
213 <input type="hidden" name="do_it" value="1" />
219 </div> <!-- /.col-sm-10.col-sm-push-2 -->
221 <div class="col-sm-2 col-sm-pull-10">
223 [% INCLUDE 'reports-menu.inc' %]
225 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
226 </div> <!-- /.row -->
228 [% MACRO jsinclude BLOCK %]
229 [% INCLUDE 'calendar.inc' %]
232 [% INCLUDE 'intranet-bottom.inc' %]