projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
622ce18
)
fix condition to work w/taxes, RT#3983
author
ivan
<ivan>
Thu, 20 Jan 2011 05:34:46 +0000
(
05:34
+0000)
committer
ivan
<ivan>
Thu, 20 Jan 2011 05:34:46 +0000
(
05:34
+0000)
FS/FS/part_event/Condition/cust_bill_has_service.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition/cust_bill_has_service.pm
b/FS/FS/part_event/Condition/cust_bill_has_service.pm
index
d85af26
..
744e079
100644
(file)
--- a/
FS/FS/part_event/Condition/cust_bill_has_service.pm
+++ b/
FS/FS/part_event/Condition/cust_bill_has_service.pm
@@
-32,9
+32,10
@@
sub condition {
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 {