summaryrefslogtreecommitdiff
path: root/httemplate/browse/agent.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/agent.cgi')
-rwxr-xr-xhttemplate/browse/agent.cgi15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index e3c4022d4..05300d0bd 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -8,6 +8,8 @@
%search = ( 'disabled' => '' );
}
+ my $conf = new FS::Conf;
+
%>
<%= header('Agent Listing', menubar(
'Main Menu' => $p,
@@ -36,6 +38,9 @@ full offerings (via their type).<BR><BR>
<TH>Reports</TH>
<TH>Registration codes</TH>
<TH>Prepaid cards</TH>
+ <% if ( $conf->config('ticket_system') ) { %>
+ <TH>Ticketing</TH>
+ <% } %>
<TH><FONT SIZE=-1>Payment Gateway Overrides</FONT></TH>
<TH><FONT SIZE=-1>Freq.</FONT></TH>
<TH><FONT SIZE=-1>Prog.</FONT></TH>
@@ -175,6 +180,16 @@ foreach my $agent ( sort {
<BR><A HREF="<%=$p%>edit/prepay_credit.cgi?agentnum=<%= $agent->agentnum %>">Generate cards</A>
</TD>
+ <% if ( $conf->config('ticket_system') ) { %>
+
+ <TD>
+ <% if ( $agent->ticketing_queueid ) { %>
+ Queue: <%= $agent->ticketing_queueid %>: <%= $agent->ticketing_queue %><BR>
+ <% } %>
+ </TD>
+
+ <% } %>
+
<TD>
<TABLE CELLSPACING=0 CELLPADDING=0>
<% foreach my $override (