freeside/httemplate/browse agent.cgi,1.20,1.21
ivan
ivan at pouncequick.420.am
Sat Jan 29 04:49:21 PST 2005
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory pouncequick:/tmp/cvs-serv3799
Modified Files:
agent.cgi
Log Message:
oops, last bit for reg codes
Index: agent.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/agent.cgi,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- agent.cgi 10 Jun 2004 12:58:40 -0000 1.20
+++ agent.cgi 29 Jan 2005 12:49:18 -0000 1.21
@@ -35,6 +35,7 @@
<TH COLSPAN=<%= ( $cgi->param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent</TH>
<TH>Type</TH>
<TH>Customers</TH>
+ <TH>Registration Codes</TH>
<TH><FONT SIZE=-1>Freq.</FONT></TH>
<TH><FONT SIZE=-1>Prog.</FONT></TH>
</TR>
@@ -88,6 +89,12 @@
</B></FONT>
<% if ( $num_cancel ) { %>
<A HREF="<%= $cust_main_link %>&showcancelledcustomers=1&cancelled=1"><% } %>cancelled<% if ( $num_cancel ) { %></A><% } %>
+ </TD>
+ <TD>
+ <%= my $num_reg_code = $agent->num_reg_code %>
+ <% if ( $num_reg_code ) { %>
+ <A HREF="<%=$p%>search/reg_code.html?agentnum=<%= $agent->agentnum %>"><% } %>Unused<% if ( $num_reg_code ) { %></A><% } %>
+ <BR><A HREF="<%=$p%>edit/reg_code.cgi?agentnum=<%= $agent->agentnum %>">Generate codes</A>
</TD>
<TD><%= $agent->freq %></TD>
<TD><%= $agent->prog %></TD>
More information about the freeside-commits
mailing list