summaryrefslogtreecommitdiff
path: root/httemplate/edit/prepay_credit.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-17 21:01:27 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-17 21:01:27 -0700
commit512d2ca7c49e022c94c228270ee337b2af6bc260 (patch)
tree3b41e79fb40e0169d79f25c5d27a1b7cb2aa9cc4 /httemplate/edit/prepay_credit.cgi
parentfda38400b0abd738e2e84b5fcfc036db872199ad (diff)
alpha sort agents, RT#18562
Diffstat (limited to 'httemplate/edit/prepay_credit.cgi')
-rw-r--r--httemplate/edit/prepay_credit.cgi10
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: