@foreach ($result['boardColumns'] as $key => $column) @if ($column->userSetting && $column->userSetting->collapsed)

{{ ucwords($column->type) }}

{{ $column->leads_count }}
@else

{{ ucwords($column->type) }}

{{ $column->leads_count }}
@forelse ($column['leads'] as $lead) @empty @if ($column->leads_count == 0) @endif @endforelse
@if ($column->leads_count > count($column['leads'])) @endif
@endif @endforeach