@extends('layouts.admin') @section('title', 'Clients') @section('page-title', 'Client Management') @section('content')
{{-- Search & Filter --}}
Clear
{{-- Table --}}
@if($clients->isEmpty())
No clients found.
@else
@foreach($clients as $client) @endforeach
Client Phone Documents Joined Status Actions
{{ strtoupper(substr($client->name,0,1)) }}
{{ $client->name }}

{{ $client->email }}

{{ $client->phone ?? '—' }} {{ $client->documents_count }} {{ $client->created_at->format('d M Y') }} @if($client->status === 'active') Active @else {{ ucfirst($client->status) }} @endif
@csrf
@if($clients->hasPages())
{{ $clients->links() }}
@endif @endif
@endsection