fixed delay time on dispatching late invoices job
This commit is contained in:
@@ -93,6 +93,8 @@ class UpdateMiningTaxesLateInvoices15th implements ShouldQueue
|
||||
|
||||
//Send a reminder to the user through eve mail about the late invoice
|
||||
SendEveMail::dispatch($body, $recipient, $recipientType, $subject, $sender)->delay(Carbon::now()->addSeconds($mailDelay));
|
||||
|
||||
$mailDelay += 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,6 +93,8 @@ class UpdateMiningTaxesLateInvoices1st implements ShouldQueue
|
||||
|
||||
//Send a reminder to the user through eve mail about the late invoice
|
||||
SendEveMail::dispatch($body, $recipient, $recipientType, $subject, $sender)->delay(Carbon::now()->addSeconds($mailDelay));
|
||||
|
||||
$mailDelay += 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user