X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Ftickets.html;h=2175110e4f95a2cd80db83b659778720b029338a;hb=170aa1e8078280e7c03a6ebfc67280de66fa1b9d;hp=e90ae5276e8fb04c89103609c3af037db26dff66;hpb=8c2973184d9e8e357f433b7380c7884454cc0293;p=freeside.git
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
index e90ae5276..2175110e4 100644
--- a/httemplate/view/cust_main/tickets.html
+++ b/httemplate/view/cust_main/tickets.html
@@ -9,9 +9,11 @@ function updateTicketLink() {
keys %new_param),'Queue=') %>" + selector.options[selector.selectedIndex].value;
}
-Create new ticket
- in queue
-% my %queues = FS::TicketSystem->queues();
+<% mt('Create new ticket') |h %>
+ <% mt('in queue') |h %>
+%# fetch list of queues in which the user can create tickets
+% my $session = FS::TicketSystem->session();
+% my %queues = FS::TicketSystem->queues($session, 'CreateTicket');
% if( $conf->exists('ticket_system-force_default_queueid') ) {
<% $queues{$new_param{'Queue'}} %>
@@ -19,7 +21,6 @@ function updateTicketLink() {
% else {