[freeside-commits] freeside/bin move-customers,1.1,1.2
Ivan,,,
ivan at wavetail.420.am
Sun Aug 23 23:50:02 PDT 2009
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv4602/bin
Modified Files:
move-customers
Log Message:
(start of) customer move script, RT#5351
Index: move-customers
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/move-customers,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- move-customers 24 Aug 2009 06:39:58 -0000 1.1
+++ move-customers 24 Aug 2009 06:50:00 -0000 1.2
@@ -146,6 +146,7 @@
};
$cust_main->ship_country('') if $cust_main->ship_country eq ' ';
+ $cust_main->tax('') if $cust_main->tax =~ /^\s+$/;
my $error = $cust_main->insert;
if ( $error ) {
@@ -188,7 +189,7 @@
# cust_credit_refund (map refundnum and crednum...)
import_table( 'cust_credit_refund',
'refundnum' => $src_refundnum,
- 'search' => 'refundum',
+ 'search' => 'refundnum',
'map' => 'cust_refund',
'map2' => 'cust_credit',
'map2key' => 'crednum',
@@ -197,7 +198,7 @@
# cust_pay_refund (map refundnum and paynum...)
import_table( 'cust_pay_refund',
'refundnum' => $src_refundnum,
- 'search' => 'refundum',
+ 'search' => 'refundnum',
'map' => 'cust_refund',
'map2' => 'cust_pay',
'map2key' => 'paynum',
More information about the freeside-commits
mailing list