A free open source IT asset/license management system
Fixed Expiring Assets Email (#6321)
Wes Huletteb8a37a0c73a9
diff --git a/app/Console/Commands/SendExpirationAlerts.php b/app/Console/Commands/SendExpirationAlerts.phpindex 03ffc0cd41..29809a35b3 100644--- a/app/Console/Commands/SendExpirationAlerts.php+++ b/app/Console/Commands/SendExpirationAlerts.php@@ -62,6 +62,7 @@ class SendExpirationAlerts extends Commandif ($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