use FS::Record qw(qsearch qsearchs);
use FS::Conf;
use FS::msg_template;
-use FS::Misc qw(send_email);
@ISA = qw(FS::part_export);
%templates = (0 => '',
map { $_->msgnum, $_->msgname }
qsearch({ table => 'msg_template',
- hashref => { disabled => 1 },
+ hashref => { disabled => { 'op' => '!=',
+ 'value' => 1 }},
order_by => 'ORDER BY msgnum ASC'
})
);
);
%info = (
- 'svc' => [qw( svc_acct svc_broadband svc_phone svc_domain )],
+ 'svc' => [qw( svc_acct svc_hardware svc_broadband svc_phone svc_domain )],
'desc' =>
'Send an email message',
'options' => \%options,