From: Ivan Kohler Date: Fri, 23 Jan 2015 00:10:50 +0000 (-0800) Subject: fix no email checkbox with old-style combined invoice send event, RT#29176 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5636d20dd0078d789f53fd915a53f047c1205044;p=freeside.git fix no email checkbox with old-style combined invoice send event, RT#29176 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index eff47912c..7204821d3 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1066,7 +1066,7 @@ sub send { $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