Remove 7 day padding for expected assets

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-01-15 16:11:31 +00:00
parent 66c24e152f
commit adba2d5b6c

View file

@ -43,7 +43,7 @@ class SendExpectedCheckinAlerts extends Command
public function handle()
{
$settings = Setting::getSettings();
$whenNotify = Carbon::now()->addDays(7);
$whenNotify = Carbon::now();
$assets = Asset::with('assignedTo')->whereNotNull('assigned_to')->whereNotNull('expected_checkin')->where('expected_checkin', '<=', $whenNotify)->get();
$this->info($whenNotify.' is deadline');