summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/part_event/Action/notice.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/FS/FS/part_event/Action/notice.pm b/FS/FS/part_event/Action/notice.pm
index 6a51d1ea7..126965374 100644
--- a/FS/FS/part_event/Action/notice.pm
+++ b/FS/FS/part_event/Action/notice.pm
@@ -16,8 +16,14 @@ sub description { 'Send a notice from a message template'; }
sub option_fields {
(
- 'msgnum' => { 'label' => 'Template' },
+ 'msgnum' => { 'label' => 'Template',
+ 'type' => 'select-table',
+ 'table' => 'msg_template',
+ 'name_col' => 'msgname',
+ 'disable_empty' => 1,
+ },
);
+}
sub default_weight { 55; } #?