@php $joiningDate = auth()->user()->employeeMaster->date_of_joining ?? null; // Default current month and year $currentYear = now()->year; $currentMonth = now()->month; // If employee joining date exists if ($joiningDate) { $joining = \Carbon\Carbon::parse($joiningDate); $joinMonth = $joining->month; $joinYear = $joining->year; } else { $joinMonth = 1; $joinYear = $currentYear; } // Generate month-year pairs $startMonth = ($joinYear == $currentYear) ? $joinMonth : 1; @endphp @extends('admin.layouts.layouts') @section('title', 'My Attendance') @section('content')
{{-- --}}
No Date Check In Type Check-in Time Check-out Time Total Hours Action
@endsection @section('page-js') @endsection