From: ivan Date: Tue, 9 Nov 2004 08:14:39 +0000 (+0000) Subject: don't generate invoices for COMP customers X-Git-Tag: BEFORE_FINAL_MASONIZE~873 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=649ceeca76084d16d22013124bd7f80f053d75c4 don't generate invoices for COMP customers --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 50cee4803..d8dbd5297 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1117,6 +1117,7 @@ If there is an error, returns the error, otherwise returns false. sub bill { my( $self, %options ) = @_; + return '' if $self->payby eq 'COMP'; warn "bill customer ". $self->custnum if $DEBUG; my $time = $options{'time'} || time;