From: ivan Date: Tue, 9 Nov 2004 08:15:38 +0000 (+0000) Subject: don't generate invoices for COMP customers X-Git-Tag: freeside_1_4_2~24 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4e49e165948848ce864765b0b3f859bad1dc1019 don't generate invoices for COMP customers --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 070a888d4..011308ca0 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -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;