[freeside-commits] freeside/FS/FS cust_main.pm,1.389,1.390

Jeff Finucane,420,, jeff at wavetail.420.am
Thu Dec 11 13:11:22 PST 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv4440

Modified Files:
	cust_main.pm 
Log Message:
place tax on invoice only once

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.389
retrieving revision 1.390
diff -u -d -r1.389 -r1.390
--- cust_main.pm	5 Dec 2008 08:24:55 -0000	1.389
+++ cust_main.pm	11 Dec 2008 21:11:20 -0000	1.390
@@ -2280,6 +2280,7 @@
     warn "adding $taxname\n" if $DEBUG > 1;
     foreach my $taxitem ( @{ $taxname{$taxname} } ) {
       $tax += $tax{$taxitem} unless $seen{$taxitem};
+      $seen{$taxitem} = 1;
       warn "adding $tax{$taxitem}\n" if $DEBUG > 1;
     }
     next unless $tax;



More information about the freeside-commits mailing list