diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-11-18 16:19:26 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-11-18 16:19:26 -0800 |
commit | a8f897874a93d7acfba75833de9c0629e076b752 (patch) | |
tree | b31237c1a0de1a3199d054d291c6992a7753be85 /FS | |
parent | 583ba72bf9f7e963ebf66080a2376b8811f2bad5 (diff) |
package import w/locationnum, RT#38764
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg/Import.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg/Import.pm b/FS/FS/cust_pkg/Import.pm index b8062101e..dfe62fb84 100644 --- a/FS/FS/cust_pkg/Import.pm +++ b/FS/FS/cust_pkg/Import.pm @@ -209,6 +209,11 @@ sub batch_import { @fields = ( 'custnum' ); } + if ( $format =~ /^(.*)-locationnum$/ ) { + $format = $1; + push @fields, 'locationnum'; + } + push @fields, ( 'pkgpart', 'discountnum' ); my @date_fields = (); |