projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 76309 - Updated 3 email notices to use more billing event types
[freeside.git]
/
FS
/
FS
/
part_event
/
Action
/
notice_to.pm
diff --git
a/FS/FS/part_event/Action/notice_to.pm
b/FS/FS/part_event/Action/notice_to.pm
index
194aeb8
..
dee293b
100644
(file)
--- 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 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 {
(
sub option_fields {
(
@@
-24,6
+29,7
@@
sub option_fields {
'type' => 'select-table',
'table' => 'msg_template',
'name_col' => 'msgname',
'type' => 'select-table',
'table' => 'msg_template',
'name_col' => 'msgname',
+ 'hashref' => { disabled => '' },
'disable_empty' => 1,
},
);
'disable_empty' => 1,
},
);