@extends('layouts.app') @section('content')

Total Clients

{{ number_format($clients->count(), 0, ',') }}

Active Clients

{{ number_format($active_clients->count(), 0, ',') }}

Inactive Clients

{{ number_format($inactive_clients->count(), 0, ',') }}

Clients

@foreach ($clients as $client) @endforeach
Client Name Status Designation Business Name Email Partner Country Phone Number URL Address Actions
{{ $client->user->name }}
{{ $client->user->designation }} {{ $client->business_name }} {{ $client->user->email }} {{ $client->partner->user->name }} {{ $client->user->country }} {{ $client->user->phone }} @if (!empty($client->url)) {{ $client->url }} @else None @endif {{ $client->user->address ?? 'None' }}
@csrf @method('DELETE')
@section('script') {{-- Change active or inactive --}} {{-- Fetch client on Edit click --}} @endsection @endsection