@extends('layouts.app') @section('title', 'Appointment Details') @section('no-page-header') @section('content')

Appointment Details

View appointment information and manage status

@if(session('success'))

{{ session('success') }}

@endif

Basic Information

Appointment ID
{{ $appointment->id }}
Client
{{ $appointment->client ? $appointment->client->name : 'N/A' }}
Contact Person
{{ $appointment->contact_person }}
Email
{{ $appointment->email }}
Phone Number
{{ $appointment->phone_number }}
Created At
{{ $appointment->created_at->format('F d, Y h:i A') }}
Created By
@if($appointment->createdBy)
{{ $appointment->createdBy->first_name }} {{ $appointment->createdBy->last_name }}
@else N/A @endif
Updated At
{{ $appointment->updated_at->format('F d, Y h:i A') }}

Appointment Details

Purpose of Meeting
{{ $appointment->purpose_of_meeting }}
Appointment Date
{{ \Carbon\Carbon::parse($appointment->appointment_date)->format('F d, Y') }}
Appointment Time
{{ \Carbon\Carbon::parse($appointment->appointment_time)->format('h:i A') }}
Status
{{ ucfirst($appointment->status) }}

Address

{{ $appointment->address }}

@if($appointment->additional_notes)

Additional Notes

{{ $appointment->additional_notes }}

@endif

Update Status

@csrf
@endsection