X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent.cgi;h=32c68f834317e33efd68184b198bc2319b7e8d5e;hb=c67822780e9f915a3df47943bd65689536dc9442;hp=f24266fb2b46f39f3ac30848a0bd1efe40cf5f87;hpb=71c6e9e04a6faadedaf2238f7e7fcf607d4721cc;p=freeside.git diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index f24266fb2..32c68f834 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -35,7 +35,9 @@ full offerings (via their type).

param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent Type Customers + Reports Registration Codes + Prepaid cards Freq. Prog. @@ -64,40 +66,80 @@ foreach my $agent ( sort { <%= $agent->agent %> <%= $agent->agent_type->atype %> + + + + + + + + + + + + + + + + + + + +
+ <%= 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 ) { %><% } %> +
+ + + Payments +
Credits +
A/R Aging + - - <%= 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 ) { %><% } %> + <%= my $num_reg_code = $agent->num_reg_code %> <% if ( $num_reg_code ) { %> <% } %>Unused<% if ( $num_reg_code ) { %><% } %>
Generate codes + + + <%= my $num_prepay_credit = $agent->num_prepay_credit %> + <% if ( $num_prepay_credit ) { %> + <% } %>Unused<% if ( $num_prepay_credit ) { %><% } %> +
Generate cards + + <%= $agent->freq %> <%= $agent->prog %> + <% } %>