X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fagent.cgi;h=30a0865d3ba00f63950fdea380bd1ea7857aa00a;hb=42ad860da02665aa21193d3bc418ef03e96727fb;hp=11bfc5932d8f6decd38453efafe2a48f1afac35d;hpb=5e05724a635a22776f1b973f5d7e77989da4e048;p=freeside.git diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi index 11bfc5932..30a0865d3 100755 --- a/httemplate/edit/agent.cgi +++ b/httemplate/edit/agent.cgi @@ -4,7 +4,20 @@ <% include('/elements/error.html') %> -
+ + + + Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> @@ -30,17 +43,37 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> + Master customer + + <% include('/elements/search-cust_main.html', + 'field_name' => 'agent_custnum', + 'curr_value' => $agent->agent_custnum, + 'find_button' => 1, + ) + %> + + + + Disable disabled eq 'Y' ? ' CHECKED' : '' %>> +% if ( $conf->exists('agent-invoice_template') ) { + <% include('/elements/tr-select-invoice_template.html', 'label' => 'Invoice template', 'field' => 'invoice_template', 'curr_value' => $agent->invoice_template, ) %> - + +% } else { + + + +% } + % if ( $conf->config('ticket_system') ) { % my $default_queueid = $conf->config('ticket_system-default_queueid'); % my $default_queue = FS::TicketSystem->queue($default_queueid); @@ -65,6 +98,19 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %> % } + + Access Groups + <% include('/elements/checkboxes-table.html', + 'source_obj' => $agent, + 'link_table' => 'access_groupagent', + 'target_table' => 'access_group', + 'name_col' => 'groupname', + 'target_link' => $p. 'edit/access_group.html?', + ) + %> + + +