mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove 7 day padding for expected assets
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
66c24e152f
commit
adba2d5b6c
|
@ -43,7 +43,7 @@ class SendExpectedCheckinAlerts extends Command
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$settings = Setting::getSettings();
|
$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();
|
$assets = Asset::with('assignedTo')->whereNotNull('assigned_to')->whereNotNull('expected_checkin')->where('expected_checkin', '<=', $whenNotify)->get();
|
||||||
|
|
||||||
$this->info($whenNotify.' is deadline');
|
$this->info($whenNotify.' is deadline');
|
||||||
|
|
Loading…
Reference in a new issue