summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-07-13 15:35:32 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-07-13 15:35:32 -0400
commit980069e7ae3d87b710c0fd044a06695822437987 (patch)
tree53282893883cf968afc7a05b1874a79b4c5df4b5 /FS
parente1cb134fa87a2a526694eca3fa862f262c916f56 (diff)
RT# 76309 - Updated 3 email notices to use more billing event types
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_event/Action/cust_bill_send_with_notice.pm10
-rw-r--r--FS/FS/part_event/Action/notice.pm17
-rw-r--r--FS/FS/part_event/Action/notice_to.pm17
3 files changed, 31 insertions, 13 deletions
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 d2678fd82..efaa03537 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 7c8ed1682..4dd393396 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 d300e3385..dee293b70 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 {
(