@extends('layouts.app') @section('title', 'All Appointments') @section('content')

All Appointments

Back
@if(session('success'))
{{ session('success') }}
@endif
@forelse($appointments as $appointment) @empty @endforelse
Patient Date/Time Type Status Actions
{{ $appointment->patient->full_name }}
{{ $appointment->patient->patient_id }}
@if($appointment->appointment_date) {{ $appointment->appointment_date->format('M d, Y H:i') }} @else Immediate @endif {{ ucfirst($appointment->appointment_type) }} {{ ucfirst($appointment->status) }}
@if($appointment->prescription) Prescription @endif @if($appointment->google_meet_link) Meet @elseif($appointment->video_call_room_id) Call @endif
No appointments found.
@if($appointments->count() > 0)
Showing {{ $appointments->count() }} appointment(s)
@endif
@endsection