@extends('layout.master') @section('css') @stop @section('content')

{{ 'Appointment Details' }}

{{ $appointment->appointment_date }}
@if ($appointment->status == 1) Visited @elseif ($appointment->status==2) Cancelled @elseif ($appointment->status==3) Pending @else --- @endif
@if ($appointment->created_by == $user->id) {{ $user->username }} @elseif ($appointment->created_by==$doctor->id) {{ $doctor->username }} @else --- @endif

{{ 'Patient Details' }}

{{ $user->username }}
{{ $user->email }}
{{ $user->get_patient_details->mobile_number }}
{{ $user->get_patient_details->country }}
{{ $user->get_patient_details->plan_type }}
{{ $user->get_patient_details->user_program_type }}
@if ($user->profile_picture == '') @else @endif

{{ 'Doctor Details' }}

{{ $doctor->username }}
{{ $doctor->get_doctor_details->description }}
{{ $doctor->email }}
+{{ $doctor->get_doctor_details->phone_code }} {{ $doctor->get_doctor_details->mobile_number }}
{{ $doctor->get_doctor_details->clinic_name }}
{{ $doctor->get_doctor_details->clinic_address }}
{{ $doctor->get_doctor_details->speciality }}
{{ $doctor->get_doctor_details->average_ratings }} of 5
{{ $doctor->get_doctor_details->pincode }}
{{ $doctor->get_doctor_details->country }}
@if ($doctor->profile_picture == '') @else @endif
@if ($doctor->get_doctor_details->clinic_logo == '') @else @endif
@stop @section('script') @stop