continue removing pay* fields from cust_main
authorMark Wells <mark@freeside.biz>
Mon, 1 Feb 2016 00:48:33 +0000 (16:48 -0800)
committerMark Wells <mark@freeside.biz>
Mon, 1 Feb 2016 00:49:03 +0000 (16:49 -0800)
FS/FS/Schema.pm
FS/FS/Upgrade.pm

index 4a885d2..f1c4e08 100644 (file)
@@ -1652,7 +1652,6 @@ sub tables_hashref {
                           ['agentnum'], ['refnum'], ['classnum'], ['usernum'],
                           [ 'custbatch' ],
                           [ 'referral_custnum' ],
-                          [ 'payby' ], [ 'paydate' ],
                           [ 'archived' ],
                           [ 'ship_locationnum' ],
                           [ 'bill_locationnum' ],
index bffda56..395c6d0 100644 (file)
@@ -297,7 +297,7 @@ sub upgrade {
   # decrypt inadvertantly-encrypted payinfo where payby != CARD,DCRD,CHEK,DCHK
   # kind of a weird spot for this, but it's better than duplicating
   # all this code in each class...
-  my @decrypt_tables = qw( cust_main cust_pay_void cust_pay cust_refund cust_pay_pending );
+  my @decrypt_tables = qw( cust_payby cust_pay_void cust_pay cust_refund cust_pay_pending );
   foreach my $table ( @decrypt_tables ) {
       my @objects = qsearch({
         'table'     => $table,