summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-03-01 03:15:01 +0000
committerivan <ivan>2003-03-01 03:15:01 +0000
commit47acc8a99bd1fcdba4fce00e1838926046cd2f81 (patch)
tree9fcd9b973debb11a25c842d7c906b4fbcd15672c /FS
parent7a168617da5f6702422c098d714a11586d7655e9 (diff)
change next bill date comparison from < to <=
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
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 {