From: Ivan Kohler Date: Fri, 27 Jul 2012 01:18:04 +0000 (-0700) Subject: when Email invoices is set to no, don't send payment receipt Statement invoice either... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b0651fcfbe21c6f97c164ce0996fa281db5100b0;p=freeside.git when Email invoices is set to no, don't send payment receipt Statement invoice either, RT#17676 --- diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index c11738665..d28997ccd 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -662,7 +662,7 @@ sub send_receipt { } - } else { #not manual + } elsif ( ! $cust_main->invoice_noemail ) { #not manual my $queue = new FS::queue { 'paynum' => $self->paynum,