X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fagent.cgi;h=2eddd30a471169b1909721c4b811f1a65aca3ce7;hb=a57b44fce003ff336e5e9b3990f4a4b6e288f758;hp=30a0865d3ba00f63950fdea380bd1ea7857aa00a;hpb=8b2b3f00e7c857de3a9bab764c415478acc83e27;p=freeside.git
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index 30a0865d3..2eddd30a4 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)" %>
+
+
+
+
+
+<% mt('Access Groups') |h %>
+
+
- Access Groups |
<% include('/elements/checkboxes-table.html',
'source_obj' => $agent,
'link_table' => 'access_groupagent',
@@ -112,8 +139,61 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
|
+
+
+<% mt('Commissions') |h %>
+
+
+
+% 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')
+ ],
+ &>
+ |
+
+
+
+% }
+
+
">