@extends('client-system::layouts.admin') @section('title', 'Client Details') @section('content')

{{ $client->name }}

@if($client->is_active) Active @else Inactive @endif
Edit
@csrf @method('DELETE')

Client Information

@if($client->getBrandingDetails() && isset($client->getBrandingDetails()['logo_url'])) {{ $client->name }} Logo @endif

Display Name

{{ $client->getDisplayName() }}

Contact Person

{{ $client->contact_name }}

Contact Email

{{ $client->contact_email }}

Created

{{ $client->created_at->format('M d, Y') }}

@if($client->getBrandingDetails())

Brand Colors

@if($client->getPrimaryColor())
{{ $client->getPrimaryColor() }}
@endif @if($client->getSecondaryColor())
{{ $client->getSecondaryColor() }}
@endif
@endif

Users

View All

Total Users

{{ $userStats['total'] }}

@if(count($userStats['recent']) > 0)

Recent Users

@foreach($userStats['recent'] as $user)
{{ substr($user->name, 0, 1) }}

{{ $user->name }}

{{ $user->email }}

@endforeach
@else

No users yet

@endif

Events

View All

Total Events

{{ $eventStats['total'] }}

Active Events

{{ $eventStats['active'] }}

@if(count($eventStats['recent']) > 0)

Recent Events

@foreach($eventStats['recent'] as $event)

{{ $event->name }}

{{ $event->start_date ? $event->start_date->format('M d, Y') : 'No date' }}

@endforeach
@else

No events yet

@endif

Quick Actions

@endsection