contracts table fixed

This commit is contained in:
Thekindbull 2025-07-25 18:22:21 +08:00
parent 2a8fa63369
commit 225d719768

View File

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