X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent.cgi;h=1c06f1b15c3904796cfa77f7f8651732a7f2af6b;hb=9a98d39e3ce40c1f2c324991e8ad469271093fb5;hp=234bfa74a300c9121ff69f79243d482f42c6e23a;hpb=5e05724a635a22776f1b973f5d7e77989da4e048;p=freeside.git
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index 234bfa74a..1c06f1b15 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -20,30 +20,29 @@ full offerings (via their type).
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
-%
-
param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent |
Type |
+ Master Customer |
+ Access Groups |
Invoice Template |
Customers |
Customer packages |
Reports |
Registration codes |
Prepaid cards |
-% if ( $conf->config('ticket_system') ) {
+% if ( $conf->config('ticket_system') ) {
Ticketing |
% }
Payment Gateway Overrides |
Configuration Overrides |
-%
+
%# Agent # |
%# Agent |
-%
%foreach my $agent ( sort {
% #$a->getfield('agentnum') <=> $b->getfield('agentnum')
% $a->getfield('agent') cmp $b->getfield('agent')
@@ -59,9 +58,6 @@ full offerings (via their type).
% } else {
% $bgcolor = $bgcolor1;
% }
-%
-%
-
@@ -84,11 +80,31 @@ full offerings (via their type).
<% $agent->agent_type->atype %>
+
+% if ( $agent->agent_custnum ) {
+ <% include('/elements/small_custview.html',
+ $agent->agent_custnum,
+ scalar($conf->config('countrydefault')),
+ 1, #show balance
+ )
+ %>
+% }
+ |
+
+
+% foreach my $access_group (
+% map $_->access_group,
+% qsearch('access_groupagent', { 'agentnum' => $agent->agentnum })
+% ) {
+ <% $access_group->groupname |h %>
+% }
+ |
+
<% $agent->invoice_template || '(Default)' %>
|
-
+ |
|
@@ -381,6 +396,14 @@ Unused
+
+
+