diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-08 15:28:11 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-08 15:28:11 +0100 |
commit | 2c24318939d310100559b0bc8aed663ff940ce22 (patch) | |
tree | dde559ef21d1e1bd9eea2cf69596171c2010a6c9 /bin/send-comments | |
parent | 7f7431377721bc64c3816e5af4f54bdd5f6cd064 (diff) |
[Open311] Add ability to send reopen status.
Switch on for Buckinghamshire.
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-x | bin/send-comments | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/send-comments b/bin/send-comments index 55c9da62b..33da7379e 100755 --- a/bin/send-comments +++ b/bin/send-comments @@ -32,6 +32,7 @@ use constant SEND_METHOD_OPEN311 => 'Open311'; use constant COUNCIL_ID_OXFORDSHIRE => 2237; use constant COUNCIL_ID_BROMLEY => 2482; use constant COUNCIL_ID_LEWISHAM => 2492; +use constant COUNCIL_ID_BUCKS => 2217; # Set up site, language etc. my ($verbose, $nomail) = CronFns::options(); @@ -84,6 +85,10 @@ while ( my $body = $bodies->next ) { $open311_conf{use_customer_reference} = 1, } + if ( $body->areas->{+COUNCIL_ID_BUCKS} ) { + $open311_conf{mark_reopen} = 1; + } + if ( $body->send_extended_statuses ) { $open311_conf{extended_statuses} = 1; } |