[freeside-commits] freeside/FS/FS part_pkg.pm,1.80,1.81
Jeff Finucane,420,,
jeff at wavetail.420.am
Fri Dec 5 09:19:58 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv1142
Modified Files:
part_pkg.pm
Log Message:
avoid taxation on products with no assigned taxes
Index: part_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg.pm,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- part_pkg.pm 9 Nov 2008 08:51:00 -0000 1.80
+++ part_pkg.pm 5 Dec 2008 17:19:55 -0000 1.81
@@ -872,7 +872,9 @@
my $self = shift;
$self->taxproductnum ||
- scalar(grep { $_ =~/^usage_taxproductnum_/ } keys %{ {$self->options} } )
+ scalar( grep { $_ =~/^usage_taxproductnum_/ && $self->option($_) }
+ keys %{ {$self->options} }
+ )
}
More information about the freeside-commits
mailing list