@extends('layouts.portal') @section('title', 'My Appointments') @section('page_title', 'Appointments') @section('page_subtitle', 'Manage your client appointments') @section('sidebar') @include('agent.partials.sidebar', ['active' => 'appointments']) @endsection @section('content')

{{ $totalAppointments }}

Total Appointments

{{ $completedAppointments }}

Completed

{{ $upcomingAppointments }}

Upcoming

All Appointments

@forelse($appointments as $appointment) @empty @endforelse
Date & Time Client Purpose Location Status Actions
{{ $appointment->appointment_date->format('M d, Y') }}
{{ $appointment->appointment_date->format('h:i A') }}
{{ strtoupper(substr($appointment->client_name ?? 'C', 0, 1)) }}
{{ $appointment->client_name ?? 'N/A' }}
{{ $appointment->client_email ?? 'N/A' }}
{{ $appointment->remarks ?? 'N/A' }} {{ $appointment->notes ?? 'N/A' }} {{ ucfirst($appointment->status) }}
@if($appointment->status == 'scheduled') @endif

No appointments scheduled yet.

Schedule your first appointment
@endsection