@extends('dashboard.doctor.layouts.master') @section('title', trans('doctor.profile.title')) @section('toolbar')

{{ trans('doctor.profile.title') }}

@endsection @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')

{{ trans('doctor.profile.photo') }}

@error('photo')
{{ $message }}
@enderror
{{ trans('doctor.profile.photo_hint') }}

{{ trans('doctor.profile.account_info') }}

{{ trans('doctor.auth.email') }}
{{ $doctor->email }}
{{ trans('doctor.profile.specialty') }}
{{ $doctor->specialty?->name ?? trans('doctor.common.not_available') }}
{{ trans('doctor.profile.status') }}
@if($doctor->status === 'active') {{ trans('core.common.status_active') }} @else {{ trans('core.common.status_inactive') }} @endif
{{ trans('doctor.profile.clinics') }}
@forelse($doctor->clinics as $clinic)
{{ $clinic->branch?->name }} — {{ $clinic->name }}
@empty {{ trans('doctor.common.not_available') }} @endforelse
{{ trans('doctor.profile.contact_admin_hint') }}

{{ trans('doctor.profile.personal_info') }}

@error('name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('years_experience')
{{ $message }}
@enderror
@error('bio')
{{ $message }}
@enderror
@error('qualifications')
{{ $message }}
@enderror

{{ trans('doctor.profile.change_password') }}

@csrf @method('PUT')
@error('current_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@endsection