From: ivan Date: Sun, 30 Jan 2011 06:44:06 +0000 (+0000) Subject: improve tax edit UI: add more counties & remove individual counties, RT#11144 X-Git-Tag: freeside_2_3_0~676 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=01758c90c7d2c2b83569b9138ac9a315f1695a56 improve tax edit UI: add more counties & remove individual counties, RT#11144 --- 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',