fix: cron sendEmailsRemindersOnInvoiceDueDate if contact exists and mail on thridparty exists there is an error
This commit is contained in:
parent
a3bd4a8cfd
commit
0d830aef89
@ -5552,7 +5552,7 @@ class Facture extends CommonInvoice
|
||||
$to[] = $recipient->email;
|
||||
}
|
||||
if (empty($to)) {
|
||||
$errormesg = "Failed to send remind to thirdparty id=".$tmpinvoice->socid.". No email defined for user.";
|
||||
$errormesg = "Failed to send remind to thirdparty id=".$tmpinvoice->socid.". No email defined for invoice or customer.";
|
||||
$error++;
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user