2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% IF ( do_it ) %]Acquisitions statistics › Results[% ELSE %]Acquisitions statistics[% END %] › Reports › Koha</title>
4 [% INCLUDE 'doc-head-close.inc' %]
7 <body id="rep_acquisitions_stats" class="rep">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'cat-search.inc' %]
11 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
21 <a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics</a>
24 <a href="#" aria-current="page">
30 <a href="#" aria-current="page">
31 Acquisitions statistics
38 <div class="main container-fluid">
40 <div class="col-sm-10 col-sm-push-2">
44 [% FOREACH mainloo IN mainloop %]
45 <h1>Acquisitions statistics </h1>
46 [% IF ( mainloo.loopfilter.size ) %]
47 <p><strong>Filtered on:</strong></p>
48 [% FOREACH loopfilte IN mainloo.loopfilter %]
50 [% SWITCH loopfilte.crit %]
51 [% CASE '0' %]<span>Placed on (from)</span>
52 [% CASE '1' %]<span>Placed on (to)</span>
53 [% CASE '2' %]<span>Received on (from)</span>
54 [% CASE '3' %]<span>Received on (to)</span>
55 [% CASE '4' %]<span>Vendor</span>
56 [% CASE '5' %]<span>Home library</span>
57 [% CASE '6' %]<span>Collection</span>
58 [% CASE '7' %]<span>Item type</span>
59 [% CASE '8' %]<span>Fund</span>
60 [% CASE '9' %]<span>Sort1</span>
61 [% CASE '10' %]<span>Sort2</span>
62 [% CASE %]<span>Unknown filter</span>
64 : [% loopfilte.filter | html %]
71 <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
72 [% FOREACH loopco IN mainloo.loopcol %]
73 <th>[% loopco.coltitle | html %]</th>
77 [% FOREACH loopro IN mainloo.looprow %]
79 [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
80 [% loopro.rowtitle | html %]</td>
81 [% FOREACH loopcel IN loopro.loopcell %]
82 [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
83 [% IF ( loopcel.value ) %][% loopcel.value | html %]
88 [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
89 [% loopro.totalrow | html %]
95 [% FOREACH loopfoote IN mainloo.loopfooter %]
97 [% loopfoote.totalcol | html %]
100 <th>[% mainloo.total | html %]</th>
105 <form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
106 <fieldset class="rows">
107 <legend>Acquisitions statistics</legend>
118 <tr class="hilighted">
120 <td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
121 <td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
123 From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" />
124 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
125 To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
126 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
129 <tr class="hilighted">
131 <td colspan="2">group by <select name="PlacedOnDisplay">
132 <option value="">None</option>
133 <option value ="1">Day of week</option>
134 <option value ="2">Month</option>
135 <option value ="3">Year</option>
143 <td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
144 <td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
146 From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" />
147 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
148 To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
149 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
154 <td colspan="2">group by <select name="ReceivedOnDisplay">
155 <option value="">None</option>
156 <option value ="1">Day of week</option>
157 <option value ="2">Month</option>
158 <option value ="3">Year</option>
164 <tr class="hilighted">
166 <td><input type="radio" checked="checked" name="Line" value="aqbooksellers.name" /></td>
167 <td><input type="radio" name="Column" value="aqbooksellers.name" /></td>
169 <select name="Filter">
170 <option value="">All vendors</option>
171 [% FOREACH bookseller IN booksellers %]
172 <option value="[% bookseller.name | html %]">[% bookseller.name | html %]</option>
178 <td>Home library</td>
179 <td><input type="radio" name="Line" value="items.homebranch" /></td>
180 <td><input type="radio" name="Column" value="items.homebranch" /></td>
182 <select name="Filter">
183 <option value="" selected="selected">All libraries</option>
184 [% FOREACH branch IN branches %]
185 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
193 [% ccode_label | html %]
195 <span>Collection</span>
198 <td><input type="radio" name="Line" value="items.ccode" /></td>
199 <td><input type="radio" name="Column" value="items.ccode" /></td>
201 [% IF ccode_avlist.size %]
202 <select name="Filter">
203 <option value="" selected="selected">All</option>
204 [% FOREACH ccode_av IN ccode_avlist %]
205 <option value="[% ccode_av.authorised_value | html %]">[% ccode_av.lib | html %]</option>
209 <input type="text" name="Filter" />
215 <td><input type="radio" name="Line" value="biblioitems.itemtype" /></td>
216 <td><input type="radio" name="Column" value="biblioitems.itemtype" /></td>
218 <select name="Filter" id="itemtypes">
219 <option value="">All item types</option>
220 [% FOREACH itemtype IN itemtypes %]
221 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
229 <td><input type="radio" name="Line" value="aqbudgets.budget_code" /></td>
230 <td><input type="radio" name="Column" value="aqbudgets.budget_code" /></td>
232 <select name="Filter" id="budget">
233 <option value="">All funds</option>
234 [% FOREACH value IN Budgets.values %]
235 <option value="[% value | html %]">[% Budgets.labels.$value | html %]</option>
241 [% IF ( hassort1 ) %]
242 <tr class="hilighted">
244 <td><input type="radio" name="Line" value="aqorders.sort1" /></td>
245 <td><input type="radio" name="Column" value="aqorders.sort1" /></td>
247 <select name="Filter" id="sort1">
248 <option value="">All</option>
249 [% FOREACH value IN Sort1.values %]
250 <option value="[% value | html %]">[% Sort1.labels.$value | html %]</option>
256 [% IF ( hassort2 ) %]
257 [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
259 <td><input type="radio" name="Line" value="aqorders.sort2" /></td>
260 <td><input type="radio" name="Column" value="aqorders.sort2" /></td>
262 <select name="Filter" id="sort2">
263 <option value="">All</option>
264 [% FOREACH value IN Sort2.values %]
265 <option value="[% value | html %]">[% Sort2.labels.$value | html %]</option>
275 <fieldset class="rows">
276 <legend> Cell value </legend>
279 <label for="cellvalue1">Count items:</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" />
282 <label for="cellvalue2">Count unique bibliographic records:</label><input type="radio" name="Cellvalue" id="cellvalue2" value="2" />
285 <label for="cellvalue3">Amount:</label><input type="radio" name="Cellvalue" id="cellvalue3" value="3" />
288 <label for="cellvalue4">Ordered amount:</label><input type="radio" name="Cellvalue" id="cellvalue4" value="4" />
291 <label for="cellvalue5">Spent amount:</label><input type="radio" name="Cellvalue" id="cellvalue5" value="5" />
296 <fieldset class="rows">
297 <legend>Output</legend>
300 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
303 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
304 <label class="inline" for="basename">Named: </label> <input type="text" name="basename" id="basename" value="Export" />
305 <label class="inline" for="MIME">Into an application:</label>
306 <select name="MIME" id="MIME">
307 <option value="CSV">CSV</option>
309 <select name="sep" id="sep">
310 [% FOREACH value IN CGIsepChoice.values.sort() %]
311 [% IF ( value == CGIsepChoice.default ) %]
312 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
314 <option value="[% value | html %]">[% value | html %]</option>
322 <fieldset class="action">
323 <input type="submit" value="Submit" />
324 <input type="hidden" name="report_name" value="[% report_name | html %]" />
325 <input type="hidden" name="do_it" value="1" />
331 </div> <!-- /.col-sm-10.col-sm-push-2 -->
333 <div class="col-sm-2 col-sm-pull-10">
335 [% INCLUDE 'reports-menu.inc' %]
337 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
338 </div> <!-- /.row -->
340 [% MACRO jsinclude BLOCK %]
341 [% INCLUDE 'calendar.inc' %]
344 [% INCLUDE 'intranet-bottom.inc' %]