@extends('layouts.portal') @section('title', 'All Clients') @section('page_title', 'All Clients') @section('page_subtitle', 'Manage client records') @section('sidebar')
Client Management
Manage client records and approvals
Admin Created Client
{{ $adminCreatedCount }}
Agent Referred
{{ $agentReferredCount }}
Lawyer Created
{{ $lawyerCreatedCount }}
Total Clients
{{ $totalClientCount }}
| Client | Contact | Referred By | Status | Assigned Staff | Date | Actions |
|---|---|---|---|---|---|---|
|
{{ substr($client->first_name, 0, 1) }}
{{ $client->full_name }} ID: #{{ $client->id }} |
{{ $client->email }} {{ $client->phone }} |
@if($client->referred_by)
@if($client->referredByUser)
{{ $client->referredByUser->name }} Agent @elseUnknown Agent ID: {{ $client->referred_by }} @endif @elseSelf Admin Created @endif |
{{ ucfirst($client->status) }} |
@if($client->assignedStaff)
{{ substr($client->assignedStaff->name, 0, 1) }}
{{ $client->assignedStaff->name }} Staff Yet to assign No staff |
{{ $client->created_at->format('M d, Y') }} |
Start by creating your first client or wait for agent referrals
Create Your First Client