aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/bromley/waste/enquiry-problem.html
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2021-10-07 13:32:40 +0200
committerMarius Halden <marius.h@lden.org>2021-10-07 13:32:40 +0200
commit09dacfc6b8bf62addeee16c20b1d90c2a256da96 (patch)
tree7caa2bf9e92227ab74448f9b746dd28bbcb81b2a /templates/web/bromley/waste/enquiry-problem.html
parent585e57484f9c6332668bf1ac0a6a3b39dbe32223 (diff)
parentcea89fb87a96943708a1db0f646492fbfaaf000f (diff)
Merge tag 'v3.1' into fiksgatami-devfiksgatami-dev
Diffstat (limited to 'templates/web/bromley/waste/enquiry-problem.html')
-rw-r--r--templates/web/bromley/waste/enquiry-problem.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/web/bromley/waste/enquiry-problem.html b/templates/web/bromley/waste/enquiry-problem.html
new file mode 100644
index 000000000..db4cb1848
--- /dev/null
+++ b/templates/web/bromley/waste/enquiry-problem.html
@@ -0,0 +1,29 @@
+[%
+
+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' },
+ { value = 'Damage to 3rd party', label = 'Someone else’s vehicle was damaged' },
+ { value = 'Damage to Property', label = 'My property was damaged' },
+ { value = 'Failure to deliver bin', label = 'My bin was not delivered' },
+);
+
+PROCESS waste/enquiry.html
+ title = 'Report a problem'
+ field_options = f;
+
+%]