mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Send inventory notifications as a dispatched job
This commit is contained in:
parent
3e61408ba5
commit
c52a3dd871
@ -154,7 +154,7 @@ class AdjustProductInventory implements ShouldQueue
|
||||
// {
|
||||
|
||||
// $nmo->to_user = $cu->user;
|
||||
// (new NinjaMailerJob($nmo))->handle();
|
||||
// NinjaMailerJob::dispatch($nmo);
|
||||
|
||||
// }
|
||||
|
||||
@ -162,7 +162,7 @@ class AdjustProductInventory implements ShouldQueue
|
||||
|
||||
$nmo->to_user = $this->company->owner();
|
||||
|
||||
(new NinjaMailerJob($nmo))->handle();
|
||||
NinjaMailerJob::dispatch($nmo);
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user