@extends('layouts.app') @section('title', 'Appointment List') @section('content')

Appointment List Total Appointment: {{ $appointments->count() }}

@foreach ($appointments as $item) @endforeach
Appointment ID Patient Doctor Specialization Appointment Date Appointment Time (Slot) Consultation Fees Appointment Type Reason Status Action
{{ $item->appointment_id }} {{ $item->patient->name ?? 'N/A' }} {{ $item->doctor->name ?? 'N/A' }} {{ $item->specialization }} {{ \Carbon\Carbon::parse($item->appointment_date)->isoFormat('D, MMMM YYYY') }}
    @foreach (json_decode($item->appointment_slot_time) as $slot)
  • {{ $slot }}

  • @endforeach
@if ($item->fee_type === 'in_person_fee') In-Person @elseif ($item->fee_type === 'video_fee') Video @else {{ ucfirst(str_replace('_', ' ', $item->fee_type)) }} @endif - ${{ $item->appointment_fee }} @if ($item->appointment_type === 'first_visit') First Visit @elseif ($item->appointment_type === 'follow_up') Follow Up @else {{ ucfirst($item->appointment_type) }} @endif {{ $item->reason }} {{-- Appointment Status --}} @if($item->appointment_status == 'completed') Completed @elseif($item->appointment_status == 'cancelled') Cancelled @else @if ($item->fee_type === 'in_person_fee') @elseif ($item->fee_type === 'video_fee') @endif {{ ucfirst($item->appointment_status) }} @endif {{-- Doctor --}}

View Prescription
Appointment Details #APT0000
When & Where

Appointment On Loading...

Time Loading...

Location Loading...

Appointment Type Loading...

Loading...
@endsection