{{-- Title Row with Date Range --}} {{-- Report Created Date Row --}} {{-- Main Table Headers --}} @foreach($data as $index => $item) @php $totalRows = 0; foreach($item['categories'] as $catName => $courses) { $totalRows += 1 + count($courses); } $firstRow = true; @endphp @foreach($item['categories'] as $catName => $courses) {{-- Category Header Row --}} @if($firstRow) @endif @if($firstRow) @php $firstRow = false; @endphp @endif {{-- Course Rows --}} @foreach($courses as $c) @endforeach @endforeach @endforeach
GENDER WISE REPORT ( {{ $date_duration }} )
Report Created Date: {{ now()->format('d-m-Y') }}
S.No Name of the institution Year Name of the course No of students enrolled
Course Fees Student Female Male
{{ $index + 1 }} {{ $item['name'] }} {{ $item['year'] }} {{ $catName }} {{ $item['no_of_student_enrolled'] }}
{{ $c['course'] }} {{ $c['fees'] }} {{ $c['student'] }} {{ $c['female'] }} {{ $c['male'] }}