mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 15:24:36 -04:00
Adjustments for send reminder logic
This commit is contained in:
parent
0feba07ae5
commit
4b0193c1d3
@ -109,7 +109,9 @@ class SendReminders extends Command
|
|||||||
|
|
||||||
/** @var Invoice $invoice */
|
/** @var Invoice $invoice */
|
||||||
foreach ($delayedAutoBillInvoices as $invoice) {
|
foreach ($delayedAutoBillInvoices as $invoice) {
|
||||||
if ($invoice->isPaid() || $invoice->account->is_deleted) {
|
//21-03-2023 adjustment here
|
||||||
|
if ($invoice->isPaid() || !$invoice->account || $invoice->account->is_deleted) {
|
||||||
|
// if ($invoice->isPaid() || $invoice->account->is_deleted) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user