I have to two eloquent returned arrays :
$services = \App\Service::all();
$userService = \App\UserService::where('user_id', Auth::user()->id)->get();
What i tried is that :
@foreach($services as $service){
@foreach($userServices as $userService){
@if($userService->service_id != $service->id)
<option value="{{ $service->id }}">{{ $service->name }}</option>
@endif
@endforeach
@endforeach
But its repeating the options, And creating mess.
What will be a good approach ?