@extends('super_admins.layouts.master') @section('title') View Doctor @endsection @section('css') @endsection @section('content') @if ($errors->any()) @endif

Doctors

Personal Details

Image

@if ($doctor->image) {{ $doctor->slug }} @else -- @endif

Clinic

{{ $doctor->clinic && $doctor->clinic->name ? $doctor->clinic->name : '--'}}

Name

{{ $doctor->name ? $doctor->name : '--' }}

Email

{{ $doctor->email ? $doctor->email : '--' }}

Status

{{ $doctor->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($doctor->created_at, 'd-m-Y') }}

Description

{!! $doctor->description !!}

Home Address

Country

{{ $doctor->country->name ?? '--' }}

City

{{ $doctor->city->name ?? '--' }}

State

{{ $doctor->state->name ?? '--' }}

Address Line 1

{{ $doctor->address_line_1 ? $doctor->address_line_1 : '--' }}

Address Line 2

{{ $doctor->address_line_2 ? $doctor->address_line_2 : '--' }}

Zip Code

{{ $doctor->zip_code ? $doctor->zip_code : '--' }}

Work Address

Country

{{ $doctor->work_country->name ?? '--' }}

City

{{ $doctor->work_city->name ?? '--' }}

State

{{ $doctor->work_state->name ?? '--' }}

Address Line 1

{{ $doctor->work_address_line_1 ? $doctor->work_address_line_1 : '--' }}

Address Line 2

{{ $doctor->work_address_line_2 ? $doctor->work_address_line_2 : '--' }}

Zip Code

{{ $doctor->work_zip_code ? $doctor->work_zip_code : '--' }}

Billing Address

Country

{{ $doctor->billing_country->name ?? '--' }}

City

{{ $doctor->billing_city->name ?? '--' }}

State

{{ $doctor->billing_state->name ?? '--' }}

Address Line 1

{{ $doctor->billing_address_line_1 ? $doctor->billing_address_line_1 : '--' }}

Address Line 2

{{ $doctor->billing_address_line_2 ? $doctor->billing_address_line_2 : '--' }}

Zip Code

{{ $doctor->billing_zip_code ? $doctor->billing_zip_code : '--' }}

Shipping Address

Country

{{ $doctor->shipping_country->name ?? '--' }}

City

{{ $doctor->shipping_city->name ?? '--' }}

State

{{ $doctor->shipping_state->name ?? '--' }}

Address Line 1

{{ $doctor->shipping_address_line_1 ? $doctor->shipping_address_line_1 : '--' }}

Address Line 2

{{ $doctor->shipping_address_line_2 ? $doctor->shipping_address_line_2 : '--' }}

Zip Code

{{ $doctor->shipping_zip_code ? $doctor->shipping_zip_code : '--' }}

Certifications

@if(!empty($doctor->doctor_certifications) && count($doctor->doctor_certifications) > 0) @foreach($doctor->doctor_certifications as $certification)
Title

{{ $certification->name ? $certification->name : '--' }}

File

@if ($certification->image) {{ $certification->slug }} @else -- @endif

Status

{{ $certification->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($certification->created_at, 'd-m-Y') }}

Description

{!! $certification->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif

Educations

@if(!empty($doctor->doctor_educations) && count($doctor->doctor_educations) > 0) @foreach($doctor->doctor_educations as $education)
Title

{{ $education->name ? $education->name : '--' }}

File

@if ($education->image) {{ $education->slug }} @else -- @endif

Status

{{ $education->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($education->created_at, 'd-m-Y') }}

Description

{!! $education->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif

Experiences

@if(!empty($doctor->doctor_experiences) && count($doctor->doctor_experiences) > 0) @foreach($doctor->doctor_experiences as $experience)
Title

{{ $experience->name ? $experience->name : '--' }}

File

@if ($experience->image) {{ $experience->slug }} @else -- @endif

Status

{{ $experience->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($experience->created_at, 'd-m-Y') }}

Description

{!! $experience->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif

Courses

@if(!empty($doctor->doctor_archives) && count($doctor->doctor_archives) > 0) @foreach($doctor->doctor_archives as $course)
Title

{{ $course->name ? $course->name : '--' }}

File

@if ($course->image) {{ $course->slug }} @else -- @endif

Status

{{ $course->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($course->created_at, 'd-m-Y') }}

Description

{!! $course->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif

Media

@if(!empty($doctor->doctor_broadcasts) && count($doctor->doctor_broadcasts) > 0) @foreach($doctor->doctor_broadcasts as $media)
Title

{{ $media->name ? $media->name : '--' }}

File

@if ($media->image) {{ $media->slug }} @else -- @endif

Status

{{ $media->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($media->created_at, 'd-m-Y') }}

Description

{!! $media->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif

Podcasts

@if(!empty($doctor->doctor_podcasts) && count($doctor->doctor_podcasts) > 0) @foreach($doctor->doctor_podcasts as $podcast)
Title

{{ $podcast->name ? $podcast->name : '--' }}

File

@if ($podcast->image) {{ $podcast->slug }} @else -- @endif

Status

{{ $podcast->is_active ? 'Active' : 'Inactive' }}

Created At

{{ date_format($podcast->created_at, 'd-m-Y') }}

Description

{!! $podcast->description !!}

@endforeach @else
Title

'--'

File

'--'

Status

'--'

Created At

'--'

@endif
@endsection @section('scripts') @endsection