X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FMaestro.pm;h=05693681df8c2ebd9a6f1c1b298994fff79ed9c4;hb=1180f9a618b766654ef11faccf34f647b7bb4e3e;hp=2061f28f15439ad286fc04d2c0f134e860625df7;hpb=2bbfc3379be19a01094d55ac6ba53a1360f1797f;p=freeside.git diff --git a/FS/FS/Maestro.pm b/FS/FS/Maestro.pm index 2061f28f1..05693681d 100644 --- 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 $outbound_service = + $outbound_service = 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; - my $good_till = time2str('%c', $active_cust_pkg[0]->bill || time ); + $good_till = time2str('%c', $active_cust_pkg[0]->bill || time ); }