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 --}}
|
FINANCIAL YEAR WISE REPORT ( {{ $date_duration }} )
|
{{-- Main Table Headers --}}
| S.No |
Name of the institution |
Year |
Name of the course |
No of students enrolled |
| Course |
Paid Date |
Fees |
Student |
Total Amount |
Pass |
Abs |
RA |
@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['paid_date'] }} |
{{ $c['fees'] }} |
{{ $c['student'] }} |
{{ $c['total_amount'] }} |
{{ $c['pass'] }} |
{{ $c['abs'] }} |
{{ $c['ra'] }} |
@endforeach
@endforeach
@endforeach
|
Overall Summary:
|
Total Amount: Rs. {{ number_format($total_amount_sum, 2) }}
|
{{ $total_students_sum }}
|