@php $currentDateTime = \Carbon\Carbon::now()->format('Y-m-d H:i:s'); @endphp Docentes por por ciclo
{{ config_intranet('full_name') }}
REPORTE DE DOCENTES POR CICLO
Fecha de descarga: {{ $currentDateTime }}
Ciclos: {{ $cycles->pluck('name')->join(', ') }}
@foreach ($cycles->pluck('name') as $cycle_name) @endforeach @foreach ($data as $teacher) @foreach ($cycles->pluck('name') as $cycle_name) @endforeach @endforeach @foreach ($totals_hours_per_cycle as $totalHour) @endforeach
N° empleado Docente{{ $cycle_name }}Horas asignadas totales
{{ $teacher->no_employe }} {{ $teacher->teacher_name }} {{ $teacher?->cycles?->firstWhere('name', $cycle_name)['hours'] ?? '-' }} {{ number_format($teacher->schedules_total, 1) }}
TOTAL{{ $totalHour ?? '-' }} {{ $total_schedules_total }}
{{-- @dd($data[13]) --}}