Skip to content

Commit 90263ea

Browse files
committed
Added note for —with-option flag
1 parent 9d8f251 commit 90263ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/Console/Commands/SendUpcomingAuditReport.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ public function handle()
4949

5050
$assets_query = Asset::whereNull('deleted_at')->dueOrOverdueForAudit($settings)->orderBy('assets.next_audit_date', 'asc')->with('supplier');
5151
$asset_count = $assets_query->count();
52-
$this->info(number_format($asset_count) . ' assets must be audited in on or before ' . $interval_date);
53-
52+
$this->info(number_format($asset_count) . ' assets must be audited on or before ' . $interval_date);
53+
if (!$this->option('with-output')) {
54+
$this->info('Run this command with the --with-output option to see the full list in the console.');
55+
}
5456

5557

5658
if ($asset_count > 0) {

0 commit comments

Comments
 (0)