👥 Client Management

Total Clients

{{ $clients->total() ?? 0 }}

Active Clients

{{ $stats['active'] ?? 0 }}

New This Month

{{ $stats['new_this_month'] ?? 0 }}

Total Shipments

{{ $stats['total_shipments'] ?? 0 }}

Client Directory

@if($clients->count() > 0)
@foreach($clients as $client) @endforeach
Client Contact Location Type Status Shipments Actions
{{ substr($client->name, 0, 1) }}
{{ $client->name }}
{{ $client->company ?? 'Individual' }}
{{ $client->email }}
{{ $client->phone }}
{{ $client->city ?? 'N/A' }}
{{ $client->country ?? 'N/A' }}
@php $type = $client->type ?? 'individual'; $typeColors = [ 'individual' => 'bg-blue-100 text-blue-800', 'business' => 'bg-green-100 text-green-800', 'corporate' => 'bg-purple-100 text-purple-800' ]; @endphp {{ ucfirst($type) }} @php $status = $client->status ?? 'active'; $statusColors = [ 'active' => 'bg-green-100 text-green-800', 'inactive' => 'bg-red-100 text-red-800', 'pending' => 'bg-yellow-100 text-yellow-800' ]; @endphp {{ ucfirst($status) }} {{ $client->shipments_count ?? 0 }}
View Edit
@csrf @method('DELETE')
{{ $clients->links() }}
@else

No Clients Found

Start by adding your first client.

Add Client
@endif