RT#17480: Freeside Cancel Reason [v3 only, removed v4 tables from merge]
authorJonathan Prykop <jonathan@freeside.biz>
Tue, 17 Nov 2015 03:13:53 +0000 (21:13 -0600)
committerJonathan Prykop <jonathan@freeside.biz>
Tue, 17 Nov 2015 03:13:53 +0000 (21:13 -0600)
FS/FS/reason.pm

index 4c2587f..1739f96 100644 (file)
@@ -161,13 +161,9 @@ Accepts an arrayref of reason objects, to be merged into this reason.
 Reasons must all have the same reason_type class as this one.
 Matching reasonnums will be replaced in the following tables:
 
-  cust_bill_void
-  cust_bill_pkg_void
   cust_credit
   cust_credit_void
-  cust_pay_void
   cust_pkg_reason
-  cust_refund
 
 =cut
 
@@ -195,13 +191,9 @@ sub merge {
     $error = "Mismatched reason type class"    
       unless $reason->reasontype->class eq $class;
     foreach my $table ( qw(
-      cust_bill_void
-      cust_bill_pkg_void
       cust_credit
       cust_credit_void
-      cust_pay_void
       cust_pkg_reason
-      cust_refund
     )) {
       last if $error;
       my @fields = ('reasonnum');