mirror of
https://github.com/itflow-org/itflow
synced 2026-03-21 04:55:39 +00:00
Invoice: Do not apply late fee on first overdue reminder (day 1)
This commit is contained in:
@@ -524,7 +524,7 @@ if ($config_send_invoice_reminders == 1) {
|
|||||||
|
|
||||||
// Late Charges
|
// Late Charges
|
||||||
|
|
||||||
if ($config_invoice_late_fee_enable == 1) {
|
if ($config_invoice_late_fee_enable == 1 && $day > 1) {
|
||||||
|
|
||||||
$todays_date = date('Y-m-d');
|
$todays_date = date('Y-m-d');
|
||||||
$late_fee_amount = ($invoice_amount * $config_invoice_late_fee_percent) / 100;
|
$late_fee_amount = ($invoice_amount * $config_invoice_late_fee_percent) / 100;
|
||||||
|
|||||||
Reference in New Issue
Block a user