[freeside-commits] freeside/httemplate/browse cust_main_county.cgi, 1.30.4.1, 1.30.4.2

Ivan,,, ivan at wavetail.420.am
Sat Jan 29 22:44:09 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv31537/browse

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_main_county.cgi 
Log Message:
improve tax edit UI: add more counties & remove individual counties, RT#11144

Index: cust_main_county.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/cust_main_county.cgi,v
retrieving revision 1.30.4.1
retrieving revision 1.30.4.2
diff -u -w -d -r1.30.4.1 -r1.30.4.2
--- cust_main_county.cgi	30 Jan 2011 06:33:41 -0000	1.30.4.1
+++ cust_main_county.cgi	30 Jan 2011 06:44:06 -0000	1.30.4.2
@@ -141,17 +141,17 @@
 
   my $row = $param{'row'};
   my $col = $param{'col'};
-  return ''
-    if $col eq 'state' and $row->city
-                            || qsearch({
-                                 'table'   => 'cust_main_county',
-                                 'hashref' => {
-                                   'country' => $row->country,
-                                   'state'   => $row->state,
-                                   'city'    => { op=>'!=', value=>'' },
-                                 },
-                                 'order_by' => 'LIMIT 1',
-                               });
+#  return ''
+#    if $col eq 'state' and $row->city
+#                            || qsearch({
+#                                 'table'   => 'cust_main_county',
+#                                 'hashref' => {
+#                                   'country' => $row->country,
+#                                   'state'   => $row->state,
+#                                   'city'    => { op=>'!=', value=>'' },
+#                                 },
+#                                 'order_by' => 'LIMIT 1',
+#                               });
 
   my %below = ( 'county' => 'city',
                 'state'  => 'county',



More information about the freeside-commits mailing list