[% USE date(format = c.cobrand.bin_day_format) %] [% PROCESS 'waste/header.html' %] [% IF c.cobrand.moniker != 'sutton' %]

Your bin days

[% END %] [% INCLUDE 'waste/_address_display.html' %]

Your collections

[% IF data_loading %]

Loading your bin days...

[% ELSE %]
[% DEFAULT any_report_allowed = 0 ~%] [% SET any_request_allowed = 0 ~%] [% IF NOT waste_features.garden_disabled AND pending_subscription %]

You have a pending [%= IF pending_subscription.title == 'Garden Subscription - Renew' ~%] garden subscription renewal. [%~ ELSIF pending_subscription.title == 'Garden Subscription - New' ~%] garden subscription. [%~ END %]

[% END %] [% FOR unit IN service_data %] [% UNLESS unit.request_only %]

[% unit.service_name %] [% IF c.cobrand.moniker == 'brent' %]collection[% END %]

[% SET image = c.cobrand.image_for_unit(unit) ~%] [% IF image %]
[% ELSE %]
[% END %] [% IF !unit.garden_overdue %] [% IF unit.garden_due AND NOT waste_features.garden_disabled AND NOT waste_features.garden_renew_disabled %]
Warning

Your subscription is soon due for renewal.

[% WRAPPER 'waste/_garden_status_messages.html' %] Avoid disruption to your service.
[% END %]
[% END %]
Frequency
[% unit.schedule %]
Next collection
[% IF unit.next %] [% date.format(unit.next.date) | replace('~~~', unit.next.ordinal) %] [% IF unit.next.changed %](this collection has been adjusted from its usual time)[% END %] [% IF unit.next.state %]([% unit.next.state %])[% END %] [% ELSE %] None [% END %]
[% IF unit.last AND unit.last.date.year > 2000 %][%# Bartec uses 1900-01-01T00:00:00 for jobs that have no previous collection %]
Last collection
[% date.format(unit.last.date) | replace('~~~', unit.last.ordinal) %] [%~ IF unit.last.completed %], at [% date.format(unit.last.completed, '%l:%M%p') | lower ~%][% END %] [% IF unit.last.changed %](this collection was adjusted from its usual time)[% END %] [% IF unit.last.state %]([% unit.last.state %])[% END %] [% IF unit.last.resolution %][% unit.last.resolution | staff_html_markup({ is_body_user => 1 }) %][% END ~%]
[% END %]
[% END %]
[% PROCESS waste/services.html %]
[% END %] [% END %] [% IF NOT service_data.size %] [% TRY %][% PROCESS waste/_bin_days_no_collections.html %][% CATCH file %]

This property has no collections.

[% END %] [% END %] [% TRY %][% PROCESS waste/services_extra.html %][% CATCH file %][% END %]
[% INCLUDE waste/bin_days_sidebar.html %]
[% END %]
[% INCLUDE footer.html %]