{{ __('Employee System Dashboard') }}

@if ($showReminder)
{{ __('Reminder') }}

{{ __("Don't forget to put a new schedule for the employees.") }}

{{ __('Set Schedule') }}
@endif @if ($pendingLeaveRequests->count() > 0 || $pendingVacationRequests->count() > 0)
{{ __('Pending Requests') }}
@if ($pendingLeaveRequests->count() > 0)

{{ __('There are') }} {{ $pendingLeaveRequests->count() }} {{ __('leave requests pending approval.') }}

{{ __('View Leave Requests') }} @endif @if ($pendingVacationRequests->count() > 0)

{{ __('There are') }} {{ $pendingVacationRequests->count() }} {{ __('vacation requests pending approval.') }}

{{ __('View Vacation Requests') }} @endif
@endif

{{ __('Employees List Active') }}

@foreach ($activeUsers as $activeUser) @endforeach
{{ __('ID') }} {{ __('Name') }} {{ __('Company') }} {{ __('Position') }} {{ __('Expire Contract') }}
{{ $activeUser->id }} {{ $activeUser->name }} {{ optional(optional($activeUser->employeeData->first())->company)->name ?? __(__('N/A')) }} {{ __(optional($activeUser->employeeData->first())->position ?? __('N/A')) }} {{ __($activeUser->expire_contract) ?? __(__('N/A')) }}

{{ __('Attendance List') }}

@foreach ($users as $user) @endforeach
{{ __('ID') }} {{ __('Name') }} {{ __('Company') }} {{ __('Position') }} {{ __('Check In') }}
{{ $user->id }} {{ $user->name }} {{ optional($user->employeeData->first()->company)->name ?? __('N/A') }} {{ optional($user->employeeData->first())->position ?? __('N/A') }} @if ($user->attendances->first()->check_in) {{ \Carbon\Carbon::parse($user->attendances->first()->check_in)->format('Y-m-d') }}
{{ \Carbon\Carbon::parse($user->attendances->first()->check_in)->format('H:i') }} @else {{ __(' N/A') }} @endif

{{ __('Announcements') }}

{{ __('Office will be closed on Friday') }}

{{ __('Please note that the office will be closed on Friday for maintenance.') }}

{{ __('New Policy Update') }}

{{ __('We have updated our company policy. Please review the changes.') }}

{{ __('Quick Actions') }}

{{-- --}} {{-- --}}

{{ __('Performance Summary') }}

{{ __('Active Employees') }}

{{ $activeEmployeeCount }}

{{ __('Employees Scheduled for Today') }}

{{ $scheduledEmployeeCount }}

{{ __('Attendance Rate') }}

{{ $attendancePercentage }} %