diff options
author | ivan <ivan> | 2011-01-30 06:44:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-01-30 06:44:06 +0000 |
commit | 01758c90c7d2c2b83569b9138ac9a315f1695a56 (patch) | |
tree | a2bd8551bda76722e5d590199c954b3c68a71d8a | |
parent | 40b466a6f51f20313f902be0935c0b08653bf1dd (diff) |
improve tax edit UI: add more counties & remove individual counties, RT#11144
-rwxr-xr-x | httemplate/browse/cust_main_county.cgi | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi index 99c1712be..6d89edcfa 100755 --- a/httemplate/browse/cust_main_county.cgi +++ b/httemplate/browse/cust_main_county.cgi @@ -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', |