add dsl, circuit and fiber services to email and RT ticket exports, RT#84345
[freeside.git] / FS / FS / part_export / send_email.pm
index 41f0409..84e7cb5 100644 (file)
@@ -20,7 +20,8 @@ my %template_select = (
     %templates = (0 => '',
       map { $_->msgnum, $_->msgname } 
       qsearch({ table => 'msg_template',
-                hashref => { disabled => 1 },
+                hashref => { disabled => { 'op'    => '!=',
+                                           'value' => 1 }},
                 order_by => 'ORDER BY msgnum ASC'
               })
     );
@@ -79,7 +80,9 @@ tie my %options, 'Tie::IxHash', (
 );
 
 %info = (
-  'svc'      => [qw( svc_acct svc_broadband svc_phone svc_domain )],
+  'svc'      => [qw( svc_acct svc_hardware svc_broadband svc_phone svc_domain
+                     svc_dsl svc_circuit svc_fiber
+                )],
   'desc'     =>
   'Send an email message',
   'options'  => \%options,