[freeside-commits] branch master updated. b0651fcfbe21c6f97c164ce0996fa281db5100b0

Ivan ivan at 420.am
Thu Jul 26 18:18:08 PDT 2012


The branch, master has been updated
       via  b0651fcfbe21c6f97c164ce0996fa281db5100b0 (commit)
      from  8c450aab9bae89373c2c1b35c85597bb52299de3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b0651fcfbe21c6f97c164ce0996fa281db5100b0
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Jul 26 18:18:04 2012 -0700

    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 c117386..d28997c 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,

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pay.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list