diff options
author | ivan <ivan> | 2011-06-16 20:21:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-06-16 20:21:41 +0000 |
commit | ba5975d05c4bf88a47750fecf8651821460ab30f (patch) | |
tree | 01d6c275330ae1135146cfaa2c1750ea24cde209 /httemplate/edit | |
parent | c1cd1e5c13ba6087850139bc9bea4ff5efb65200 (diff) |
add default_agentnum config, RT#13302
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 002fd5734..516423860 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -308,6 +308,8 @@ if ( $cgi->param('error') ) { $custnum=''; $cust_main = new FS::cust_main ( {} ); + $cust_main->agentnum( $conf->config('default_agentnum') ) + if $conf->exists('default_agentnum'); $cust_main->otaker( &getotaker ); $cust_main->referral_custnum( $cgi->param('referral_custnum') ); @invoicing_list = (); |