something not works in broker apps
This commit is contained in:
parent
72c10ddb0c
commit
bdd3b1b783
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue