@php $userId = session()->get('authdata.user_id'); $userModel = new \App\Models\Clients\Users(); $allowUserProjects = $userModel->user_get_allow_projects_ids($userId); $allowUserCounterProjects = $userModel->counter_user_get_allow_projects_ids($userId); $hasGeneralProjects = !empty($allowUserProjects); $hasCounterProjects = !empty($allowUserCounterProjects); @endphp
Links