freeside/httemplate/search report_tax.cgi,1.18,1.19
ivan
ivan at pouncequick.420.am
Tue Nov 9 01:13:40 PST 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv27901
Modified Files:
report_tax.cgi
Log Message:
fix for correct reporting of generic taxes
Index: report_tax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.cgi,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- report_tax.cgi 9 Nov 2004 07:23:09 -0000 1.18
+++ report_tax.cgi 9 Nov 2004 09:13:37 -0000 1.19
@@ -125,7 +125,7 @@
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",
More information about the freeside-commits
mailing list