projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71513: Card tokenization [refund gateway choice]
[freeside.git]
/
httemplate
/
edit
/
prepay_credit.cgi
diff --git
a/httemplate/edit/prepay_credit.cgi
b/httemplate/edit/prepay_credit.cgi
index
f7a1b08
..
3f0d6ba
100644
(file)
--- a/
httemplate/edit/prepay_credit.cgi
+++ b/
httemplate/edit/prepay_credit.cgi
@@
-18,13
+18,12
@@
prepaid cards of
characters each
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)',
+ 'curr_value' => $agentnum,
+
&
>
<TABLE>
<TR><TD>Value:
<TABLE>
<TR><TD>Value: