@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