freeside/httemplate/search report_tax.cgi,1.19,1.20

ivan ivan at pouncequick.420.am
Tue Nov 9 01:31:11 PST 2004


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv28345

Modified Files:
	report_tax.cgi 
Log Message:
parenthesis help alot

Index: report_tax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.cgi,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- report_tax.cgi	9 Nov 2004 09:13:37 -0000	1.19
+++ report_tax.cgi	9 Nov 2004 09:31:09 -0000	1.20
@@ -125,7 +125,7 @@
   my $named_tax =
     $r->taxname
       ? 'AND itemdesc = '. dbh->quote($r->taxname)
-      : "AND itemdesc IS NULL OR itemdesc = '' OR itemdesc = 'Tax'";
+      : "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