X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fagent.cgi;h=c4963e4701a1cc36384759b89026450f954f0d49;hp=a0af9fa442512c160ba289ad5f0974d804e280dd;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=63a268637b2d51a8766412617724b9436439deb6 diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi index a0af9fa44..c4963e470 100755 --- a/httemplate/edit/agent.cgi +++ b/httemplate/edit/agent.cgi @@ -4,11 +4,27 @@ <% include('/elements/error.html') %> -
+ + + + -Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> -<% &ntable("#cccccc", 2, '') %> + + Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> + + + @@ -19,7 +35,7 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> +% if ( $conf->exists('selfservice-agent_login') ) { + + + + + + + + + + + +% } else { + + + + +% } + @@ -85,8 +120,13 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> % } +
AgentAgent type
Username
Password
Disable disabled eq 'Y' ? ' CHECKED' : '' %>>
+
+ +<% mt('Access Groups') |h %> + + -
Access Groups <% include('/elements/checkboxes-table.html', 'source_obj' => $agent, 'link_table' => 'access_groupagent', @@ -99,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') + ], + &> +
+ +% } + +
+ + ">