diff options
author | ivan <ivan> | 2004-11-09 08:14:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-11-09 08:14:39 +0000 |
commit | 649ceeca76084d16d22013124bd7f80f053d75c4 (patch) | |
tree | 4c991dce69ea89b095be5004385fb33a55e65af3 | |
parent | 743a09e78017b7b03ed79dccb54accfa1b26c95f (diff) |
don't generate invoices for COMP customers
-rw-r--r-- | FS/FS/cust_main.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |