From: ivan Date: Tue, 3 May 2011 21:24:19 +0000 (+0000) Subject: maestro "Not yet billed" is active, RT#11885 X-Git-Tag: freeside_2_3_0~302 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d5d7b4a3231ddee776b3c1b45becb2ed8a483e25 maestro "Not yet billed" is active, RT#11885 --- 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,