diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-01-26 21:05:14 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-01-26 21:05:14 -0800 |
commit | ffa2c69b3170181065cfe3f249d6f0508c06b48e (patch) | |
tree | 8de173919f584938a0990cebad33d9f21ed17a35 /FS/FS/ClientAPI/Signup.pm | |
parent | 9c7f208cc849ea4019447884288bf2c04d43dfc6 (diff) |
add salesnum to new_customer API, RT#33218
Diffstat (limited to 'FS/FS/ClientAPI/Signup.pm')
-rw-r--r-- | FS/FS/ClientAPI/Signup.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 6116609..9d0bcf3 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -530,6 +530,7 @@ sub new_customer { 'tagnum' => [ FS::part_tag->default_tags ], ( map { $_ => $packet->{$_} } qw( + salesnum ss stateid stateid_state payby @@ -624,7 +625,7 @@ sub new_customer { ); } - $cust_main->payby('BILL') # MCRD better? + $cust_main->payby('BILL') # MCRD better? no, that's for something else if $gw && $gw->gateway_namespace eq 'Business::OnlineThirdPartyPayment'; } @@ -933,6 +934,7 @@ sub new_customer_minimal { 'payby' => 'BILL', map { $_ => $packet->{$_} } qw( + salesnum last first company daytime night fax mobile ss ), |