[freeside-commits] freeside/httemplate/search cust_bill_pkg.cgi, 1.23, 1.24

Ivan,,, ivan at wavetail.420.am
Wed May 27 15:32:06 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv11201

Modified Files:
	cust_bill_pkg.cgi 
Log Message:
and multiple taxlcasses.  i think that should actually do it for now on RT#5446

Index: cust_bill_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill_pkg.cgi,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- cust_bill_pkg.cgi	27 May 2009 22:15:57 -0000	1.23
+++ cust_bill_pkg.cgi	27 May 2009 22:32:04 -0000	1.24
@@ -95,7 +95,10 @@
   }
 }
 
-push @where, map ' taxclass = '.dbh->quote($_), $cgi->param('taxclass')
+push @where, ' ( '. join(' OR ',
+                      map ' taxclass = '.dbh->quote($_), $cgi->param('taxclass')
+                    ).
+             ' ) '
   if $cgi->param('taxclass')
   && ! $cgi->param('istax'); #no part_pkg.taxclass in this case
                              #(should we save a taxclass or a link to taxnum



More information about the freeside-commits mailing list