@if(auth()->check()) @php if(Auth::user()->id !== $userinfo->id){ $isUser = true; } else { $isUser = false; } @endphp @if($isUser or auth()->user()->role == 'admin')
@endif @endif