mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
dispatchNow inside email entity
This commit is contained in:
parent
70b4529076
commit
1d58a87a24
@ -119,7 +119,7 @@ class EmailEntity implements ShouldQueue
|
|||||||
$nmo->reminder_template = $this->reminder_template;
|
$nmo->reminder_template = $this->reminder_template;
|
||||||
$nmo->entity = $this->entity;
|
$nmo->entity = $this->entity;
|
||||||
|
|
||||||
NinjaMailerJob::dispatch($nmo);
|
NinjaMailerJob::dispatchNow($nmo);
|
||||||
|
|
||||||
/* Mark entity sent */
|
/* Mark entity sent */
|
||||||
$this->entity->service()->markSent()->save();
|
$this->entity->service()->markSent()->save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user