@php $addLeadPermission = user()->permission('add_deal'); $manageStatusPermission = user()->permission('manage_deal_stages'); $changeStatusPermission = user()->permission('change_deal_stages'); @endphp @foreach ($result['boardColumns'] as $key => $column) @if ($column->userSetting && $column->userSetting->collapsed)
@else{{ $column->name }}
{{ $column->deals_count }} @if ($addLeadPermission != 'none' || $manageStatusPermission == 'all')