]> git.koha-community.org Git - koha.git/commit
Bug 7955: Statistics tab for Patron checkouts
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 13 Apr 2012 14:21:32 +0000 (16:21 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 19:16:50 +0000 (21:16 +0200)
commit5e2001a6f8be693f3c2d816d1b2558b632c00dd4
tree3bd58ca05e1b811d25001185870a4b5ebb335974
parent1a2e242704993dd03f33a550ff0cd0503c62b4c0
Bug 7955: Statistics tab for Patron checkouts

This patch adds a new 'statistics' tab in the Patron module.
For a borrower, this tab contains a table with:
- number of checkout for today
- number of checkin for today
- "precedent state", the number of checkouts the patron had yesterday on
  its library card
- "actual state", the number of checkouts on the borrower card at the current date

A new syspref (StatisticsFields) contains a list of fields (separated by
pipe (|) on which the table results is based. The default value is
location|itype|ccode

Signed-off-by: Mathilde Formery <mathilde.formery@ville-nimes.fr>
C4/Members/Statistics.pm [new file with mode: 0644]
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt
koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt [new file with mode: 0644]
members/statistics.pl [new file with mode: 0755]