|
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' => [ "planned", "Council has marked as planned" ]
'2' => [ "investigating", "Council has marked as investigating" ]
};
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.planned + problems.wtd.investigating %] |
[% problems.week.${"in progress"} + problems.week.planned + problems.week.investigating %] |
[% problems.weeks.${"in progress"} + problems.weeks.planned + problems.weeks.investigating %] |
[% problems.ytd.${"in progress"} + problems.ytd.planned + problems.ytd.investigating %] |
Average time to fix |
- |
- |
- |
- |
Average time to mark |
- |
- |
- |
- |
Total not marked |
- |
- |
- |
- |