From 649ceeca76084d16d22013124bd7f80f053d75c4 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 9 Nov 2004 08:14:39 +0000 Subject: [PATCH 1/1] don't generate invoices for COMP customers --- FS/FS/cust_main.pm | 1 + 1 file changed, 1 insertion(+) 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; -- 2.11.0