X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent.cgi;h=3fe68c15d582fd959f1ed49a4e0958f6d8916afc;hb=11df448ba461eed4d33fded0f21ed15c155a7896;hp=4d2252821071d9c7fe7c1200871b1f07b341070e;hpb=2f015c66aeb24d3c7a9ea2e10bb5a22e94d5a8f4;p=freeside.git
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index 4d2252821..3fe68c15d 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -1,19 +1,4 @@
-%
-%
-% my %search;
-% if ( $cgi->param('showdisabled')
-% || !dbdef->table('agent')->column('disabled') ) {
-% %search = ();
-% } else {
-% %search = ( 'disabled' => '' );
-% }
-%
-% my $conf = new FS::Conf;
-%
-%
-
<% include("/elements/header.html",'Agent Listing', menubar(
- 'Main Menu' => $p,
'Agent Types' => $p. 'browse/agent_type.cgi',
# 'Add new agent' => '../edit/agent.cgi'
)) %>
@@ -35,30 +20,34 @@ full offerings (via their type).
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
-%
-
- - <% my $num_prospect = $agent->num_prospect_cust_main %> - - | +% ## +% # commissions +% ## --% if ( $num_prospect ) { + |
-
-% }
-prospects
-% if ($num_prospect ) {
-
-% }
+
| ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- - <% my $num_active = $agent->num_active_cust_main %> - - | + --% if ( $num_active ) { +% ## +% # access groups +% ## + |
+% foreach my $access_group (
+% map $_->access_group,
+% qsearch('access_groupagent', { 'agentnum' => $agent->agentnum })
+% ) {
+ <% $access_group->groupname |h %> +% } + |
-
-% }
-active
-% if ( $num_active ) {
-
-% }
+% ##
+% # invoice template
+% ##
+ + <% $agent->invoice_template || '(Default)' %> + | - -|||||||||||||||||||||||
- - <% my $num_susp = $agent->num_susp_cust_main %> - - | +
+
|
+% ##
+% # customer packages
+% ##
+
|
+% ##
+% # reports
+% ##
- Payments
+ Package Churn
+ Payments Credits - A/R Aging + A/R Aging - |
+% ##
+% # registration codes
+% ##
+
<% my $num_reg_code = $agent->num_reg_code %>
% if ( $num_reg_code ) {
@@ -306,6 +290,10 @@ Unused
Generate codes |
+% ##
+% # prepaid cards
+% ##
+
<% my $num_prepay_credit = $agent->num_prepay_credit %>
% if ( $num_prepay_credit ) {
@@ -319,21 +307,35 @@ Unused
Generate cards |
-% if ( $conf->config('ticket_system') ) {
-
+% ##
+% # ticketing
+% ##
+% if ( $conf->config('ticket_system') ) {
-% if ( $agent->ticketing_queueid ) {
-
- Queue: <% $agent->ticketing_queueid %>: <% $agent->ticketing_queue %> +% if ( $agent->ticketing_queueid ) { + Queue: <% $agent->ticketing_queueid %>: + <% $agent->ticketing_queue %> + +% } + |
% }
+% ##
+% # currencies
+% ##
+% if ( $conf->config('currencies') ) {
+
+ <% join(' ', sort keys %{ $agent->agent_currency_hashref } ) %> |
% }
+% ##
+% # payment gateway overrides
+% ##
-
-
|