From a7e2c8a049843dbc0b817baa4b86ea48447340d3 Mon Sep 17 00:00:00 2001 From: merdan Date: Wed, 7 Dec 2022 14:41:23 +0500 Subject: [PATCH] 672367 lte gte fxx3 --- app/Models/Account.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Account.php b/app/Models/Account.php index 981ba948..508157a6 100755 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -119,6 +119,8 @@ public function getCanExtendLegalNumberAttribute() 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); + Log::info(Carbon::now()->subMonths($month)); return !empty($this->legalization_number) && !empty( $this->expires_at) && $this->expires_at->gte(Carbon::now()->subMonths($month)); }