Fixed Expiring Assets Email (#6321)

This commit is contained in:
Wes Hulette 2018-10-11 17:03:00 -04:00 committed by snipe
parent 41b5b1dfd0
commit b8a37a0c73

View file

@ -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