diff options
Diffstat (limited to 'fs_signup/FS-SignupClient/SignupClient.pm')
-rw-r--r-- | fs_signup/FS-SignupClient/SignupClient.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs_signup/FS-SignupClient/SignupClient.pm b/fs_signup/FS-SignupClient/SignupClient.pm index 7c9d46d9e..de269e1c5 100644 --- a/fs_signup/FS-SignupClient/SignupClient.pm +++ b/fs_signup/FS-SignupClient/SignupClient.pm @@ -61,6 +61,7 @@ FS::SignupClient - Freeside signup client API '_password' => $password, 'sec_phrase' => $sec_phrase, 'popnum' => $popnum, + 'agentnum' => $agentnum, #optional } ); =head1 DESCRIPTION @@ -163,6 +164,8 @@ sub new_customer { referral_custnum pkgpart username _password sec_phrase popnum ) }; + $signup_data->{agentnum} = $hashref->{agentnum} if $hashref->{agentnum} + nstore_fd($signup_data, \*SOCK) or die "can't send customer signup: $!"; SOCK->flush; |