C4::Members::Statistics - Get statistics for patron checkouts

get_fields Get fields form syspref 'StatisticsFields' Returns list of valid fields, defaults to 'location|itype|ccode' if syspref is empty or does not contain valid fields

construct_query Build a sql query from a subquery Adds statistics fields to the select and the group by clause

GetTotalIssuesTodayByBorrower Return total issues for a borrower at this current day

GetTotalIssuesReturnedTodayByBorrower Return total issues returned by a borrower at this current day

GetPrecedentStateByBorrower Return the precedent state (before today) for a borrower of his checkins and checkouts