mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Fixed Expiring Assets Email (#6321)
This commit is contained in:
parent
41b5b1dfd0
commit
b8a37a0c73
|
@ -62,6 +62,7 @@ class SendExpirationAlerts extends Command
|
||||||
if ($assets->count() > 0) {
|
if ($assets->count() > 0) {
|
||||||
$this->info(trans_choice('mail.assets_warrantee_alert', $assets->count(),
|
$this->info(trans_choice('mail.assets_warrantee_alert', $assets->count(),
|
||||||
['count' => $assets->count(), 'threshold' => $threshold]));
|
['count' => $assets->count(), 'threshold' => $threshold]));
|
||||||
|
\Notification::send($recipients, new ExpiringAssetsNotification($assets, $threshold));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expiring licenses
|
// Expiring licenses
|
||||||
|
|
Loading…
Reference in a new issue