{{ __('My Profile') }} {{ __('View your personal information and shift details') }}

{{ __('Personal Information') }}

{{ $employee->full_name }}

{{ $employee->email }}

{{ $employee->phone_number ?? '—' }}

#{{ str_pad($employee->id, 5, '0', STR_PAD_LEFT) }}

{{ __('Shift Schedule') }}

@if($employee->shifts && $employee->shifts->count())
@foreach($employee->shifts->sortBy(['day_of_week', 'start_time']) as $shift)
{{ strtoupper($shift->day_of_week) }} @if($shift->name) {{ $shift->name }} @endif
{{ \Carbon\Carbon::parse($shift->start_time)->translatedFormat('h:i A') }} {{ \Carbon\Carbon::parse($shift->end_time)->translatedFormat('h:i A') }}
{{ __('Grace: :minutes min', ['minutes' => $shift->grace_period_minutes]) }} {{ __('Break Allowance: :minutes min', ['minutes' => $shift->break_allowance_minutes]) }} {{ $shift->is_active ? __('Active') : __('Inactive') }}
@endforeach

{{ $workingDays ?: __('Not set') }}

@else

{{ __('No shift schedule configured yet') }}

@endif