@foreach($company_users as $company_user) @if($company_user->userFreelancer)
#
@if($company_user->email == Auth::user()->email) {{Auth::user()->username}} {{--{{Auth::user()->username}}--}} @else {{$company_user->users->username}} @endif {{$company_user->users->name}} {{$company_user->users->email}} @foreach($freelancers as $freelancer) @if($company_user->user_id == $freelancer->user_id) @livewire('toggle-status' , ['freelancer' => $freelancer], key($freelancer->user_id)) @endif @endforeach @endif @endforeach