@extends('web_site.layouts.master') @section('content')

{{ $doctor->name }}

{{ $doctor->name }}
@if ($doctor->clinics->isNotEmpty())

{{ trans('site.doctor.clinics_title') }}

@foreach ($doctor->clinics as $clinic) @endforeach
{{ $clinic->branch?->name }} @if ($clinic->branch?->phone) {{ $clinic->branch->phone }} @endif
@endif

{{ $doctor->name }}

@if ($doctor->specialty)

{{ $doctor->specialty->name }}

@endif @if ($doctor->bio)

{{ $doctor->bio }}

@endif @if ($doctor->specialty) @endif @if ($doctor->qualifications) @endif @if ($doctor->years_experience) @endif @if ($averageRating) @endif
{{ trans('site.doctor.specialty') }} {{ $doctor->specialty->name }}
{{ trans('site.doctor.qualifications') }} {{ $doctor->qualifications }}
{{ trans('site.doctor.experience') }} {{ $doctor->years_experience }}
{{ trans('site.doctor.rating') }} {{ number_format($averageRating, 1) }}
@if ($reviews->isNotEmpty())

{{ trans('site.doctor.reviews_title') }}

@foreach ($reviews as $review)
{{ $review->doctor_rating }}/5

{{ $review->doctor_comment }}

{{ $review->booking?->patient?->name }}
@endforeach
@endif
@endsection