[% INCLUDE 'admin/header.html' title=loc('Stats') %] [% IF show_count %]
[% tprintf( unconfirmed ? loc( 'All reports between %s and %s' ) : loc( 'Confirmed reports between %s and %s' ), start_date.ymd, end_date.ymd ) | html %]
[% IF bymonth %][% loc('Year') %] | [% loc('Month') %] | [% loc('Count') %] | [% total = 0 %] [% WHILE ( state = states.next ) %] [% total = total + state.get_column( 'count' ) %]
[% state.get_column( 'c_year') | html %] | [% state.get_column( 'c_month') | html %] | [% state.get_column( 'count' ) %] |
[% loc( 'Total' ) %] | [% total %] |
[% loc('Current state') %] | [% loc('Count') %] | [% total = 0 %] [% WHILE ( state = states.next ) %] [% total = total + state.get_column( 'count' ) %]
[% state.state | html %] | [% state.get_column( 'count' ) %] |
[% loc( 'Total' ) %] | [% total %] |
[% loc( 'Note that when including unconfirmed reports we use the date the report was created which may not be in the same month the report was confirmed so the numbers may jump about a little' ) %]
[% END %] [% END %] [% IF errors %] [% FOREACH error IN errors %][% error %]
[% END %] [% END %] [% INCLUDE 'admin/footer.html' %]