[% # Don't display garden waste promo if address has any of the below services %] [% SET has_blocked_service = 0; FOR srv IN [ 'GA-140', 'GA-240', 'MDR-SACK', 'RES-SACK', ]; IF services.$srv; has_blocked_service = 1; END; END; %] [% UNLESS property.parent_property OR has_blocked_service OR services.size == 0 %]

Brown Wheelie Bin

Status: You do not have a Garden waste collection.

If you're a keen gardener, we can take away your garden waste. We'll deliver a bin you can use, and empty it every two weeks.

Sign up for a garden waste collection
[% END %] [%# Allow superusers to see red tags and service updates for debugging purposes %] [% IF c.user.is_superuser %]
🐞 Superuser debugging

Property

UPRN
[% property.uprn %]
[% IF property.parent_property %]
Parent UPRN
[% property.parent_property.uprn %]
[% END %]
USRN
[% property.usrn %]

Services

[% FOREACH service IN service_data %]
ID
[% service.service_id %]
Name
[% service.service_name %]
Description
[% service.service_description %]
Round schedule
[% service.round_schedule %]

[% END %]

Recent scheduled collections

[% FOREACH round IN property.recent_collections.keys %]
[% round %]
[% property.recent_collections.$round %]
[% END %]

Completed or attempted collections

[% FOREACH round IN property.completed_or_attempted_collections.keys %]
[% round %]
[% property.completed_or_attempted_collections.$round %]
[% END %]

Missed collection reports

[% IF property.missed_collection_reports && property.missed_collection_reports.size %] [% FOREACH report IN property.missed_collection_reports %]

[% report.key %]: [% report.value %]

[% END %] [% ELSE %]

No existing missed collection reports

[% END %]

Red tags

[% IF property.red_tags && property.red_tags.size %] [% FOREACH tag IN property.red_tags %]

[% tag.reason %]

Date
[% tag.date %]
UPRN
[% tag.uprn %]
Round
[% tag.round %]
Reason
[% tag.reason %]

[% END %] [% ELSE %]

No red tags

[% END %]

Service updates

[% IF property.service_updates && property.service_updates.size %] [% FOREACH update IN property.service_updates %]

[% update.reason %]

Date
[% date.format(update.date, '%A, %-d~~~ %B %Y at %l:%M%p') | replace('~~~', update.ordinal) %]
Round
[% update.round %]
[% END %]
[% ELSE %]

No service updates

[% END %]
[% END %]