@extends('layouts.portal') @section('title', 'All Appointments') @section('page_title', 'Appointment Management') @section('page_subtitle', 'View all lawyer appointments') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'appointments']) @endsection @section('content')

Appointment Management

View and manage all lawyer appointments

Reset
@forelse($appointments as $appointment) @empty @endforelse
Date & Time Client Lawyer Status Notes
{{ $appointment->appointment_date->format('M d, Y') }}
{{ $appointment->appointment_date->format('h:i A') }}
{{ $appointment->client_name }}
{{ $appointment->client_email }}
@if($appointment->client_phone)
{{ $appointment->client_phone }}
@endif
{{ $appointment->lawyer->name }}
{{ ucfirst($appointment->status) }} {{ $appointment->notes ?: '-' }}

No appointments found

{{ $appointments->links() }}
@endsection