projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda3840
)
alpha sort agents, RT#18562
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 18 Jul 2012 04:01:27 +0000
(21:01 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 18 Jul 2012 04:01:27 +0000
(21:01 -0700)
httemplate/edit/prepay_credit.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/prepay_credit.cgi
b/httemplate/edit/prepay_credit.cgi
index
f7a1b08
..
c03bbf9
100644
(file)
--- 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: