From bdd3b1b78380caeff69e33b912512f201fa426e6 Mon Sep 17 00:00:00 2001 From: ilmedova Date: Tue, 28 Mar 2023 19:58:55 +0500 Subject: [PATCH] something not works in broker apps --- app/Models/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index 22935269..a8d4ea48 100755 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -153,7 +153,7 @@ public function getCanExtendBrokerAttribute() return $broker_application->state == 'approved' && $this->broker_expires_at->lte(Carbon::now()->subMonths($month)); } - return !empty($this->broker_number) && !empty( $this->broker_expires_at) && $this->broker_expires_at->gte(Carbon::now()->subMonths($month)); + return !empty($this->broker_number) && !empty($this->broker_expires_at) && $this->broker_expires_at->gte(Carbon::now()->subMonths($month)); } public function getApplicationBrokerStatusAttribute(){