notices, RT#8324
authorivan <ivan>
Wed, 14 Jul 2010 10:33:23 +0000 (10:33 +0000)
committerivan <ivan>
Wed, 14 Jul 2010 10:33:23 +0000 (10:33 +0000)
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; } #?