From: Mark Wells Date: Thu, 19 Mar 2015 20:42:54 +0000 (-0700) Subject: don't remove event history when voiding invoices, #32862, from #18677 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5886bd773a3c1fe43abcde0beafb7fb5e1991388 don't remove event history when voiding invoices, #32862, from #18677 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 137985a97..033f19936 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -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;