@extends('layouts.branch') @section('title', 'Doctor Availability') @section('header', 'Schedule Management') @section('content')
@if($doctor->photo_path) @else
{{ substr($doctor->name, 0, 1) }}
@endif

{{ $doctor->name }}

{{ $doctor->designation->name }} • {{ $doctor->department->name }}

Back to List
@csrf
@if ($errors->any())
Scheduling Errors Detected
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($days as $dayNum => $dayName) @php $sched = $schedules->get($dayNum); @endphp
{{ $dayName }}
until
@endforeach
@endsection