diff options
author | ivan <ivan> | 2004-11-09 09:13:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-11-09 09:13:37 +0000 |
commit | 5b385021976c25fd312da16e9430df1fe4e89457 (patch) | |
tree | c12056db9bcb4dbf9297b16dfa5715c958a8e0a9 | |
parent | 649ceeca76084d16d22013124bd7f80f053d75c4 (diff) |
fix for correct reporting of generic taxes
-rwxr-xr-x | httemplate/search/report_tax.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index e3d203eb3..601763bba 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -125,7 +125,7 @@ foreach my $r ( my $named_tax = $r->taxname ? 'AND itemdesc = '. dbh->quote($r->taxname) - : "AND itemdesc IS NULL or itemdesc = ''"; + : "AND itemdesc IS NULL OR itemdesc = '' OR itemdesc = 'Tax'"; my $x = scalar_sql($r, \@taxparam, "SELECT SUM(cust_bill_pkg.setup+cust_bill_pkg.recur) $taxwhere ". "AND pkgnum = 0 $named_tax", |