From: ivan Date: Sat, 1 Mar 2003 03:14:13 +0000 (+0000) Subject: change next bill date comparison from < to <= X-Git-Tag: freeside_1_4_1beta7~3 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9393572515459abd1e357e2a8818d16834c23b82;p=freeside.git change next bill date comparison from < to <= --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 7045f96d2..f8578f901 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -973,7 +973,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 {