[freeside-commits] branch master updated. 1be5d7ada63dc18682e4b6747c66bfed4f34945c

Ivan ivan at 420.am
Wed Dec 31 13:57:09 PST 2014


The branch, master has been updated
       via  1be5d7ada63dc18682e4b6747c66bfed4f34945c (commit)
      from  a51b71cdea80993d815ecd9c79132df0a68b78b6 (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 1be5d7ada63dc18682e4b6747c66bfed4f34945c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Dec 31 13:57:03 2014 -0800

    default tags on _back-office_ API signup, RT#32727

diff --git a/FS/FS/cust_main/API.pm b/FS/FS/cust_main/API.pm
index 1e17234..4405600 100644
--- a/FS/FS/cust_main/API.pm
+++ b/FS/FS/cust_main/API.pm
@@ -2,6 +2,7 @@ package FS::cust_main::API;
 
 use strict;
 use FS::Conf;
+use FS::part_tag;
 
 =item API_getinfo FIELD => VALUE, ...
 
@@ -104,7 +105,8 @@ sub API_insert {
   #same for refnum like signup_server-default_refnum?
 
   my $cust_main = new FS::cust_main ( { # $class->new( {
-      'payby'         => 'BILL',
+      'payby'  => 'BILL',
+      'tagnum' => [ FS::part_tag->default_tags ],
 
       map { $_ => $opt{$_} } qw(
         agentnum refnum agent_custid referral_custnum

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/API.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list