X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fsend_email.pm;h=4e22f5b643ec402885d76a208c51f059ccd4b69f;hb=342650d7d4d9e4aafa5c749cff39561a1c5a993a;hp=41f04093e0074e8eaca0ef5909190dd4846f6ffa;hpb=b03c4d3acae9c318fd3d93963955fb027862ccb3;p=freeside.git diff --git a/FS/FS/part_export/send_email.pm b/FS/FS/part_export/send_email.pm index 41f04093e..4e22f5b64 100644 --- a/FS/FS/part_export/send_email.pm +++ b/FS/FS/part_export/send_email.pm @@ -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,7 @@ 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 )], 'desc' => 'Send an email message', 'options' => \%options,