projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c52e96
)
don't generate invoices for COMP customers
author
ivan
<ivan>
Tue, 9 Nov 2004 08:15:38 +0000
(08:15 +0000)
committer
ivan
<ivan>
Tue, 9 Nov 2004 08:15:38 +0000
(08:15 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
070a888
..
011308c
100644
(file)
--- 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;