1 <% encode_json( \@return ) %>\
4 my $agentnum = scalar($cgi->param('arg'));
6 my %hash = ( 'disabled' => '' );
8 $hash{'agentnum'} = $agentnum;
13 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,
14 'order_by' => 'ORDER BY salesperson',
22 #sort { $a->salesperson cmp $b->salesperson }