X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI%2FAgent.pm;h=baa05caaf7b77b016b94cf298d8cfeac425988a9;hb=6419542b10f8ebb0dada9dcb1a48cf78151ca82a;hp=3f95947e75d0629a4d5e5f4f7f72edaa543692a1;hpb=38afab3ba4d0c74aa27739f50e1f86e20e635b58;p=freeside.git diff --git a/FS/FS/ClientAPI/Agent.pm b/FS/FS/ClientAPI/Agent.pm index 3f95947e7..baa05caaf 100644 --- a/FS/FS/ClientAPI/Agent.pm +++ b/FS/FS/ClientAPI/Agent.pm @@ -140,7 +140,7 @@ sub agent_list_customers { my $cust_main = $_; my $hashref = $cust_main->hashref; $hashref->{$_} = $cust_main->$_() - foreach qw(name status statuscolor); + foreach qw(name status statuscolor status_label); delete $hashref->{$_} foreach qw( payinfo paycvv ); $hashref; } @cust_main @@ -151,7 +151,7 @@ sub agent_list_customers { sub check_username { my $p = shift; - my($session, $agentnum, $svc_acct) = _session_agentnum_svc_acct_check($p); + my($session, $agentnum, $svc_acct) = _session_agentnum_svc_acct($p); return { 'error' => $session } unless ref($session); { 'error' => '',