@endif
@if ($viewUnassignedTasksPermission == 'all' && $unAssignedTask > 0)
@php
$has = ($unAssignedTask == 1) ? 'has' : 'have';
$taskName = ($unAssignedTask == 1) ? 'task' : 'tasks';
@endphp
@if (($addTaskPermission == 'all' || $addTaskPermission == 'added' || $project->project_admin == user()->id) && !$projectArchived)
@lang('app.addTask')
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}