[freeside-commits] freeside/httemplate/browse cust_main_county.cgi, 1.31, 1.32

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


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

Modified Files:
	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.31
retrieving revision 1.32
diff -u -w -d -r1.31 -r1.32
--- cust_main_county.cgi	30 Jan 2011 06:33:40 -0000	1.31
+++ cust_main_county.cgi	30 Jan 2011 06:44:06 -0000	1.32
@@ -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