@foreach ($topics as $topic) @endforeach @foreach ($data as $item) @foreach ($item['mentees'] as $mentee) @foreach ($topics as $topic) @php $found = false; @endphp @foreach ($mentee['topics'] as $mtopic) @if ($mtopic['title'] == $topic['title']) @php $found = true; break; // No necesitamos continuar buscando si encontramos una coincidencia @endphp @endif @endforeach @if (!$found) @endif @endforeach @endforeach @endforeach
{{ strtoupper($cycle->program->title) }} - {{ $cycle->date }} - FULL STATUS
{{ __('MENTOR') }} {{ __('MENTEE') }} {{ mb_strtoupper($topic->title, 'UTF-8') }} {{ __('TOTAL') }} {{ __('TOTAL STATUS') }}
{{ $item['name'] }}
{{ $mentee['name'] }} {{ $mtopic['status'] }} N/A {{ count($mentee['topics']) }} {{ $mentee['status'] }}