From b8a37a0c73a99868069d927b00ddabb7125ac7d3 Mon Sep 17 00:00:00 2001 From: Wes Hulette Date: Thu, 11 Oct 2018 17:03:00 -0400 Subject: [PATCH] Fixed Expiring Assets Email (#6321) --- app/Console/Commands/SendExpirationAlerts.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/Commands/SendExpirationAlerts.php b/app/Console/Commands/SendExpirationAlerts.php index 03ffc0cd41..29809a35b3 100644 --- a/app/Console/Commands/SendExpirationAlerts.php +++ b/app/Console/Commands/SendExpirationAlerts.php @@ -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