diff options
Diffstat (limited to 'templates/web/bromley/waste/services.html')
-rw-r--r-- | templates/web/bromley/waste/services.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/web/bromley/waste/services.html b/templates/web/bromley/waste/services.html new file mode 100644 index 000000000..6fc654f07 --- /dev/null +++ b/templates/web/bromley/waste/services.html @@ -0,0 +1,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> |