From: ivan Date: Tue, 28 Apr 2009 04:36:31 +0000 (+0000) Subject: add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412 X-Git-Tag: root_of_svc_elec_features~1232 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=51fbac65c94702756e052712de02fc4cbce183fc add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412 --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 92cf92485..51a190248 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2235,7 +2235,7 @@ sub bill_and_collect { $self->apply_payments_and_credits; - unless ( $conf->config('cancelled_cust-noevents') + unless ( $conf->exists('cancelled_cust-noevents') && ! $self->num_ncancelled_pkgs ) {