notices, RT#8324
[freeside.git] / FS / FS / part_event / Action / notice.pm
index 6a51d1e..1269653 100644 (file)
@@ -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; } #?