X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ftop_misc.html;h=41dd5636b861e012787acf5286fbf1eb01746a13;hb=f1e9e0cd3fb22e3e615142889f5f3df799841cc2;hp=b7e86ba784a81a0c1c1d73d44f46d39683989338;hpb=54a357b171aa44f9399b4c146acd2afd3b686075;p=freeside.git diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html index b7e86ba78..41dd5636b 100644 --- a/httemplate/edit/cust_main/top_misc.html +++ b/httemplate/edit/cust_main/top_misc.html @@ -20,24 +20,35 @@ <% $cust_main->residential_commercial eq 'Commercial' ? 'CHECKED' : '' %> > + @@ -129,6 +145,11 @@ 'label' => emt("Class"), &> +%#sales person +<& /elements/tr-select-sales.html, + 'curr_value' => $cust_main->salesnum, +&> + %# referral (advertising source) %my $refnum = $cust_main->refnum || $conf->config('referraldefault') || 0; %if ( $custnum && ! $conf->exists('editreferrals') ) { @@ -137,9 +158,10 @@ % } else { - <& /elements/tr-select-part_referral.html, - 'curr_value' => $refnum - &> + <& /elements/tr-select-part_referral.html, + 'curr_value' => $refnum, + 'label' => "${r}".emt('Advertising source')."" + &> % } @@ -250,7 +272,7 @@ foreach (qsearch('agent',{})) { my $agent_ship_location = $cust_main->ship_location; $ship_locked_agents{$agentnum} = +{ map { $_ => $agent_ship_location->$_ } - qw(address1 city state zip country latitude longitude district) + qw(locationname address1 city state zip country latitude longitude district) }; }