mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -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) {
|
||||
$this->info(trans_choice('mail.assets_warrantee_alert', $assets->count(),
|
||||
['count' => $assets->count(), 'threshold' => $threshold]));
|
||||
\Notification::send($recipients, new ExpiringAssetsNotification($assets, $threshold));
|
||||
}
|
||||
|
||||
// Expiring licenses
|
||||
|
|
Loading…
Reference in a new issue