Records / Today's Teacher Attendance
Add rectification in today's attendance if required
Teachers List
Date: {{ date('d-m-Y') }}
@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
| S.No |
Name |
Email |
Phone No. |
Class |
Status |
@if ($currentDate->between($startDate, $endDate))
Actions |
@endif
@if (count($users) != 0)
@foreach ($users as $key => $user)
| {{ $key + 1 }} |
{{ ucwords($user->first_name) . ' ' . ucwords($user->last_name) }} |
{{ ucwords($user->email) }} |
{{ $user->phone }} |