[freeside-commits] branch FREESIDE_2_3_BRANCH updated. ac789321ade0f8fb86f410afcc16f2f2c8b8e22d

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  ac789321ade0f8fb86f410afcc16f2f2c8b8e22d (commit)
      from  26aff5a2e27a887ff29571370712bff9c7921962 (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 ac789321ade0f8fb86f410afcc16f2f2c8b8e22d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Jul 26 18:18:08 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 09788c5..444f68a 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,

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

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




More information about the freeside-commits mailing list