RT#38671: Do not include charges and credits from failed signup processing [v4 only...
authorJonathan Prykop <jonathan@freeside.biz>
Wed, 6 Jan 2016 05:08:57 +0000 (23:08 -0600)
committerJonathan Prykop <jonathan@freeside.biz>
Wed, 6 Jan 2016 05:08:57 +0000 (23:08 -0600)
FS/FS/cust_bill.pm
FS/FS/cust_bill_pkg.pm

index 138d0fa..6803a21 100644 (file)
@@ -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
     );
index aea776a..d3290bf 100644 (file)
@@ -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
     );