@extends('layouts.layoutMaster') @section('title', __('Employee Attendance History')) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/flatpickr/flatpickr.scss', 'resources/assets/vendor/libs/apex-charts/apex-charts.scss', ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/apex-charts/apexcharts.js', 'resources/assets/vendor/libs/moment/moment.js', ]) @endsection @section('page-script') @vite([ 'resources/assets/js/app/hrcore-attendance-employee-history.js', ]) @endsection @section('content')
{{-- Breadcrumb --}} {{-- Employee Header Card --}}
@if($employee->profile_photo_path) {{ $employee->getFullName() }} @else
{{ $employee->getInitials() }}
@endif

{{ $employee->getFullName() }}

{{ __('Employee ID') }}: {{ $employee->code }}
{{ __('Department') }}: {{ $employee->designation?->department?->name ?? __('N/A') }}
{{ __('Designation') }}: {{ $employee->designation?->name ?? __('N/A') }}
{{ __('Shift') }}: {{ $employee->shift?->name ?? __('N/A') }}
{{-- Date Range Filter --}}
{{-- Loading Indicator --}}
{{ __('Loading...') }}

{{ __('Loading attendance data...') }}

{{-- Main Content (Hidden until data loads) --}}
{{-- Summary Statistics Cards --}}

0

{{ __('Present Days') }}

0

{{ __('Absent Days') }}

0

{{ __('Late Days') }}

0

{{ __('Avg Hours') }}

0

{{ __('Overtime') }}

0%

{{ __('Attendance') }}
{{-- Calendar View --}}
{{ __('Calendar View') }}
{{ __('Legend') }}:
{{ __('Present') }} {{ __('Late') }} {{ __('Absent') }} {{ __('Half Day') }} {{ __('Weekend') }}
{{-- Charts --}}
{{ __('Working Hours Trend') }}
{{-- Daily Records Timeline --}}
{{ __('Daily Attendance Records') }}

{{ __('No attendance records found for the selected date range.') }}

{{-- Page Data for JavaScript --}} @endsection