From: ivan Date: Sat, 1 Mar 2003 03:15:01 +0000 (+0000) Subject: change next bill date comparison from < to <= X-Git-Tag: freeside_1_5_0pre1~44 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=47acc8a99bd1fcdba4fce00e1838926046cd2f81 change next bill date comparison from < to <= --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 807fadbcc..6331fda6d 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -979,7 +979,7 @@ sub bill { my $sdate; if ( $part_pkg->getfield('freq') > 0 && ! $cust_pkg->getfield('susp') && - ( $cust_pkg->getfield('bill') || 0 ) < $time + ( $cust_pkg->getfield('bill') || 0 ) <= $time ) { my $recur_prog = $part_pkg->getfield('recur'); $recur_prog =~ /^(.*)$/ or do {