Records
@php
$yearRange = session('year_range'); // Example: "2023-2024"
$currentDate = now();
[$startYear, $endYear] = explode('-', $yearRange);
$startDate = \Carbon\Carbon::create($startYear, 4, 1, 0, 0, 0); // April 1st
$endDate = \Carbon\Carbon::create($endYear, 3, 31, 23, 59, 59); // March 31st
@endphp
PassOut Student List
| S.No |
First Name |
Last Name |
Class Name |
Joining Date |
PassOut Date |
Re-joining Date |
Action |
@if (isset($students) && count($students) > 0)
@foreach ($students as $key => $student)
| {{ $key + 1 }} |
{{ $student->first_name ?? 'N/A' }} |
{{ $student->last_name ?? 'N/A' }} |
{{ $student->last_class_name ?? 'N/A' }} |
{{ $student->joining_date ?? 'N/A' }} |
{{ $student->passout_date ?? 'N/A' }} |
{{ $student->rejoining_date ?? 'N/A' }} |
|
@endforeach
@else
| No Records Found |
@endif
@endsection