[freeside-commits] freeside/httemplate/edit cust_main.cgi, 1.76.2.2, 1.76.2.3

Ivan,,, ivan at wavetail.420.am
Wed Nov 21 17:03:34 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv28568

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_main.cgi 
Log Message:
usability: don't offer 'Select agent' choice if the dropdown already has a value

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.76.2.2
retrieving revision 1.76.2.3
diff -u -d -r1.76.2.2 -r1.76.2.3
--- cust_main.cgi	15 Aug 2007 21:51:04 -0000	1.76.2.2
+++ cust_main.cgi	22 Nov 2007 01:03:32 -0000	1.76.2.3
@@ -123,8 +123,9 @@
 <!-- agent -->
 
 <% include('/elements/tr-select-agent.html', $cust_main->agentnum,
-              'label'       => "<B>${r}Agent</B>",
-              'empty_label' => 'Select agent',
+              'label'         => "<B>${r}Agent</B>",
+              'empty_label'   => 'Select agent',
+              'disable_empty' => ( $cust_main->agentnum ? 1 : 0 ),
            )
 %>
 



More information about the freeside-commits mailing list