{{ $employee->first_name }} {{ $employee->last_name }} {{ __('View shift schedule') }}
@can('update', $employee) {{ __('Edit Schedule') }} @endcan

{{ $monthStats['total_shifts'] }}

{{ __('Shifts This Month') }}

{{ $monthStats['total_hours'] }}{{ __('h') }}

{{ __('Scheduled Hours') }}

{{ $monthStats['coverage_percent'] }}{{ __('%') }}

{{ __('Month Coverage') }}

{{ $monthStats['days_in_month'] }}

{{ __('Days in Month') }}

@if(count($upcomingShifts) > 0)

{{ __('Upcoming Shifts (Next 7 Days)') }}

@foreach($upcomingShifts as $upcoming)
$upcoming['is_today'], 'border-zinc-200 bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-800' => !$upcoming['is_today'], ])>
$upcoming['is_today'], 'text-zinc-700 dark:text-zinc-300' => !$upcoming['is_today'], ])> {{ $upcoming['day_label'] }} {{ $upcoming['formatted_date'] }}
{{ $upcoming['start_time'] }} - {{ $upcoming['end_time'] }}
{{ $upcoming['shift_name'] }}
@endforeach
@else

{{ __('No upcoming shifts in the next 7 days') }}

@endif

{{ $monthName }}

{{ __('Today') }}
@foreach ($calendar as $weekIndex => $week) @foreach ($week as $dayIndex => $cell) @if ($cell && $cell['isCurrentMonth']) @php $shiftInfo = $this->getShiftForDate($cell['date']); @endphp
$shiftInfo, 'border-zinc-200 bg-white hover:bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900 dark:hover:bg-zinc-800/50' => !$shiftInfo, ]) >
{{ $cell['day'] }}
{{ $cell['date']->translatedFormat('l') }}
{{ $cell['date']->translatedFormat('F d, Y') }}
@if ($shiftInfo) {{ __('Shift Set') }} @endif
@if ($shiftInfo)
{{ $shiftInfo->shift->name }}
{{ $shiftInfo->shift->start_time }} - {{ $shiftInfo->shift->end_time }}
@else
{{ __('No shift assigned') }}
@endif
@endif @endforeach @endforeach
@if ($showModal && $selectedDate)
{{ __('Shift for') }} {{ $selectedDate->translatedFormat('d M Y') }}
{{ __('Start Time') }} @error('customStartTime') {{ $message }} @enderror {{ __('End Time') }} @error('customEndTime') {{ $message }} @enderror
{{ __('Leave times empty to remove shift for this day.') }}
{{ __('Delete') }}
{{ __('Cancel') }} {{ __('Save Shift') }}
@endif