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

Booked Appointment

Question

{{ $booked_appointment->question ?? '--' }}

Patient

{{ $booked_appointment->patient->name ?? '--' }}

Doctor

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

Clinic

{{ $booked_appointment->clinic->name ?? '--' }}

Appointment Type

{{ $booked_appointment->appointment_type->display_name ?? '--' }}

Created At

{{ $booked_appointment->created_at ? date_format($booked_appointment->created_at, 'd-m-Y') : '--' }}

Status
@if($booked_appointment->appointment_status_code == 1)

Pending

@elseif($booked_appointment->appointment_status_code == 2)

Accepted

@elseif($booked_appointment->appointment_status_code == 3)

Rejected

@elseif($booked_appointment->appointment_status_code == 4)

Cancel

@elseif($booked_appointment->appointment_status_code == 5)

Completed

@else '' @endif

{{ $booked_appointment->created_at ? date_format($booked_appointment->created_at, 'd-m-Y') : '--' }}

Description

{!! $booked_appointment->description !!}

@endsection @section('scripts') @endsection