Remove duplicate settings call

This commit is contained in:
Marcus Moore 2024-05-06 17:08:16 -07:00
parent 6f639f7bf0
commit 7e9c8ba290
No known key found for this signature in database

View file

@ -48,7 +48,6 @@ class SendUpcomingAuditReport extends Command
$today = Carbon::now();
$interval_date = $today->copy()->addDays($interval);
$settings = Setting::getSettings();
$assets = Asset::whereNull('deleted_at')->DueOrOverdueForAudit($settings)->orderBy('assets.next_audit_date', 'desc')->get();
$this->info($assets->count().' assets must be audited in on or before '.$interval_date.' is deadline');