فترات العمل الأسبوعية
@forelse($doctorSchedules as $schedule)
{{ $dayLabels[$schedule->day_of_week] ?? $schedule->day_of_week }}
— {{ substr((string) $schedule->start_time, 0, 5) }} إلى {{ substr((string) $schedule->end_time, 0, 5) }}
({{ $schedule->slot_duration_minutes }} د)
@empty
لا توجد فترات — أضف أول جدول أدناه.
@endforelse
إغلاقات وإجازات
@foreach($blockedSlots as $block)
{{ $block->blocked_date->format('Y-m-d') }}
@if($block->is_full_day) — يوم كامل @else — {{ substr((string) $block->start_time, 0, 5) }}–{{ substr((string) $block->end_time, 0, 5) }} @endif
@if($block->doctor) ({{ $block->doctor->name }}) @else (كل العيادة) @endif
@endforeach