[freeside-commits] freeside/FS/FS/part_event/Condition cust_bill_has_service.pm, 1.6, 1.6.4.1
Ivan,,,
ivan at wavetail.420.am
Wed Jan 19 21:34:49 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail.420.am:/tmp/cvs-serv26512
Modified Files:
Tag: FREESIDE_2_1_BRANCH
cust_bill_has_service.pm
Log Message:
fix condition to work w/taxes, RT#3983
Index: cust_bill_has_service.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition/cust_bill_has_service.pm,v
retrieving revision 1.6
retrieving revision 1.6.4.1
diff -u -w -d -r1.6 -r1.6.4.1
--- cust_bill_has_service.pm 30 Mar 2010 02:04:01 -0000 1.6
+++ cust_bill_has_service.pm 20 Jan 2011 05:34:47 -0000 1.6.4.1
@@ -32,9 +32,10 @@
my($self, $cust_bill) = @_;
my $servicenum = $self->option('has_service');
+
grep { $servicenum == $_->svcpart }
- map { $_->cust_pkg->cust_svc }
- $cust_bill->cust_bill_pkg ;
+ map { $_->cust_svc }
+ $cust_bill->cust_pkg;
}
sub condition_sql {
More information about the freeside-commits
mailing list