diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-12-31 13:57:19 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-12-31 13:57:19 -0800 |
commit | 545dc80696e662cd7e3659ccb07581faa6ebf647 (patch) | |
tree | 187abce0db39103212281c085a030d5c7a84d56b | |
parent | 21d544fe7cef15876114a380ba90190373ca519f (diff) |
default tags on _back-office_ API signup, RT#32727
-rw-r--r-- | FS/FS/API.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FS/FS/API.pm b/FS/FS/API.pm index 2105409c5..2463e8b0a 100644 --- a/FS/FS/API.pm +++ b/FS/FS/API.pm @@ -415,10 +415,11 @@ sub new_customer { #same for refnum like signup_server-default_refnum my $cust_main = new FS::cust_main ( { - 'agentnum' => $agentnum, - 'refnum' => $opt{refnum} - || $conf->config('signup_server-default_refnum'), - 'payby' => 'BILL', + 'agentnum' => $agentnum, + 'refnum' => $opt{refnum} + || $conf->config('signup_server-default_refnum'), + 'payby' => 'BILL', + 'tagnum' => [ FS::part_tag->default_tags ], map { $_ => $opt{$_} } qw( agentnum refnum agent_custid referral_custnum |