diff options
author | ivan <ivan> | 2011-05-03 21:24:19 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-05-03 21:24:19 +0000 |
commit | d5d7b4a3231ddee776b3c1b45becb2ed8a483e25 (patch) | |
tree | 2e1bff93f646e01b9c3189ad6a4de46810547e24 | |
parent | c0d3730e527f591b9a43b0993e4f1427e002abbb (diff) |
maestro "Not yet billed" is active, RT#11885
-rw-r--r-- | FS/FS/Maestro.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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, |