summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-01-05 23:08:57 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-01-05 23:08:57 -0600
commit9ee7f636a8d23de9634561c9a6aae1e79453b2e5 (patch)
treecff12666eb6ca94fd6cbe64fc1d0b0574fc29921
parent6bfd3e59317994ac1911988109fc6add0cf87f13 (diff)
RT#38671: Do not include charges and credits from failed signup processing [v4 only, modern reason handling]
-rw-r--r--FS/FS/cust_bill.pm2
-rw-r--r--FS/FS/cust_bill_pkg.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 138d0fab8..6803a2140 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -228,7 +228,7 @@ sub void {
unless (ref($reason) || !$reason) {
$reason = FS::reason->new_or_existing(
- 'class' => 'X',
+ 'class' => 'I',
'type' => 'Void invoice',
'reason' => $reason
);
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index aea776a80..d3290bfcf 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -337,7 +337,7 @@ sub void {
unless (ref($reason) || !$reason) {
$reason = FS::reason->new_or_existing(
- 'class' => 'X',
+ 'class' => 'I',
'type' => 'Void invoice',
'reason' => $reason
);