@php $addTaskPermission = user()->permission('add_tasks'); $addStatusPermission = user()->permission('add_status'); $changeStatusPermission = user()->permission('change_status'); @endphp @foreach ($result['boardColumns'] as $key => $column) @if ($column->userSetting && $column->userSetting->collapsed)

{{ $column->slug == 'completed' || $column->slug == 'incomplete' ? __('app.' . $column->slug) : mb_ucwords($column->column_name) }}

{{ $column->tasks_count }}
@else

{{ mb_ucwords($column->column_name) }}

{{ $column->tasks_count }} @if ($addTaskPermission == 'all' || $addTaskPermission == 'added' || $addStatusPermission == 'all') @endif

@if ($addTaskPermission == 'all' || $addTaskPermission == 'added') @if (isset($project)) @lang('app.add') @lang('app.task') @else @lang('app.add') @lang('app.task') @endif @else

- @lang('messages.noRecordFound') -
@endif

@foreach ($column['tasks'] as $task) @endforeach
@if ($column->tasks_count > count($column['tasks'])) @endif
@endif @endforeach