From f1242ee84dba33d2e58e86ad329f8e3d519c153d Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 21 May 2005 18:38:43 +0000 Subject: [PATCH] make sure the customers tables for each agent line up with each other, too --- httemplate/browse/agent.cgi | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 32c68f834..5c3220290 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -1,5 +1,3 @@ - - <% my %search; @@ -11,7 +9,6 @@ } %> - <%= header('Agent Listing', menubar( 'Main Menu' => $p, 'Agent Types' => $p. 'browse/agent_type.cgi', @@ -71,43 +68,43 @@ foreach my $agent ( sort { - - - - - - - - -- 2.11.0
- <%= my $num_prospect = $agent->num_prospect_cust_main %> + + <%= my $num_prospect = $agent->num_prospect_cust_main %>    + <% if ( $num_prospect ) { %> <% } %>prospects<% if ($num_prospect ) { %><% } %>
+ - <%= my $num_active = $agent->num_active_cust_main %> + <%= my $num_active = $agent->num_active_cust_main %>    + <% if ( $num_active ) { %> <% } %>active<% if ( $num_active ) { %><% } %>
+ - <%= my $num_susp = $agent->num_susp_cust_main %> + <%= my $num_susp = $agent->num_susp_cust_main %>    + <% if ( $num_susp ) { %> <% } %>suspended<% if ( $num_susp ) { %><% } %>
+ - <%= my $num_cancel = $agent->num_cancel_cust_main %> + <%= my $num_cancel = $agent->num_cancel_cust_main %>    + <% if ( $num_cancel ) { %> <% } %>cancelled<% if ( $num_cancel ) { %><% } %>