projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21d544f
)
default tags on _back-office_ API signup, RT#32727
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 31 Dec 2014 21:57:19 +0000
(13:57 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 31 Dec 2014 21:57:19 +0000
(13:57 -0800)
FS/FS/API.pm
patch
|
blob
|
history
diff --git
a/FS/FS/API.pm
b/FS/FS/API.pm
index
2105409
..
2463e8b
100644
(file)
--- 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 ( {
#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
map { $_ => $opt{$_} } qw(
agentnum refnum agent_custid referral_custnum