diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-17 21:01:27 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-17 21:01:27 -0700 |
commit | 512d2ca7c49e022c94c228270ee337b2af6bc260 (patch) | |
tree | 3b41e79fb40e0169d79f25c5d27a1b7cb2aa9cc4 /httemplate/edit/prepay_credit.cgi | |
parent | fda38400b0abd738e2e84b5fcfc036db872199ad (diff) |
alpha sort agents, RT#18562
Diffstat (limited to 'httemplate/edit/prepay_credit.cgi')
-rw-r--r-- | httemplate/edit/prepay_credit.cgi | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi index f7a1b0801..c03bbf990 100644 --- a/httemplate/edit/prepay_credit.cgi +++ b/httemplate/edit/prepay_credit.cgi @@ -18,13 +18,11 @@ prepaid cards of characters each -<BR>for <SELECT NAME="agentnum"><OPTION>(any agent) -% foreach my $opt_agent ( qsearch('agent', { 'disabled' => '' } ) ) { +<BR>for - <OPTION VALUE="<% $opt_agent->agentnum %>"<% $opt_agent->agentnum == $agentnum ? ' SELECTED' : '' %>><% $opt_agent->agent %> -% } - -</SELECT> +<& /elements/select-agent.html, + 'empty_label' => '(any agent)', +&> <TABLE> <TR><TD>Value: |