don't generate invoices for COMP customers
[freeside.git] / FS / FS / cust_main.pm
index 070a888..011308c 100644 (file)
@@ -1098,6 +1098,7 @@ If there is an error, returns the error, otherwise returns false.
 
 sub bill {
   my( $self, %options ) = @_;
+  return '' if $self->payby eq 'COMP';
   my $time = $options{'time'} || time;
 
   my $error;