|
[% loc('WTD', "Week to date") %] |
[% loc('Last 7 days') %] |
[% loc('Last 4 weeks') %] |
[% loc('YTD', "Year to date") %] |
[%
rows = {
'0' => [ "total", loc("Total reports received") ]
'1' => [ "fixed - council", loc("Council has marked as fixed") ]
'2' => [ "fixed_user", loc("User has marked as fixed") ]
};
FOR row IN rows %]
[% row.value.1 %] |
[% problems.wtd.${row.value.0} %] |
[% problems.week.${row.value.0} %] |
[% problems.weeks.${row.value.0} %] |
[% problems.ytd.${row.value.0} %] |
[% END %]
[% loc('Total marked as fixed') %] |
[% problems.wtd.${"fixed - council"} + problems.wtd.fixed_user %] |
[% problems.week.${"fixed - council"} + problems.week.fixed_user %] |
[% problems.weeks.${"fixed - council"} + problems.weeks.fixed_user %] |
[% problems.ytd.${"fixed - council"} + problems.ytd.fixed_user %] |
[%
rows = {
'0' => [ "in progress", loc("Council has marked as in progress") ]
'1' => [ "action scheduled", loc("Council has marked as planned") ]
'2' => [ "investigating", loc("Council has marked as investigating") ]
'3' => [ "closed", loc("Council has marked as closed") ]
};
wtd = 0, week = 0, weeks = 0, ytd = 0;
FOR row IN rows %]
[% row.value.1 %] |
[% problems.wtd.${row.value.0} %] |
[% problems.week.${row.value.0} %] |
[% problems.weeks.${row.value.0} %] |
[% problems.ytd.${row.value.0} %] |
[% END %]
[% loc('Total marked') %] |
[% problems.wtd.${"in progress"} + problems.wtd.${"action scheduled"} +
problems.wtd.investigating + problems.wtd.closed %] |
[% problems.week.${"in progress"} + problems.week.${"action scheduled"} +
problems.week.investigating + problems.wtd.closed %] |
[% problems.weeks.${"in progress"} + problems.weeks.${"action scheduled"} +
problems.weeks.investigating + problems.wtd.closed %] |
[% problems.ytd.${"in progress"} + problems.ytd.${"action scheduled"} +
problems.ytd.investigating + problems.wtd.closed %] |
[% loc('Average time to council marking fixed (days)') %] |
[% problems.wtd.time_to_fix %] |
[% problems.week.time_to_fix %] |
[% problems.weeks.time_to_fix %] |
[% problems.ytd.time_to_fix %] |
[% loc('Average time to first council state change (days)') %] |
[% problems.wtd.time_to_mark %] |
[% problems.week.time_to_mark %] |
[% problems.weeks.time_to_mark %] |
[% problems.ytd.time_to_mark %] |
[% loc('Total not marked') %] |
[% problems.wtd.not_marked %] |
[% problems.week.not_marked %] |
[% problems.weeks.not_marked %] |
[% problems.ytd.not_marked %] |