projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new! improved! now even more idiot-proof!
[freeside.git]
/
fs_signup
/
FS-SignupClient
/
SignupClient.pm
diff --git
a/fs_signup/FS-SignupClient/SignupClient.pm
b/fs_signup/FS-SignupClient/SignupClient.pm
index
7c9d46d
..
0a6cbfb
100644
(file)
--- 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,
'_password' => $password,
'sec_phrase' => $sec_phrase,
'popnum' => $popnum,
+ 'agentnum' => $agentnum, #optional
} );
=head1 DESCRIPTION
} );
=head1 DESCRIPTION
@@
-163,6
+164,8
@@
sub new_customer {
referral_custnum pkgpart username _password sec_phrase popnum
) };
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;
nstore_fd($signup_data, \*SOCK) or die "can't send customer signup: $!";
SOCK->flush;