diff options
author | Struan Donald <struan@exo.org.uk> | 2012-03-27 12:28:39 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-03-27 12:28:39 +0100 |
commit | 1e0914a87c0b6d43f142e2005f4d322d1fd01023 (patch) | |
tree | 7fe6d4af0186fca5e1bdee9a0b821404bdac2e19 /bin | |
parent | bdceca8e4c3b575f745d4718a96dbb6ea7cc11e0 (diff) |
add in various required extra open311 fields for bromley
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/send-reports | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports index 76933f9e1..bbefcf4c3 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -312,9 +312,11 @@ while (my $row = $unsent->next) { push @$extra, { name => 'northing', value => $h{northing} }; push @$extra, { name => 'easting', value => $h{easting} }; push @$extra, { name => 'report_url', value => $h{url} }; - push @$extra, { name => 'service_request_id', value => $row->id }; + push @$extra, { name => 'service_request_id_ext', value => $row->id }; push @$extra, { name => 'report_title', value => $row->title }; push @$extra, { name => 'public_anonymity_required', value => $row->anonymous ? 'TRUE' : 'FALSE' }; + push @$extra, { name => 'email_alerts_requested', value => 'FALSE' }; # always false as can never request them + push @$extra, { name => 'requested_datetime', value => $row->confirmed }; $row->extra( $extra ); } |