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