something not works in broker apps

This commit is contained in:
ilmedova 2023-03-28 19:58:55 +05:00
parent 72c10ddb0c
commit bdd3b1b783
1 changed files with 1 additions and 1 deletions

View File

@ -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(){