freeside/httemplate/search report_tax.cgi,1.5.4.15,1.5.4.16

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


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

Modified Files:
      Tag: FREESIDE_1_4_BRANCH
	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.5.4.15
retrieving revision 1.5.4.16
diff -u -d -r1.5.4.15 -r1.5.4.16
--- report_tax.cgi	9 Nov 2004 09:13:38 -0000	1.5.4.15
+++ report_tax.cgi	9 Nov 2004 09:31:10 -0000	1.5.4.16
@@ -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