diff --git a/perllib/FixMyStreet/Cobrand/Bexley/Waste.pm b/perllib/FixMyStreet/Cobrand/Bexley/Waste.pm index f3c21f27042..4341b766c72 100644 --- a/perllib/FixMyStreet/Cobrand/Bexley/Waste.pm +++ b/perllib/FixMyStreet/Cobrand/Bexley/Waste.pm @@ -1092,18 +1092,23 @@ sub waste_munge_report_data { my $c = $self->{c}; - my $address = $c->stash->{property}->{address}; - my $service = $c->stash->{services}{$id}{service_name}; + my $property = $c->stash->{property}; + my $address = $property->{address}; + my $service_id = $c->stash->{services}{$id}{service_id}; + my $service_name = $c->stash->{services}{$id}{service_name}; my $uprn = $c->stash->{services}{$id}{uprn}; - $data->{title} = "Report missed $service"; + my $containers = $self->_containers($property); + my $service_description = $containers->{$service_id}->{description}; + $service_description = 'Various' if $service_description =~ /
Please note all collections can take place between 7am – 10pm.
+ [% END %] [% ELSE %]