From: ivan Date: Fri, 18 Aug 2006 12:18:19 +0000 (+0000) Subject: and a slight fix to the CSV import X-Git-Tag: BEFORE_RT_3_4_5^2~2 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=96301defaaafd4260c7282a3a4e1b4d29fcd85c8;p=freeside.git and a slight fix to the CSV import --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index fd66f145c..96241801e 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4395,7 +4395,7 @@ sub batch_import { cust_pkg.pkgpart svc_acct.username svc_acct._password ); - $payby = 'CARD'; + $payby = 'BILL'; } else { die "unknown format $format"; } @@ -4484,6 +4484,8 @@ sub batch_import { } } + $cust_main{'payby'} = 'CARD' if length($cust_main{'payinfo'}); + my $invoicing_list = $cust_main{'invoicing_list'} ? [ delete $cust_main{'invoicing_list'} ] : [];