[freeside-commits] branch master updated. 5a7fbc51bbbe090d45655862f3ab222d28b60962

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


The branch, master has been updated
       via  5a7fbc51bbbe090d45655862f3ab222d28b60962 (commit)
      from  31399723786cf0510e15b88ff7b8eaec3c909def (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 5a7fbc51bbbe090d45655862f3ab222d28b60962
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Aug 1 15:37:10 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