Bug 7896: Acq statistics wizard: add filters and cell values
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 3 Apr 2012 15:30:36 +0000 (17:30 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 2 Dec 2012 14:40:45 +0000 (09:40 -0500)
commitae549864b09f422a2cef91b7586f3e63a29caf91
treeda9b6c46d70f703d21e801823d7c814156b83019
parentb0edca918b74b48d658534b54c0df1a84ec94661
Bug 7896: Acq statistics wizard: add filters and cell values

- Possibility to select for line and column: items.homebranch and
  items.ccode
- Possibility to filter on these fields
- Possibility to count unique biblios (count(distinct biblionumber)),
  ordered amount and spent amount (based on aqorders.datereceived)

Filtering on item homebranch and ccode works only on items that were
created at ordering or receiving (ie items are linked to an order)

Some refactoring is done, mainly replacing switch-like if statements by
given/when

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Biblio.pm
koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt
reports/acquisitions_stats.pl