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 [% WRAPPER 'header.inc' %]
9 [% INCLUDE 'cat-search.inc' %]
12 [% WRAPPER 'sub-header.inc' %]
13 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
23 <a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics</a>
26 <a href="#" aria-current="page">
32 <a href="#" aria-current="page">
33 Acquisitions statistics
41 <div class="main container-fluid">
43 <div class="col-sm-10 col-sm-push-2">
46 <h1>Acquisitions statistics </h1>
48 [% FOREACH mainloo IN mainloop %]
49 [% IF ( mainloo.loopfilter.size ) %]
50 <p><strong>Filtered on:</strong></p>
51 [% FOREACH loopfilte IN mainloo.loopfilter %]
53 [% SWITCH loopfilte.crit %]
54 [% CASE '0' %]<span>Placed on (from)</span>
55 [% CASE '1' %]<span>Placed on (to)</span>
56 [% CASE '2' %]<span>Received on (from)</span>
57 [% CASE '3' %]<span>Received on (to)</span>
58 [% CASE '4' %]<span>Vendor</span>
59 [% CASE '5' %]<span>Home library</span>
60 [% CASE '6' %]<span>Collection</span>
61 [% CASE '7' %]<span>Item type</span>
62 [% CASE '8' %]<span>Fund</span>
63 [% CASE '9' %]<span>Sort1</span>
64 [% CASE '10' %]<span>Sort2</span>
65 [% CASE %]<span>Unknown filter</span>
67 : [% loopfilte.filter | html %]
74 <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
75 [% FOREACH loopco IN mainloo.loopcol %]
76 <th>[% loopco.coltitle | html %]</th>
80 [% FOREACH loopro IN mainloo.looprow %]
82 [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
83 [% loopro.rowtitle | html %]</td>
84 [% FOREACH loopcel IN loopro.loopcell %]
85 [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
86 [% IF ( loopcel.value ) %][% loopcel.value | html %]
91 [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
92 [% loopro.totalrow | html %]
98 [% FOREACH loopfoote IN mainloo.loopfooter %]
100 [% loopfoote.totalcol | html %]
103 <th>[% mainloo.total | html %]</th>
108 <form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
109 <fieldset class="rows">
110 <legend>Acquisitions statistics</legend>
121 <tr class="hilighted">
123 <td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
124 <td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
126 From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" />
127 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
128 To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
129 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
132 <tr class="hilighted">
134 <td colspan="2">group by <select name="PlacedOnDisplay">
135 <option value="">None</option>
136 <option value ="1">Day of week</option>
137 <option value ="2">Month</option>
138 <option value ="3">Year</option>
146 <td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
147 <td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
149 From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" />
150 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
151 To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
152 <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
157 <td colspan="2">group by <select name="ReceivedOnDisplay">
158 <option value="">None</option>
159 <option value ="1">Day of week</option>
160 <option value ="2">Month</option>
161 <option value ="3">Year</option>
167 <tr class="hilighted">
169 <td><input type="radio" checked="checked" name="Line" value="aqbooksellers.name" /></td>
170 <td><input type="radio" name="Column" value="aqbooksellers.name" /></td>
172 <select name="Filter">
173 <option value="">All vendors</option>
174 [% FOREACH bookseller IN booksellers %]
175 <option value="[% bookseller.name | html %]">[% bookseller.name | html %]</option>
181 <td>Home library</td>
182 <td><input type="radio" name="Line" value="items.homebranch" /></td>
183 <td><input type="radio" name="Column" value="items.homebranch" /></td>
185 <select name="Filter">
186 <option value="" selected="selected">All libraries</option>
187 [% FOREACH branch IN branches %]
188 <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option>
196 [% ccode_label | html %]
198 <span>Collection</span>
201 <td><input type="radio" name="Line" value="items.ccode" /></td>
202 <td><input type="radio" name="Column" value="items.ccode" /></td>
204 [% IF ccode_avlist.size %]
205 <select name="Filter">
206 <option value="" selected="selected">All</option>
207 [% FOREACH ccode_av IN ccode_avlist %]
208 <option value="[% ccode_av.authorised_value | html %]">[% ccode_av.lib | html %]</option>
212 <input type="text" name="Filter" />
218 <td><input type="radio" name="Line" value="biblioitems.itemtype" /></td>
219 <td><input type="radio" name="Column" value="biblioitems.itemtype" /></td>
221 <select name="Filter" id="itemtypes">
222 <option value="">All item types</option>
223 [% FOREACH itemtype IN itemtypes %]
224 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
232 <td><input type="radio" name="Line" value="aqbudgets.budget_code" /></td>
233 <td><input type="radio" name="Column" value="aqbudgets.budget_code" /></td>
235 <select name="Filter" id="budget">
236 <option value="">All funds</option>
237 [% FOREACH value IN Budgets.values %]
238 <option value="[% value | html %]">[% Budgets.labels.$value | html %]</option>
244 [% IF ( hassort1 ) %]
245 <tr class="hilighted">
247 <td><input type="radio" name="Line" value="aqorders.sort1" /></td>
248 <td><input type="radio" name="Column" value="aqorders.sort1" /></td>
250 <select name="Filter" id="sort1">
251 <option value="">All</option>
252 [% FOREACH value IN Sort1.values %]
253 <option value="[% value | html %]">[% Sort1.labels.$value | html %]</option>
259 [% IF ( hassort2 ) %]
260 [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
262 <td><input type="radio" name="Line" value="aqorders.sort2" /></td>
263 <td><input type="radio" name="Column" value="aqorders.sort2" /></td>
265 <select name="Filter" id="sort2">
266 <option value="">All</option>
267 [% FOREACH value IN Sort2.values %]
268 <option value="[% value | html %]">[% Sort2.labels.$value | html %]</option>
278 <fieldset class="rows">
279 <legend> Cell value </legend>
282 <label for="cellvalue1">Count items:</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" />
285 <label for="cellvalue2">Count unique bibliographic records:</label><input type="radio" name="Cellvalue" id="cellvalue2" value="2" />
288 <label for="cellvalue3">Amount:</label><input type="radio" name="Cellvalue" id="cellvalue3" value="3" />
291 <label for="cellvalue4">Ordered amount:</label><input type="radio" name="Cellvalue" id="cellvalue4" value="4" />
294 <label for="cellvalue5">Spent amount:</label><input type="radio" name="Cellvalue" id="cellvalue5" value="5" />
299 <fieldset class="rows">
300 <legend>Output</legend>
303 <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
306 <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
307 <label class="inline" for="basename">Named: </label> <input type="text" name="basename" id="basename" value="Export" />
308 <label class="inline" for="MIME">Into an application:</label>
309 <select name="MIME" id="MIME">
310 <option value="CSV">CSV</option>
312 <select name="sep" id="sep">
313 [% FOREACH value IN CGIsepChoice.values.sort() %]
314 [% IF ( value == CGIsepChoice.default ) %]
315 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
317 <option value="[% value | html %]">[% value | html %]</option>
325 <fieldset class="action">
326 <input type="submit" class="btn btn-primary" value="Submit" />
327 <input type="hidden" name="report_name" value="[% report_name | html %]" />
328 <input type="hidden" name="do_it" value="1" />
334 </div> <!-- /.col-sm-10.col-sm-push-2 -->
336 <div class="col-sm-2 col-sm-pull-10">
338 [% INCLUDE 'reports-menu.inc' %]
340 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
341 </div> <!-- /.row -->
343 [% MACRO jsinclude BLOCK %]
344 [% INCLUDE 'calendar.inc' %]
347 [% INCLUDE 'intranet-bottom.inc' %]