From 90263eab067c4a68d2ba58e8cdcaf0790ed13f80 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 28 Oct 2025 14:20:40 +0000 Subject: [PATCH] =?UTF-8?q?Added=20note=20for=20=E2=80=94with-option=20fla?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/SendUpcomingAuditReport.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/SendUpcomingAuditReport.php b/app/Console/Commands/SendUpcomingAuditReport.php index 657cf095b4..5112acb482 100644 --- a/app/Console/Commands/SendUpcomingAuditReport.php +++ b/app/Console/Commands/SendUpcomingAuditReport.php @@ -49,8 +49,10 @@ class SendUpcomingAuditReport extends Command $assets_query = Asset::whereNull('deleted_at')->dueOrOverdueForAudit($settings)->orderBy('assets.next_audit_date', 'asc')->with('supplier'); $asset_count = $assets_query->count(); - $this->info(number_format($asset_count) . ' assets must be audited in on or before ' . $interval_date); - + $this->info(number_format($asset_count) . ' assets must be audited on or before ' . $interval_date); + if (!$this->option('with-output')) { + $this->info('Run this command with the --with-output option to see the full list in the console.'); + } if ($asset_count > 0) {