diff options
author | ivan <ivan> | 2011-05-03 21:24:20 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-05-03 21:24:20 +0000 |
commit | 5aee0680d12eefa3a477e098a148ba2693d82856 (patch) | |
tree | a6b8455dd92f44b73b019188bbd4640de0bcb345 /FS | |
parent | 6eae13e50e87deb24688dc36788010b48c1f321b (diff) |
maestro "Not yet billed" is active, RT#11885
Diffstat (limited to 'FS')
-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, |