[freeside-commits] branch master updated. 9ee7f636a8d23de9634561c9a6aae1e79453b2e5

Jonathan Prykop jonathan at 420.am
Tue Jan 5 21:09:13 PST 2016


The branch, master has been updated
       via  9ee7f636a8d23de9634561c9a6aae1e79453b2e5 (commit)
      from  6bfd3e59317994ac1911988109fc6add0cf87f13 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9ee7f636a8d23de9634561c9a6aae1e79453b2e5
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Tue Jan 5 23:08:57 2016 -0600

    RT#38671: Do not include charges and credits from failed signup processing [v4 only, modern reason handling]

diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 138d0fa..6803a21 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 aea776a..d3290bf 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
     );

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_bill.pm     |    2 +-
 FS/FS/cust_bill_pkg.pm |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list