From 8cc48c6059d05fb54bf714aaddc168c8043e24ed Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 18 Jul 2016 19:29:59 -0500 Subject: RT#38973: Bill for time worked on ticket resolution [fully functional] --- httemplate/elements/select-rt-queue.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 httemplate/elements/select-rt-queue.html (limited to 'httemplate/elements/select-rt-queue.html') diff --git a/httemplate/elements/select-rt-queue.html b/httemplate/elements/select-rt-queue.html new file mode 100644 index 000000000..4ae8bc942 --- /dev/null +++ b/httemplate/elements/select-rt-queue.html @@ -0,0 +1,24 @@ + +<%init> +my %opt = @_; + +my %curr_value = map { $_ => 1 } split(', ',$opt{'curr_value'}); + +my @fields; +push @fields, '', $opt{empty_label} if exists($opt{empty_label}); + +my $conf = new FS::Conf; + +if ($conf->config('ticket_system') eq 'RT_Internal') { + + push @fields, FS::TicketSystem->queues(); + +} + + -- cgit v1.2.1