Clearer message on no inventory to report

This commit is contained in:
snipe
2025-11-11 11:52:05 +00:00
parent bf8ff51234
commit ddd2a96ac5
+3 -1
View File
@@ -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 == '') {