[freeside-commits] freeside/httemplate/browse agent.cgi,1.30,1.31

Ivan,,, ivan at wavetail.420.am
Sat Oct 15 04:29:55 PDT 2005


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv8761/httemplate/browse

Modified Files:
	agent.cgi 
Log Message:
agent option to select RT queue

Index: agent.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/agent.cgi,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- agent.cgi	17 Aug 2005 22:23:46 -0000	1.30
+++ agent.cgi	15 Oct 2005 11:29:53 -0000	1.31
@@ -8,6 +8,8 @@
     %search = ( 'disabled' => '' );
   }
 
+  my $conf = new FS::Conf;
+
 %>
 <%= header('Agent Listing', menubar(
   'Main Menu'   => $p,
@@ -36,6 +38,9 @@
   <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 @@
           <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 (



More information about the freeside-commits mailing list