@php $addProjectMemberPermission = user()->permission('add_project_members'); $viewProjectMemberPermission = user()->permission('view_project_members'); $editProjectMemberPermission = user()->permission('edit_project_members'); $deleteProjectMemberPermission = user()->permission('delete_project_members'); $viewProjectHourlyRatePermission = user()->permission('view_project_hourly_rates'); @endphp @if ($viewProjectMemberPermission == 'all')
@lang('app.name') @lang('modules.tasks.assigned') @lang('app.completed') @lang('modules.attendance.late') @lang('modules.dashboard.totalHoursLogged') @forelse($project->members as $key=>$member) {{ $taskCounts[$member->user_id] ?? 0 }} {{ $completedTaskCounts[$member->user_id] ?? 0 }} {{ $lateTaskCounts[$member->user_id] ?? 0 }} {{ $totalHours[$member->user_id] ?? 0 }} @empty @endforelse
@endif