@csrf
@php $hou_perms = $headOfficeUser->get_permissions(); @endphp
Task Access Permissions
@if($hou_perms->super_access == false) @endif
task_access_type && in_array('all_tasks', $hou_perms->task_access_type)) checked @endif @if($hou_perms->super_access == true) disabled checked @endif>
task_access_type && in_array('own_tasks', $hou_perms->task_access_type)) checked @elseif(isset($hou_perms) && (empty($hou_perms->task_access_type) || $hou_perms->task_access_type === null) && !$hou_perms->super_access) checked @endif @if($hou_perms->super_access == true) disabled @endif>
task_access_type && in_array('certain_users_tasks', $hou_perms->task_access_type)) checked @endif @if($hou_perms->super_access == true) disabled @endif>
task_access_type && in_array('sites_tasks', $hou_perms->task_access_type)) checked @endif @if($hou_perms->super_access == true) disabled @endif>
{{-- --}}