projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2bbfc33
)
fix fallout with original API usage, oops, RT#9334
author
ivan
<ivan>
Tue, 27 Jul 2010 07:08:26 +0000
(07:08 +0000)
committer
ivan
<ivan>
Tue, 27 Jul 2010 07:08:26 +0000
(07:08 +0000)
FS/FS/Maestro.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Maestro.pm
b/FS/FS/Maestro.pm
index
2061f28
..
0569368
100644
(file)
--- a/
FS/FS/Maestro.pm
+++ b/
FS/FS/Maestro.pm
@@
-106,7
+106,7
@@
sub customer_status {
my $conf = new FS::Conf;
my %outbound_pkgs = map { $_=>1 } $conf->config('mc-outbound_packages');
my $conf = new FS::Conf;
my %outbound_pkgs = map { $_=>1 } $conf->config('mc-outbound_packages');
-
my
$outbound_service =
+ $outbound_service =
scalar( grep { $outbound_pkgs{ $_->pkgpart }
&& !$_->get('cancel')
}
scalar( grep { $outbound_pkgs{ $_->pkgpart }
&& !$_->get('cancel')
}
@@
-120,7
+120,7
@@
sub customer_status {
sort { $a->bill <=> $b->bill }
grep { !$_->get('cancel') && $_->part_pkg->freq ne '0' }
@cust_pkg;
sort { $a->bill <=> $b->bill }
grep { !$_->get('cancel') && $_->part_pkg->freq ne '0' }
@cust_pkg;
-
my
$good_till = time2str('%c', $active_cust_pkg[0]->bill || time );
+ $good_till = time2str('%c', $active_cust_pkg[0]->bill || time );
}
}