summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-12-10 23:56:53 +0000
committerivan <ivan>2003-12-10 23:56:53 +0000
commit1b6b82cf91ed7fe266fdd169299a7e2c5eb8e9ea (patch)
tree9649c8e8a74a846ebc8aab7888fd3d7427c4e89e /FS
parent4398d53a857bd3a7f478d4a000fad8a1c4e6b50f (diff)
signup page w/advertising source dropdown
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ClientAPI/Signup.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index 60639b132..375958b9c 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -40,6 +40,16 @@ sub signup_info {
)
],
+ 'part_referral' =>
+ [
+ map { $_->hashref }
+ qsearch('part_referral',
+ dbdef->table('part_referral')->column('disabled')
+ ? { 'disabled' => '' }
+ : {}
+ )
+ ],
+
'agentnum2part_pkg' =>
{
map {
@@ -72,6 +82,8 @@ sub signup_info {
'countrydefault' => $conf->config('countrydefault') || 'US',
+ 'refnum' => $conf->config('signup_server-default_refnum'),
+
};
if (