@foreach ($candidateStatuses as $status)
{{-- @dd($status); --}} {{-- @dd($candidates[0]->status_id, $status->id); --}}
{{ $status->name }}
{{ $candidates->where('status_id', $status->id)->count() }}/{{ $candidates->count() }}
@foreach ($candidates->where('status_id', $status->id) as $candidate)
{{ $candidate->position }}
{{ $candidate->email }}
@if ($candidate->phone)
{{ $candidate->phone }}
@endif
Source: {{ $candidate->source }}
@if ($showSettings) @endif
{{ format_date($candidate->created_at) }}
@endforeach @if ($canCreateCandidates) {{ get_label('create_candidate', 'Create candidate') }} @endif
@endforeach