From: mark Date: Thu, 22 Jul 2010 23:33:30 +0000 (+0000) Subject: option to force default queue for new tickets in cust_main, RT#8889 X-Git-Tag: root_of_svc_elec_features~37 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8c2973184d9e8e357f433b7380c7884454cc0293 option to force default queue for new tickets in cust_main, RT#8889 --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index acbd229d5..0d891be25 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -2251,7 +2251,12 @@ and customer address. Include units.', } }, }, - + { + 'key' => 'ticket_system-force_default_queueid', + 'section' => '', + 'description' => 'Disallow queue selection when creating new tickets from customer view.', + 'type' => 'checkbox', + }, { 'key' => 'ticket_system-selfservice_queueid', 'section' => '', diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html index 7a511a962..e90ae5276 100644 --- a/httemplate/view/cust_main/tickets.html +++ b/httemplate/view/cust_main/tickets.html @@ -9,10 +9,15 @@ function updateTicketLink() { keys %new_param),'Queue=') %>" + selector.options[selector.selectedIndex].value; } -Create new ticket +Create new ticket in queue - +% } +% else { + - +% } +
(View <% $openlabel %> tickets for this customer) @@ -87,6 +93,7 @@ function updateTicketLink() { <%init> +my( $conf ) = new FS::Conf; my( $cust_main ) = @_; my( @tickets ) = $cust_main->tickets;