@include('user-web.layouts.sidebar')

{{__('msg.friends')}}

Friends Suggestions

@foreach($users as $user) @php if($user->userName == $loggedIn->userName){ continue; } if (in_array($user->userName, $friendNames)) { continue; } @endphp @endforeach

Business Suggestions

    @foreach($businesses as $business) @php if($business->businessName == $loggedIn->userName){ continue; } if (in_array($business->businessName, $friendNames)) { continue; } @endphp
  • @endforeach