diff --git a/app/Console/Commands/SendInventoryAlerts.php b/app/Console/Commands/SendInventoryAlerts.php index 2c270ca7b4..f099597d9b 100644 --- a/app/Console/Commands/SendInventoryAlerts.php +++ b/app/Console/Commands/SendInventoryAlerts.php @@ -52,7 +52,9 @@ class SendInventoryAlerts extends Command return new AlertRecipient($item); }); - \Notification::send($recipients, new InventoryAlert($items, $settings->alert_threshold)); + Notification::send($recipients, new InventoryAlert($items, $settings->alert_threshold)); + } else { + $this->info('No low inventory items found. No mail sent.'); } } else { if ($settings->alert_email == '') {