@php $addLeadPermission = user()->permission('add_lead'); $manageStatusPermission = user()->permission('manage_lead_status'); $changeStatusPermission = user()->permission('change_lead_status'); @endphp @foreach ($result['boardColumns'] as $key => $column) @if ($column->userSetting && $column->userSetting->collapsed)
@else{{ $column->type }}
{{ $column->leads_count }} @if ($addLeadPermission != 'none' || $manageStatusPermission == 'all')