[freeside-commits] freeside/FS/FS Maestro.pm,1.2,1.3
Ivan,,,
ivan at wavetail.420.am
Sat Jun 26 13:46:20 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv9750
Modified Files:
Maestro.pm
Log Message:
cancelled outboudn package doesn't count, RT#8712
Index: Maestro.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Maestro.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- Maestro.pm 26 Jun 2010 20:43:53 -0000 1.2
+++ Maestro.pm 26 Jun 2010 20:46:18 -0000 1.3
@@ -46,7 +46,11 @@
my $conf = new FS::Conf;
my %outbound_pkgs = map { $_=>1 } $conf->config('mc-outbound_packages');
my $outbound_service =
- scalar( grep $outbound_pkgs{ $_->pkgpart }, @cust_pkg )
+ scalar( grep { $outbound_pkgs{ $_->pkgpart }
+ && !$_->get('cancel')
+ }
+ @cust_pkg
+ )
? 1 : 0;
###
More information about the freeside-commits
mailing list