@extends('web.layouts.front') @section('title') {{ __('messages.doctor.doctor_details') }} @endsection @section('page_css') {{-- --}} @endsection @section('content')

{{ __('messages.doctor.doctor_details') }}

Infy Care
{{-- Start Doctor details seciton --}}
Doctor Details

{{ $doctorDetails->doctorUser->fullname }}

{{ __('messages.user.email') }}

{{ $doctorDetails->doctorUser->email }}

{{ __('messages.user.qualification') }}

@if (!empty($doctorDetails->doctorUser->qualification)) {{ $doctorDetails->doctorUser->qualification }} @else {{ __('messages.common.n/a') }} @endif

{{ __('messages.doctor.specialist') }}

{{ $doctorDetails->specialist }}

@if (!empty($doctorDetails->description))
{{ __('messages.common.description') }}

{{ $doctorDetails->description }}

@endif
@foreach ($schedules as $schedule) @endforeach
{{ __('messages.schedule.available_on') }} {{ __('messages.schedule.available_from') }} {{ __('messages.schedule.available_to') }}
{{ $schedule->available_on }} {{ \Carbon\Carbon::parse($schedule->available_from)->format('h:i A') }} {{ \Carbon\Carbon::parse($schedule->available_to)->format('h:i A') }}
{{--
@if (!empty($doctorDetails->description))
{{ __('messages.common.description') }}

{{ $doctorDetails->description }}

@endif
@foreach ($schedules as $schedule) @endforeach
{{ __('messages.schedule.available_on') }} {{ __('messages.schedule.available_from') }} {{ __('messages.schedule.available_to') }}
{{ $schedule->available_on }} {{ \Carbon\Carbon::parse($schedule->available_from)->format('h:i A') }} {{ \Carbon\Carbon::parse($schedule->available_to)->format('h:i A') }}
--}} {{-- End Doctor details section --}} @endsection