[freeside-commits] branch master updated. 512d2ca7c49e022c94c228270ee337b2af6bc260

Ivan ivan at 420.am
Tue Jul 17 21:01:30 PDT 2012


The branch, master has been updated
       via  512d2ca7c49e022c94c228270ee337b2af6bc260 (commit)
      from  fda38400b0abd738e2e84b5fcfc036db872199ad (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 512d2ca7c49e022c94c228270ee337b2af6bc260
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Jul 17 21:01:27 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