|
WTD |
Last 7 days |
Last 4 weeks |
YTD |
[%
rows = {
'0' => [ "total", "Total reports received" ]
'1' => [ "fixed - council", "Council has marked as fixed" ]
'2' => [ "fixed_user", "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 %]
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", "Council has marked as in progress" ]
'1' => [ "action scheduled", "Council has marked as planned" ]
'2' => [ "investigating", "Council has marked as investigating" ]
'3' => [ "closed", "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 %]
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 %] |
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 %] |
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 %] |
Total not marked |
[% problems.wtd.not_marked %] |
[% problems.week.not_marked %] |
[% problems.weeks.not_marked %] |
[% problems.ytd.not_marked %] |