%templates = (0 => '',
map { $_->msgnum, $_->msgname }
qsearch({ table => 'msg_template',
- hashref => {},
+ hashref => { disabled => '' },
order_by => 'ORDER BY msgnum ASC'
})
);
$queues{$_[0]};
},
option_values => sub {
+ return (0) unless FS::Conf->new->config('ticket_system');
%queues = (0 => '', FS::TicketSystem->queues());
sort {$queues{$a} cmp $queues{$b}} keys %queues;
},
);
%info = (
- 'svc' => [qw( svc_acct svc_broadband svc_phone svc_domain )],
+ 'svc' => [qw( svc_acct svc_broadband svc_phone svc_domain svc_dsl
+ svc_circuit svc_fiber
+ )],
'desc' =>
'Create an RT ticket',
'options' => \%options,
'nodomain' => '',
+ 'no_machine' => 1,
'notes' => '
Create a ticket in RT. The subject and body of the ticket
will be generated from a message template.'