{{-- resources/views/pages/experts/partials/schedules.blade.php --}} @push('css') @endpush @push('js') @endpush
{{ __('labels.working_hours') }}
@if(!isset($readonly) || (isset($readonly) && !$readonly)) @endif
@if(isset($schedules) && $schedules && count($schedules)) @foreach($schedules as $index => $schedule)
{{-- Index --}}
{{ $index + 1 }}
{{-- Day of Week --}}
{{-- {{ __("labels." . ($schedule['day_of_week'] ?? 'select_day')) }} --}}
{{-- Start Time --}}
{{-- End Time --}}
{{-- Available Switch --}} {{--
--}} {{-- Actions --}} @if(!isset($readonly) || (isset($readonly) && !$readonly))
@endif
@endforeach @else {{-- Empty State --}}

{{ __('labels.no_schedules_added') }}

{{ __('messages.add_schedule_help') }}
@endif
@if(isset($schedules) && count($schedules) > 0) @endif
{{-- Hidden template row --}}