[freeside-commits] branch FREESIDE_2_3_BRANCH updated. ae4c054984a4faffbb1c850931ea44457f18780e
Ivan
ivan at 420.am
Tue Jul 17 21:01:35 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via ae4c054984a4faffbb1c850931ea44457f18780e (commit)
from d586d4ce13fa284146e885f153dba3ae029358a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ae4c054984a4faffbb1c850931ea44457f18780e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jul 17 21:01:31 2012 -0700
alpha sort agents, RT#18562
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi
index f7a1b08..c03bbf9 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:
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/prepay_credit.cgi | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
More information about the freeside-commits
mailing list