Attendance
{{-- bx bx-user-circle --}}

Employee
{{-- bx bx-check-shield --}}

Present
{{-- bx bx-check-shield --}}

Data not found
{{-- bx bx-time --}}

Late Comers
@php $fiscalYearStartMonth = 7; // July $currentDate = new \DateTime(); $currentMonth = $currentDate->format('n'); $currentYear = $currentDate->format('Y'); if ($currentMonth >= $fiscalYearStartMonth) { $startYear = $currentYear; $endYear = $currentYear + 1; } else { $startYear = $currentYear - 1; $endYear = $currentYear; } // Correctly concatenate the start and end years $fiscalYear = "$startYear-$endYear"; $currentDay = $currentDate->format('d'); // Day of the month with leading zero (e.g., "14") $currentMonth = $currentDate->format('m'); // Full month name (e.g., "August") $currentYear = $currentDate->format('Y'); // Full year (e.g., "2024") $formattedDate = "{$currentDay}/{$currentMonth}/{$currentYear}"; $weekStart = clone $currentDate; $weekStart->modify('-6 days'); // The end date is today $weekEnd = $currentDate; // Format the dates $formattedWeekStart = $weekStart->format('d/m/Y'); // e.g., "08/08/2024" $formattedWeekEnd = $weekEnd->format('d/m/Y'); // e.g., "14/08/2024" $weekRange = "{$formattedWeekStart}~{$formattedWeekEnd}"; @endphp

Today's Attendance - {{ $formattedDate }}

SL Code Name Department Designation In Out Status

Today's Attendance Summary - {{ $formattedDate }}

Department Present Absent
Officer Staff Officer Staff

Weekly Attendance ({{ $weekRange }})

Date Present Absent
Head Of Department Other Officers Staff Head Of Department Other Officers Staff
{{--
--}} {{--
--}} {{-- {{$emp_data['statistics']['attendance']['label']}}--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['attendance']['total'])) {{$emp_data['statistics']['attendance']['total']}} @else 0 @endif
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['attendance']['officer'])) {{$emp_data['statistics']['attendance']['officer']}} @else 0 @endif
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['attendance']['staff'])) {{$emp_data['statistics']['attendance']['staff']}} @else 0 @endif
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{$emp_data['statistics']['absent']['label']}}--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['absent']['total'])) {{$emp_data['statistics']['absent']['total']}} @else 0 @endif
--}} {{-- Total--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['absent']['officer'])) {{$emp_data['statistics']['absent']['officer']}} @else 0 @endif
--}} {{-- Officer--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
@if(isset($emp_data['statistics']['absent']['staff'])) {{$emp_data['statistics']['absent']['staff']}} @else 0 @endif
--}} {{-- Staff--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}}