@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->column_name }}
{{ $column->tasks_count }} @if ($addTaskPermission == 'all' || $addTaskPermission == 'added' || $addStatusPermission == 'all')@if ($addTaskPermission == 'all' || $addTaskPermission == 'added') @if (isset($project)) @lang('app.add') @lang('app.task') @else @lang('app.add') @lang('app.task') @endif @else