@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
@if($hasGeneralProjects && $hasCounterProjects)
@elseif($hasGeneralProjects)
@elseif($hasCounterProjects)
@endif