[freeside-commits] branch FREESIDE_3_BRANCH updated. 545dc80696e662cd7e3659ccb07581faa6ebf647
Ivan
ivan at 420.am
Wed Dec 31 13:57:24 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via 545dc80696e662cd7e3659ccb07581faa6ebf647 (commit)
from 21d544fe7cef15876114a380ba90190373ca519f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 545dc80696e662cd7e3659ccb07581faa6ebf647
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Dec 31 13:57:19 2014 -0800
default tags on _back-office_ API signup, RT#32727
diff --git a/FS/FS/API.pm b/FS/FS/API.pm
index 2105409..2463e8b 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
-----------------------------------------------------------------------
Summary of changes:
FS/FS/API.pm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list