freeside/httemplate/search report_tax.cgi,1.14,1.15

ivan ivan at pouncequick.420.am
Mon Oct 25 16:47:32 PDT 2004


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

Modified Files:
	report_tax.cgi 
Log Message:
hopefully fix tax report for taxclass & named tax edge cases

Index: report_tax.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.cgi,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- report_tax.cgi	25 Oct 2004 23:39:06 -0000	1.14
+++ report_tax.cgi	25 Oct 2004 23:47:30 -0000	1.15
@@ -64,17 +64,6 @@
 
   my @taxparam = my @param = qw( county county state state country );
 
-#  my $num_others = 
-#    scalar_sql( $r, [qw( country state state county county taxname taxname )], 
-#      "SELECT COUNT(*) FROM cust_main_county
-#         WHERE country = ?
-#         AND ( state = ? OR ( state IS NULL AND ? = '' ) )
-#         AND ( county = ? OR ( county IS NULL AND ? = '' ) )
-#         AND ( taxname = ? OR ( taxname IS NULL AND ? = '' ) ) "
-#    );
-#
-#  die "didn't even find self?" unless $num_others;
-
   if ( $r->taxclass ) {
     $fromwhere .= " AND ( taxclass = ?  ) ";
     push @param, 'taxclass';




More information about the freeside-commits mailing list