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

{{ $client->name }} Dashboard

Client-specific metrics and management

Edit Client Back to Statistics

Client Information

Name: {{ $client->name }}
Contact: {{ $client->contact_name ?? 'N/A' }}
Email: {{ $client->contact_email ?? 'N/A' }}
Status: @if($client->is_active) Active @else Inactive @endif
Created: {{ $client->created_at->format('M d, Y') }}

Branding Details

{!! $client->branding_details ?? '

No branding details available.

' !!}

Users

{{ $userMetrics['total'] }}

+{{ $userMetrics['new_30_days'] }} in last 30 days

Events

{{ $eventMetrics['total'] }}

{{ $eventMetrics['upcoming'] }} upcoming

Tier Completion

T1: {{ number_format($tierMetrics['tier1_completion'], 1) }}%
T2: {{ number_format($tierMetrics['tier2_completion'], 1) }}%
T3: {{ number_format($tierMetrics['tier3_completion'], 1) }}%

User Registrations ({{ date('Y') }})

Tier Completion Rates

Recent Users

View All
@forelse ($client->users()->latest('client_user.created_at')->take(5)->get() as $user) @empty @endforelse
Name Email Joined
{{ $user->name }}
{{ $user->email }}
{{ $user->pivot->created_at->format('M d, Y') }}
No users found

Recent Events

View All
@forelse ($client->events()->latest()->take(5)->get() as $event) @empty @endforelse
Name Date Status
{{ $event->name }}
{{ $event->start_date ? $event->start_date->format('M d, Y') : 'N/A' }}
@if($event->is_active) Active @else Inactive @endif
No events found
Manage Users Manage Events Export Report
@push('scripts') @endpush @endsection