diff options
author | ivan <ivan> | 2011-01-30 06:44:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-01-30 06:44:07 +0000 |
commit | 66568e6369322c2ac5c7e8784cc6ef5a0ae28550 (patch) | |
tree | 6ff23479beea9cdbbcfd68ac1ed9d23b66e6b0c6 /httemplate/browse | |
parent | 81cedf049ea379dd5ee67ac5d54bc1a3a2fcaa04 (diff) |
improve tax edit UI: add more counties & remove individual counties, RT#11144
Diffstat (limited to 'httemplate/browse')
-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', |