@php $user = !empty($user->project_id) ? $user->user : $user; @endphp