@extends('admin.layouts.adminapp') @section('title', 'Doctors / Edit Doctor') @section('admin-content')

Edit Doctor

{{-- Display Validation Errors --}} @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT') {{-- Name --}}
{{-- Gender --}}
{{-- Clinic Room --}}
{{-- Clinic Hours --}}
{{-- Phone & Telephone --}}
{{-- Specializations --}}
@foreach($doctor->specializations as $index => $spec)
@endforeach
{{-- Languages --}}
@foreach($doctor->languages as $lang)
@endforeach
{{-- Doctor Image --}}

Upload Doctor Image

Accepted formats: JPG, PNG, WEBP (max 2MB)

@if ($doctor->image && $doctor->image->file && $doctor->image->file->image_path)

Current Image:

{{ $doctor->name }}
@endif
{{-- Submit --}}
← Back
@endsection @push('scripts') @endpush