From d5d7b4a3231ddee776b3c1b45becb2ed8a483e25 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 3 May 2011 21:24:19 +0000 Subject: [PATCH] maestro "Not yet billed" is active, RT#11885 --- FS/FS/Maestro.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/Maestro.pm b/FS/FS/Maestro.pm index 8c33e3bf9..399e7406f 100644 --- a/FS/FS/Maestro.pm +++ b/FS/FS/Maestro.pm @@ -116,6 +116,7 @@ sub service_status { #status in the reseller scenario $result{'status'} = substr($cust_pkg->ucfirst_status,0,1); + $result{'status'} = 'A' if $result{'status'} eq 'N'; # find "outbound service" y/n my @cust_pkg = $cust_main->cust_pkg; @@ -135,7 +136,7 @@ sub service_status { return { 'custnum' => $cust_main->custnum, - 'name' => $cust_main->name, + 'name' => ( $svc_pbx->title || $cust_main->name ), 'email' => $cust_main->invoicing_list_emailonly_scalar, #'agentnum' => $cust_main->agentnum, #'agent' => $cust_main->agent->agent, -- 2.11.0