@extends('layouts.app') @section('title', 'Client Management') @section('no-page-header') @section('content')

Client Management

Manage and view all client information

Add Client

Filters

{{ $clients->count() }}
Total Clients
{{ $clients->where('status.name', 'active')->count() }}
Active
{{ $clients->sum('locations_count') }}
Total Locations
{{ $clients->sum('contracts_count') }}
Active Contracts
{{ $clients->count() }} total clients
@forelse($clients ?? [] as $client) @empty @endforelse
Client Contact Person Email Phone Locations Contracts Status Actions
{{ $client->name }}
{{ $client->city }}, {{ $client->country }}
{{ $client->contact_person }} {{ $client->email }} {{ $client->phone }} {{ $client->locations_count ?? 0 }} {{ $client->contracts_count ?? 0 }} {{ ucfirst($client->status->name) }}

No clients found

No clients found for the selected criteria. Try adjusting your filters or add a new client to get started.

@if($clients->hasPages())
@endif
@endsection @push('scripts') @endpush