Institute for Entrepreneurship and Career Development (IECD)
Bharathidasan University, Khajamalai Campus, Tiruchirappalli - 23
Report Created Date: {{ now()->format('d-m-Y') }}
{{-- Title Row with Date Range --}}
|
GENDER WISE REPORT ( {{ $date_duration }} )
|
{{-- Main Table Headers --}}
| S.No |
Name of the institution |
Year |
Name of the course |
No of students enrolled |
| Course |
Fees |
Student |
Female |
Male |
@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)
| {{ $index + 1 }} |
{{ $item['name'] }} |
{{ $item['year'] }} |
@endif
{{ $catName }}
|
@if($firstRow)
{{ $item['no_of_student_enrolled'] }}
|
@php $firstRow = false; @endphp
@endif
{{-- Course Rows --}}
@foreach($courses as $c)
| {{ $c['course'] }} |
{{ $c['fees'] }} |
{{ $c['student'] }} |
{{ $c['female'] }} |
{{ $c['male'] }} |
@endforeach
@endforeach
@endforeach