672367 lte gte fxx3
This commit is contained in:
parent
f67f8958db
commit
a7e2c8a049
|
|
@ -119,6 +119,8 @@ public function getCanExtendLegalNumberAttribute()
|
||||||
return $application->state == 'approved' && $this->expires_at->gte(Carbon::now()->subMonths($month));
|
return $application->state == 'approved' && $this->expires_at->gte(Carbon::now()->subMonths($month));
|
||||||
}
|
}
|
||||||
Log::info($this->expires_at->gte(Carbon::now()->subMonths($month)));
|
Log::info($this->expires_at->gte(Carbon::now()->subMonths($month)));
|
||||||
|
Log::info($this->expires_at);
|
||||||
|
Log::info(Carbon::now()->subMonths($month));
|
||||||
return !empty($this->legalization_number) && !empty( $this->expires_at) && $this->expires_at->gte(Carbon::now()->subMonths($month));
|
return !empty($this->legalization_number) && !empty( $this->expires_at) && $this->expires_at->gte(Carbon::now()->subMonths($month));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue