diff options
author | ivan <ivan> | 2004-10-25 23:47:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-10-25 23:47:30 +0000 |
commit | 29a82b24b37fee37588efb96928574ac1a452d88 (patch) | |
tree | 6f5fdb2b77bd28ec68c18a4b9338ae5fa724d63c /httemplate/search/report_tax.cgi | |
parent | 5f69e7b4fa45c720a366eee314379ba10d5f8d34 (diff) |
hopefully fix tax report for taxclass & named tax edge cases
Diffstat (limited to 'httemplate/search/report_tax.cgi')
-rwxr-xr-x | httemplate/search/report_tax.cgi | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index 885c764da..aec91c415 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -64,17 +64,6 @@ foreach my $r ( my @taxparam = my @param = qw( county county state state country ); -# my $num_others = -# scalar_sql( $r, [qw( country state state county county taxname taxname )], -# "SELECT COUNT(*) FROM cust_main_county -# WHERE country = ? -# AND ( state = ? OR ( state IS NULL AND ? = '' ) ) -# AND ( county = ? OR ( county IS NULL AND ? = '' ) ) -# AND ( taxname = ? OR ( taxname IS NULL AND ? = '' ) ) " -# ); -# -# die "didn't even find self?" unless $num_others; - if ( $r->taxclass ) { $fromwhere .= " AND ( taxclass = ? ) "; push @param, 'taxclass'; |