projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7bcf2e6
)
better error message for non-applicable invoice events
author
ivan
<ivan>
Thu, 3 Jun 2004 07:00:01 +0000
(07:00 +0000)
committer
ivan
<ivan>
Thu, 3 Jun 2004 07:00:01 +0000
(07:00 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
d0583b2
..
72852d1
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-334,7
+334,7
@@
INVOICE_FROM, if specified, overrides the default email invoice From: address.
sub send {
my $self = shift;
my $template = scalar(@_) ? shift : '';
sub send {
my $self = shift;
my $template = scalar(@_) ? shift : '';
- return '
' if scalar(@_) && $_[0] && $self->cust_main->agentnum ne
shift;
+ return '
N/A' if scalar(@_) && $_[0] && $self->cust_main->agentnum !=
shift;
my $invoice_from = scalar(@_) ? shift : $conf->config('invoice_from');
my @print_text = $self->print_text('', $template);
my $invoice_from = scalar(@_) ? shift : $conf->config('invoice_from');
my @print_text = $self->print_text('', $template);