[freeside-commits] branch FREESIDE_4_BRANCH updated. ecfee532f0251531f67acf91696188c9a2c56c9d

Ivan Kohler ivan at freeside.biz
Wed Aug 1 15:37:14 PDT 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  ecfee532f0251531f67acf91696188c9a2c56c9d (commit)
      from  dbfc5216f8de1450f98e69f9513897b6ab66cfcb (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 ecfee532f0251531f67acf91696188c9a2c56c9d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Aug 1 15:37:13 2018 -0700

    stop incrementing usage for CF accounts

diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 7c35f013f..1584cce51 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -1980,6 +1980,9 @@ sub _op_usage {
 
   return '' unless $amount;
 
+  return ''
+    if $self->cust_svc->part_svc->part_svc_column($column)->columnflag eq 'F';
+
   local $SIG{HUP} = 'IGNORE';
   local $SIG{INT} = 'IGNORE';
   local $SIG{QUIT} = 'IGNORE';

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

Summary of changes:
 FS/FS/svc_acct.pm | 3 +++
 1 file changed, 3 insertions(+)




More information about the freeside-commits mailing list