projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a8fa4f
)
fix no email checkbox with old-style combined invoice send event, RT#29176
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Jan 2015 00:10:47 +0000
(16:10 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Jan 2015 00:10:47 +0000
(16:10 -0800)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
ad60b21
..
bcfbbc7
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-1059,7
+1059,7
@@
sub send {
$self->email($opt)
if ( grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list )
$self->email($opt)
if ( grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list )
- && ! $
self
->invoice_noemail;
+ && ! $
cust_main
->invoice_noemail;
$self->print($opt)
if grep { $_ eq 'POST' } @invoicing_list; #postal
$self->print($opt)
if grep { $_ eq 'POST' } @invoicing_list; #postal