don't remove event history when voiding invoices, #32862, from #18677
authorMark Wells <mark@freeside.biz>
Thu, 19 Mar 2015 20:42:54 +0000 (13:42 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 19 Mar 2015 20:42:54 +0000 (13:42 -0700)
FS/FS/cust_bill.pm

index 137985a..033f199 100644 (file)
@@ -284,7 +284,6 @@ sub delete {
   my $dbh = dbh;
 
   foreach my $table (qw(
-    cust_event
     cust_credit_bill
     cust_bill_pay
     cust_pay_batch
@@ -292,6 +291,7 @@ sub delete {
     cust_bill_batch
     cust_bill_pkg
   )) {
+    #cust_event # problematic
 
     foreach my $linked ( $self->$table() ) {
       my $error = $linked->delete;