diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index a1538f5ae8..dd477149b0 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -1043,7 +1043,7 @@ class Invoice extends EntityModel implements BalanceAffecting $dueDay = $lastDayOfMonth; } - if ($currentDay > $dueDay) { + if ($currentDay >= $dueDay) { // Wait until next month // We don't need to handle the December->January wraparaound, since PHP handles month 13 as January of next year $dueMonth++;