[% title = 'Submit missed bin report'; thing = 'missed bin report'; summary_title = 'Missed collection'; IF c.get_param('additional'); title = 'Submit additional collection request'; thing = 'additional collection request'; summary_title = 'Additional collection'; END; step1 = 'report'; %] [% BLOCK answers %] [% FOR service IN data.keys.grep('^service-') %] [% NEXT UNLESS data.$service %] [% SET service_id = service.replace('service-', '') %]
[% services.$service_id.service_name %]
[%~ IF services.$service_id.last.date %] [%~ date.format(services.$service_id.last.date) | replace('~~~', services.$service_id.last.ordinal) %] [%~ END ~%]
[% END %] [% END %] [% PROCESS waste/summary.html %]