From 3913f6d159b5b8110061690b7c97642c27abf7eb Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 10 Jun 2004 12:31:32 +0000 Subject: agent interface --- httemplate/browse/agent.cgi | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'httemplate/browse/agent.cgi') diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 2eef5bb91..af3288720 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -95,10 +95,30 @@ foreach my $agent ( sort { <%= $agent->agent %> <%= $agent->agent_type->atype %> - <%= $num_ncancelled %> - active -
<%= $num_cancelled %> - cancelled + + + <%= my $num_prospect = $agent->num_prospect_cust_main %> + + <% if ( $num_prospect ) { %> + <% } %>prospects<% if ($num_prospect ) { %><% } %> + +
+ <%= my $num_active = $agent->num_active_cust_main %> + + <% if ( $num_active ) { %> + <% } %>active<% if ( $num_active ) { %><% } %> + +
+ <%= my $num_susp = $agent->num_susp_cust_main %> + + <% if ( $num_susp ) { %> + <% } %>suspended<% if ( $num_susp ) { %><% } %> + +
+ <%= my $num_cancel = $agent->num_cancel_cust_main %> + + <% if ( $num_cancel ) { %> + <% } %>cancelled<% if ( $num_cancel ) { %><% } %> <%= $agent->freq %> <%= $agent->prog %> -- cgit v1.2.1