X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fbrowse%2Fagent.cgi;h=0a516edef9952ffe43a4b1787c94c97ea44cc485;hb=52b311cb03ee6714c2ea8d108efdfef86c2c3e1d;hp=83e79a2f38b72207326854efd8e732cb0bf90733;hpb=cc0c6be1aa795f85d05f15a3e8568fcef2bbd380;p=freeside.git
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index 83e79a2f3..0a516edef 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -1,5 +1,4 @@
<% include("/elements/header.html",'Agent Listing', menubar(
- 'Main Menu' => $p,
'Agent Types' => $p. 'browse/agent_type.cgi',
# 'Add new agent' => '../edit/agent.cgi'
)) %>
@@ -27,10 +26,13 @@ full offerings (via their type).
param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent |
Type |
+ Master Customer |
+ Access Groups |
+ Invoice Template |
Customers |
Customer packages |
Reports |
- Registration codes |
+ Registration codes |
Prepaid cards |
% if ( $conf->config('ticket_system') ) {
@@ -39,8 +41,6 @@ full offerings (via their type).
Payment Gateway Overrides |
Configuration Overrides |
- Freq. |
- Prog. |
%
%# Agent # |
@@ -66,20 +66,51 @@ full offerings (via their type).
-
- <% $agent->agentnum %> |
-% if ( dbdef->table('agent')->column('disabled')
-% && !$cgi->param('showdisabled') ) {
- <% $agent->disabled ? 'DISABLED' : '' %> |
-% }
+
+ <% $agent->agentnum %>
+ |
+
+% if ( dbdef->table('agent')->column('disabled')
+% && !$cgi->param('showdisabled') ) {
+
+ <% $agent->disabled ? 'DISABLED' : '' %>
+ |
+% }
+
+ <% $agent->agent %>
+ |
-
- <% $agent->agent %> |
- <% $agent->agent_type->atype %> |
+
+ <% $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)' %>
+ |
+
+
|
-
-
% }