summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
authorivan <ivan>2003-09-29 10:10:47 +0000
committerivan <ivan>2003-09-29 10:10:47 +0000
commitc3e5b694f98b424f9fe68b76450d1464ba7a0fec (patch)
tree85f347e002a8673db2cd1c99df9adc6d03b48d0d /httemplate/browse
parentce0cb6c1b8d51cc9bb27fe9685bcccab5d8e25fb (diff)
agent browse now links to active/cancelled customers
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-xhttemplate/browse/agent.cgi7
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index ece01724e..44343e15c 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -78,6 +78,9 @@ foreach my $agent ( sort {
my $num_cancelled = $num_total - $num_ncancelled;
+ my $cust_main_link = $p. 'search/cust_main.cgi?agentnum_on=1&'.
+ 'agentnum='. $agent->agentnum;
+
%>
<TR>
@@ -93,9 +96,9 @@ foreach my $agent ( sort {
<TD><A HREF="<%=$p%>edit/agent_type.cgi?<%= $agent->typenum %>"><%= $agent->agent_type->atype %></A></TD>
<TD>
<FONT COLOR="#00CC00"><B><%= $num_ncancelled %></B></FONT>
- active
+ <A HREF="<%= $cust_main_link %>&showcancelledcustomers=0">active</A>
<BR><FONT COLOR="#FF0000"><B><%= $num_cancelled %></B></FONT>
- cancelled
+ <A HREF="<%= $cust_main_link %>&showcancelledcustomers=1&cancelled=1">cancelled</A>
</TD>
<TD><%= $agent->freq %></TD>
<TD><%= $agent->prog %></TD>