From b95cdfdd400e7cbe056951d2a81b366a081b0d3c Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 28 Apr 2009 04:36:32 +0000 Subject: [PATCH] add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412 --- FS/FS/cust_main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 4976a6d6b..2f28df3e2 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1945,7 +1945,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 ) { -- 2.11.0