X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pkg%2FImport.pm;h=e8c4427d6ebcaa7a0115a9002e2141ba9ebf1909;hb=5f9f20112eeb53f578900e9e2d43e1e15a6fd96d;hp=082def057f93441cfb0545a80643d6318c300141;hpb=df844e1ff7b7b93657d7ca2978426e146a75192c;p=freeside.git diff --git a/FS/FS/cust_pkg/Import.pm b/FS/FS/cust_pkg/Import.pm index 082def057..e8c4427d6 100644 --- a/FS/FS/cust_pkg/Import.pm +++ b/FS/FS/cust_pkg/Import.pm @@ -100,6 +100,7 @@ sub process_batch_import { my %formatfields = ( 'default' => [], + 'all_dates' => [], 'svc_acct' => [qw( username _password domsvc )], 'svc_phone' => [qw( countrycode phonenum sip_password pin )], 'svc_external' => [qw( id title )], @@ -205,6 +206,11 @@ sub batch_import { @fields = ( 'custnum' ); } + if ( $format =~ /^(.*)-locationnum$/ ) { + $format = $1; + push @fields, 'locationnum'; + } + push @fields, ( 'pkgpart', 'discountnum' ); my @date_fields = ();