X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent.cgi;h=32c68f834317e33efd68184b198bc2319b7e8d5e;hb=c67822780e9f915a3df47943bd65689536dc9442;hp=f118552ee662f2d315f850aab6b89281ca06d61f;hpb=2f3390c76813f42a5456730f58a5fcb69d320bde;p=freeside.git diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index f118552ee..32c68f834 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -69,35 +69,56 @@ foreach my $agent ( sort {
+ <%= 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 ) { %><% } %> + | +