X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent.cgi;h=c5c992704be6c08acb91096e9a4088a7eaad57b5;hp=f389342972feb4619e9754b9cdd78fb730ee57b3;hb=c2146ae32fdef80049abfa13098db2d45f3ebdd5;hpb=f7fd2a3e34da751cbc02bbf215e99c6dc89adc15 diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index f38934297..c5c992704 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', @@ -35,6 +32,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. @@ -63,34 +63,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 %> + <% } %>