X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FAction%2Fnotice.pm;h=4dd39339698609f06915d0a7cc633e4b8b542628;hb=980069e7ae3d87b710c0fd044a06695822437987;hp=8e22c68447277a7469633c1e768f43de246ada7e;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/FS/FS/part_event/Action/notice.pm b/FS/FS/part_event/Action/notice.pm index 8e22c6844..4dd393396 100644 --- a/FS/FS/part_event/Action/notice.pm +++ b/FS/FS/part_event/Action/notice.pm @@ -7,18 +7,24 @@ 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 { ( 'msgnum' => { 'label' => 'Template', 'type' => 'select-table', 'table' => 'msg_template', + 'hashref' => { disabled => '' }, 'name_col' => 'msgname', 'disable_empty' => 1, },