[freeside-commits] branch FREESIDE_4_BRANCH updated. fda38dd8939876dce3ef4a5c9a8ae01d67cd9865

Christopher Burger burgerc at 420.am
Tue Jul 25 07:16:29 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  fda38dd8939876dce3ef4a5c9a8ae01d67cd9865 (commit)
      from  bcfe675c785d864472a1feaa2a3071295af4f357 (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 fda38dd8939876dce3ef4a5c9a8ae01d67cd9865
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Thu Jul 13 15:35:32 2017 -0400

    RT# 76309 - Updated 3 email notices to use more billing event types

diff --git a/FS/FS/part_event/Action/cust_bill_send_with_notice.pm b/FS/FS/part_event/Action/cust_bill_send_with_notice.pm
index d2678fd..efaa035 100644
--- a/FS/FS/part_event/Action/cust_bill_send_with_notice.pm
+++ b/FS/FS/part_event/Action/cust_bill_send_with_notice.pm
@@ -8,7 +8,15 @@ use MIME::Entity;
 sub description { 'Email a notice to the customer with invoice attached'; }
 
 sub eventtable_hashref {
-  { 'cust_bill' => 1 };
+    {
+      'cust_main'      => 1,
+      'cust_bill'      => 1,
+      'cust_pkg'       => 1,
+      'cust_pay'       => 1,
+      'cust_pay_batch' => 1,
+      'cust_statement' => 1,
+      'svc_acct'       => 1,
+    };
 }
 
 sub option_fields {
diff --git a/FS/FS/part_event/Action/notice.pm b/FS/FS/part_event/Action/notice.pm
index 7c8ed16..4dd3933 100644
--- a/FS/FS/part_event/Action/notice.pm
+++ b/FS/FS/part_event/Action/notice.pm
@@ -7,12 +7,17 @@ use FS::msg_template;
 
 sub description { 'Email a notice to the customer\'s billing address'; }
 
-#sub eventtable_hashref {
-#    { 'cust_main' => 1,
-#      'cust_bill' => 1,
-#      'cust_pkg'  => 1,
-#    };
-#}
+sub eventtable_hashref {
+    {
+      'cust_main'      => 1,
+      'cust_bill'      => 1,
+      'cust_pkg'       => 1,
+      'cust_pay'       => 1,
+      'cust_pay_batch' => 1,
+      'cust_statement' => 1,
+      'svc_acct'       => 1,
+    };
+}
 
 sub option_fields {
   (
diff --git a/FS/FS/part_event/Action/notice_to.pm b/FS/FS/part_event/Action/notice_to.pm
index d300e33..dee293b 100644
--- a/FS/FS/part_event/Action/notice_to.pm
+++ b/FS/FS/part_event/Action/notice_to.pm
@@ -7,12 +7,17 @@ use FS::msg_template;
 
 sub description { 'Email a notice to a specific address'; }
 
-#sub eventtable_hashref {
-#    { 'cust_main' => 1,
-#      'cust_bill' => 1,
-#      'cust_pkg'  => 1,
-#    };
-#}
+sub eventtable_hashref {
+    {
+      'cust_main'      => 1,
+      'cust_bill'      => 1,
+      'cust_pkg'       => 1,
+      'cust_pay'       => 1,
+      'cust_pay_batch' => 1,
+      'cust_statement' => 1,
+      'svc_acct'       => 1,
+    };
+}
 
 sub option_fields {
   (

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

Summary of changes:
 FS/FS/part_event/Action/cust_bill_send_with_notice.pm |   10 +++++++++-
 FS/FS/part_event/Action/notice.pm                     |   17 +++++++++++------
 FS/FS/part_event/Action/notice_to.pm                  |   17 +++++++++++------
 3 files changed, 31 insertions(+), 13 deletions(-)




More information about the freeside-commits mailing list