summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-11-09 09:13:38 +0000
committerivan <ivan>2004-11-09 09:13:38 +0000
commita744e0eb79729b05563679fdf8ede6468621bc0f (patch)
treeacbabb56d4fcaa4a781736739a2979800319a3db
parentb3dd862b5390231d524945c5340ab94251103b17 (diff)
fix for correct reporting of generic taxes
-rwxr-xr-xhttemplate/search/report_tax.cgi2
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",