-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bromley] Treat some enquiries same as missed.
In terms of within-two-day and no existing open event.
- Loading branch information
Showing
4 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
[% PROCESS waste/enquiry.html | ||
[% | ||
|
||
f = []; | ||
service_id = c.req.params.service_id; | ||
service = services.$service_id; | ||
IF service.report_allowed; | ||
IF !service.enquiry_open_events.2118; | ||
f.push( { value = 'Gate not closed', label = 'A gate or enclosure wasn’t closed after the collection' } ); | ||
END; | ||
IF !service.enquiry_open_events.2119; | ||
f.push( { value = 'Waste spillage', label = 'Bin contents were spilled during the collection' } ); | ||
END; | ||
IF !service.enquiry_open_events.2120; | ||
f.push( { value = 'Bin not returned', label = 'A bin wasn’t returned after the collection' } ); | ||
END; | ||
END; | ||
f.push( | ||
{ value = 'Crew behaviour', label = 'There was a problem with the crew’s behaviour' }, | ||
{ value = 'Wrongful removal', label = 'Something was wrongly removed during the collection' }, | ||
); | ||
|
||
PROCESS waste/enquiry.html | ||
title = 'Report a problem' | ||
field_options = [ | ||
{ value = 'Gate not closed', label = 'A gate or enclosure wasn’t closed after the collection' }, | ||
{ value = 'Waste spillage', label = 'Bin contents were spilled during the collection' }, | ||
{ value = 'Bin not returned', label = 'A bin wasn’t returned after the collection' }, | ||
{ value = 'Crew behaviour', label = 'There was a problem with the crew’s behaviour' }, | ||
{ value = 'Wrongful removal', label = 'Something was wrongly removed during the collection' }, | ||
] | ||
field_options = f; | ||
|
||
%] |