diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-06-19 17:28:47 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-11-11 10:29:20 +0000 |
commit | b8fb6677b54f99e53105de0e242be94969a53567 (patch) | |
tree | 05311d8922b0064177bbf2939df7867d6c127b21 /perllib/Integrations/Echo.pm | |
parent | d90e1157ee31c374248da0db42b70456c37ddd5b (diff) |
[Bromley] Treat some enquiries same as missed.
In terms of within-two-day and no existing open event.
Diffstat (limited to 'perllib/Integrations/Echo.pm')
-rw-r--r-- | perllib/Integrations/Echo.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/Integrations/Echo.pm b/perllib/Integrations/Echo.pm index 205e1178f..48a0edc6c 100644 --- a/perllib/Integrations/Echo.pm +++ b/perllib/Integrations/Echo.pm @@ -295,9 +295,12 @@ sub GetEventsForObject { my ($self, $id, $type) = @_; my $from = DateTime->now->set_time_zone(FixMyStreet->local_time_zone)->subtract(months => 3); return [ { - # Missed collection for service 542 + # Missed collection for service 542 (food waste) EventTypeId => 2100, ServiceId => 542, + }, { # And a gate not closed + EventTypeId => 2118, + ServiceId => 542, }, { # Request for a new paper container EventTypeId => 2104, |