stop incrementing usage for CF accounts
authorIvan Kohler <ivan@freeside.biz>
Wed, 1 Aug 2018 22:37:10 +0000 (15:37 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 1 Aug 2018 22:37:10 +0000 (15:37 -0700)
FS/FS/svc_acct.pm

index 7c35f01..1584cce 100644 (file)
@@ -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';