aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-05-03 17:04:07 +0100
committerDave Whiteland <dave@mysociety.org>2012-05-03 17:04:07 +0100
commit0b6d246d552d8b386e53b3261b3fa755d8d04467 (patch)
treee723023907f808fecb6669b362077687a10b27d4 /bin/send-reports
parent0435127fa81581fa33448690cdd11437e1f28bd6 (diff)
added can_display_external_id because external ids are not always useful for publishing, using send_method_used to determine that on a council-by-council basis
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 5842e1694..77c7b1a10 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -546,6 +546,7 @@ sub post_barnet_message {
if (my $barnet_id = $result->get_EV_ORDER_NO()) {
$problem->external_id( $barnet_id );
$problem->external_body( 'Barnet Borough Council' ); # better to use $problem->body()?
+ $problem->send_method_used('barnet');
$return = 0;
} else {
$err_msg = "Failed (problem id $h{id}): service returned no external id";