diff options
author | mark <mark> | 2012-02-19 02:30:17 +0000 |
---|---|---|
committer | mark <mark> | 2012-02-19 02:30:17 +0000 |
commit | 6fc993993d45b0e151a2c3383ef1031f817715ff (patch) | |
tree | 441a3596c5891753c4e89fbc7326d09585738e75 /FS/FS/ClientAPI/Signup.pm | |
parent | e010976ba33c00bb2b97d677f610e4b19571feaf (diff) |
more per-agent options, #15973
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 b026afd..d0d088a 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -186,7 +186,6 @@ sub signup_info { 'company_name' => scalar($conf->config('company_name')), #per-agent? 'agent_ship_address' => scalar($conf->exists('agent-ship_address')), - 'require_phone' => scalar($conf->exists('cust_main-require_phone')), 'logo' => scalar($conf->config_binary('logo.png')), 'prepaid_template_custnum' => $conf->exists('signup_server-prepaid-template-custnum'), }; @@ -405,6 +404,9 @@ sub signup_info { qw( head body_header body_footer ) ), ( map { $_ => join("\n", $conf->config("signup_server-$_", $agentnum ) ) } qw( terms_of_service ) ), + + ( map { $_ => scalar($conf->exists($_, $agentnum)) } + qw(cust_main-require_phone) ), }; $cache->set("signup_info_cache_agent$agentnum", $signup_info_cache_agent); |