X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fagent.cgi;h=c4963e4701a1cc36384759b89026450f954f0d49;hb=bd115bbb7ee8b1f8568d026caceb95ae18c80e87;hp=6707d66a4ba91d01a9199c0458937bccb3da2102;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index 6707d66a4..c4963e470 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -19,9 +19,12 @@
-Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
-<% &ntable("#cccccc", 2, '') %>
+
+ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
+
+
+
Agent |
@@ -32,7 +35,7 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
Agent type |
|
% }
+
+
+
+<% mt('Access Groups') |h %>
+
+
- Access Groups |
<% include('/elements/checkboxes-table.html',
'source_obj' => $agent,
'link_table' => 'access_groupagent',
@@ -131,8 +139,37 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
|
+
+<& /elements/table-commissions.html,
+ 'source_obj' => $agent,
+ 'link_table' => 'agent_pkg_class',
+ #'target_table' => 'pkg_class',
+&>
+
+% if ( $conf->config('currencies') ) {
+
+ <% mt('Currencies') |h %>
+
+
+
+ <& /elements/checkboxes-table-name.html,
+ 'link_table' => 'agent_currency',
+ 'name_col' => 'currency',
+ 'names_list' => [ map [ $_, {label=>"$_: ".code2currency($_)} ],
+ $conf->config('currencies')
+ ],
+ &>
+ |
+
+
+
+% }
+
+
+
+
">