@php $addTaskPermission = ($project->project_admin == user()->id) ? 'all' : user()->permission('add_tasks'); $viewUnassignedTasksPermission = ($project->project_admin == user()->id) ? 'all' : user()->permission('view_unassigned_tasks'); @endphp
@if (($addTaskPermission == 'all' || $addTaskPermission == 'added' || $project->project_admin == user()->id) && !$project->trashed()) @lang('app.add') @lang('app.task') @endif
@lang('app.clearFilters')
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@include('sections.datatable_js')