X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fagent.cgi;h=6707d66a4ba91d01a9199c0458937bccb3da2102;hb=7aef2e455fe8a4722036f231ee8609ac63b2a9c9;hp=11bfc5932d8f6decd38453efafe2a48f1afac35d;hpb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;p=freeside.git diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi index 11bfc5932..6707d66a4 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,56 @@ 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, + ) + %> + + + +% if ( $conf->exists('selfservice-agent_login') ) { + + + Username + + + + + Password + + + +% } else { + + + + +% } + + 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 +117,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?', + ) + %> + + +