@extends('layouts.contentLayoutMaster') @section('title','My Appointments') @section('content')

My Appointments

Schedule with My Agent
@if(session('success'))
{{ session('success') }}
@endif
@forelse($appointments as $a) @empty @endforelse
When Title Agent Status Location Action
{{ $a->starts_at->format('M d, Y g:i A') }} {{ $a->title }} {{ optional($a->agent)->first_name }} {{ optional($a->agent)->last_name }} {{ ucfirst($a->status) }} {{ $a->location ?: '—' }} @if($a->status === 'pending')
@csrf
@else @endif
No appointments yet.
{{ $appointments->links() }}
@endsection