contracts table fixed
This commit is contained in:
parent
2a8fa63369
commit
225d719768
@ -33,7 +33,8 @@ function getSelectingAgents()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return [auth()->id()];
|
$agent = Agent::where('user_id', auth()->id())->first();
|
||||||
|
return [$agent->id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public function render()
|
public function render()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user