improve tax edit UI: add more counties & remove individual counties, RT#11144
authorivan <ivan>
Sun, 30 Jan 2011 06:44:06 +0000 (06:44 +0000)
committerivan <ivan>
Sun, 30 Jan 2011 06:44:06 +0000 (06:44 +0000)
httemplate/browse/cust_main_county.cgi

index 99c1712..6d89edc 100755 (executable)
@@ -141,17 +141,17 @@ sub collapse_link {
 
   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',