X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=579d6cfe369019dc0d75c3e07506c84eadfd77f1;hb=d43d067e7e57d396a8534212e5bb1025529285bd;hp=b081ad4801c1f82e8a3b68894023cd346c273909;hpb=509e925804335b3cec474f25f57dbdbde939c322;p=freeside.git diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index b081ad480..579d6cfe3 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -123,9 +123,10 @@ <% include('/elements/tr-select-agent.html', - 'curr_value' => $cust_main->agentnum, - 'label' => "${r}Agent", - 'empty_label' => 'Select agent', + 'curr_value' => $cust_main->agentnum, + 'label' => "${r}Agent", + 'empty_label' => 'Select agent', + 'disable_empty' => ( $cust_main->agentnum ? 1 : 0 ), ) %> @@ -140,7 +141,10 @@ % } else { - <% include('/elements/tr-select-part_referral.html', $refnum ) %> + <% include('/elements/tr-select-part_referral.html', + 'curr_value' => $refnum + ) + %> % }