diff options
| author | ivan <ivan> | 2003-09-29 10:10:49 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2003-09-29 10:10:49 +0000 |
| commit | 855e4cae84453c6280450c33b770a418f95adcf3 (patch) | |
| tree | bcd97eee575f868c0c2f93d77cb629f807d70b44 /httemplate/browse/agent.cgi | |
| parent | 021fde20ad6c68c1fc4703e3bbcd7f1699867225 (diff) | |
agent browse now links to active/cancelled customers
Diffstat (limited to 'httemplate/browse/agent.cgi')
| -rwxr-xr-x | httemplate/browse/agent.cgi | 7 |
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> |
