blob: 6fc654f07ca2fcd0387c59f8da9aeabf980caadc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
[% IF unit.service_id == 531 ~%]
[% domestic_collection = 1 ~%]
[% END ~%]
[% IF unit.report_open %]
<span class="waste-service-descriptor">
A [% unit.service_name FILTER lower %] collection has been reported as missed
[% IF unit.report_open.report %] – <a href="[% unit.report_open.report.url %]" class="waste-service-link">check status</a>[% END %]
</span>
[% ELSIF unit.report_allowed %]
[% any_report_allowed = 1 %]
<form method="post" action="[% c.uri_for_action('waste/report', [ property.id ]) %]">
<input type="hidden" name="token" value="[% csrf_token %]">
<input type="hidden" name="service-[% unit.service_id %]" value="1">
<input type="submit" value="Report a [% unit.service_name FILTER lower %] collection as missed" class="waste-service-descriptor waste-service-link">
</form>
[% ELSIF unit.report_locked_out %]
<span class="waste-service-descriptor">A missed collection cannot be reported, please see the last collection status above.</span>
[% ELSE %]
<span class="waste-service-descriptor">Please note that missed collections can only be reported within 2 working days of your scheduled collection day.</span>
[% END %]
<a href="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]?template=problem&service_id=[% unit.service_id %]" class="waste-service-link waste-service-descriptor">Report a problem with a [% unit.service_name FILTER lower %] collection</a>
[% IF unit.request_open %]
<span class="waste-service-descriptor">
A new [% unit.service_name FILTER lower %] container request has been made
[% IF unit.request_open.report %] – <a href="[% unit.request_open.report.url %]" class="waste-service-link">check status</a>[% END %]
</span>
[% ELSIF unit.request_allowed %]
[% any_request_allowed = 1 %]
<form method="post" action="[% c.uri_for_action('waste/request', [ property.id ]) %]">
<input type="hidden" name="token" value="[% csrf_token %]">
<input type="hidden" name="container-[% unit.request_containers.0 %]" value="1">
<input type="submit" value="Request a new [% unit.service_name FILTER lower %] container" class="waste-service-descriptor waste-service-link">
</form>
[% END %]
<form method="get" action="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]">
<input type="hidden" name="service_id" value="[% unit.service_id %]">
<input type="hidden" name="category" id="category" value="General Enquiry">
<input type="submit" value="Contact us about a [% unit.service_name FILTER lower %] collection" class="waste-service-descriptor waste-service-link">
</form>
|