From 4e49e165948848ce864765b0b3f859bad1dc1019 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 9 Nov 2004 08:15:38 +0000 Subject: don't generate invoices for COMP customers --- FS/FS/cust_main.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS') 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; -- cgit v1.2.1