diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-07-17 21:01:31 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-17 21:01:31 -0700 |
| commit | ae4c054984a4faffbb1c850931ea44457f18780e (patch) | |
| tree | 27434fbc22d499fec8c7a7daa9281eaf28f2301c | |
| parent | d586d4ce13fa284146e885f153dba3ae029358a1 (diff) | |
alpha sort agents, RT#18562
| -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: |
