From ac789321ade0f8fb86f410afcc16f2f2c8b8e22d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 26 Jul 2012 18:18:08 -0700 Subject: [PATCH] when Email invoices is set to no, don't send payment receipt Statement invoice either, RT#17676 --- FS/FS/cust_pay.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 09788c563..444f68ada 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -656,7 +656,7 @@ sub send_receipt { } - } else { #not manual + } elsif ( ! $cust_main->invoice_noemail ) { #not manual my $queue = new FS::queue { 'paynum' => $self->paynum, -- 2.20.1