projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#17480: Freeside Cancel Reason [v3 only, removed v4 tables from merge]
[freeside.git]
/
FS
/
FS
/
reason.pm
diff --git
a/FS/FS/reason.pm
b/FS/FS/reason.pm
index
4c2587f
..
1739f96
100644
(file)
--- a/
FS/FS/reason.pm
+++ b/
FS/FS/reason.pm
@@
-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:
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_credit
cust_credit_void
- cust_pay_void
cust_pkg_reason
cust_pkg_reason
- cust_refund
=cut
=cut
@@
-195,13
+191,9
@@
sub merge {
$error = "Mismatched reason type class"
unless $reason->reasontype->class eq $class;
foreach my $table ( qw(
$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_credit
cust_credit_void
- cust_pay_void
cust_pkg_reason
cust_pkg_reason
- cust_refund
)) {
last if $error;
my @fields = ('reasonnum');
)) {
last if $error;
my @fields = ('reasonnum');