Invoice: Do not apply late fee on first overdue reminder (day 1)

This commit is contained in:
johnnyq
2026-03-20 17:44:33 -04:00
parent 43dbc69358
commit 6d1b654d0c

View File

@@ -524,7 +524,7 @@ if ($config_send_invoice_reminders == 1) {
// Late Charges
if ($config_invoice_late_fee_enable == 1) {
if ($config_invoice_late_fee_enable == 1 && $day > 1) {
$todays_date = date('Y-m-d');
$late_fee_amount = ($invoice_amount * $config_invoice_late_fee_percent) / 100;