@extends('layouts.admin')
@section('header', 'Client Details - ' . $client->name)
@section('content')
{{ $client->name }}
📊 Client Analytics Dashboard
Back to Clients
Client Information
Basic Details
- Client ID
- {{ $client->id }}
- Name
- {{ $client->name }}
- Email
- {{ $client->email ?? 'Not provided' }}
- Status
-
{{ $client->is_active ? 'Active' : 'Inactive' }}
Statistics
- Total Users
- {{ $client->users->count() ?? 0 }}
- Total Events
- {{ $client->events->count() ?? 0 }}
- Created
- {{ $client->created_at ? $client->created_at->format('M d, Y') : 'Unknown' }}
- Last Updated
- {{ $client->updated_at ? $client->updated_at->format('M d, Y') : 'Unknown' }}
Edit Client
← Back to Clients List
@if(Route::has('analytics.clients.export-events'))
Export Analytics
@endif
@if($client->modules && $client->modules->count() > 0)
@foreach($client->modules as $module)
{{ $module->name }}
{!! $module->description ?? 'No description' !!}
{{ $module->is_active ? 'Active' : 'Inactive' }}
@endforeach
@endif
@if($client->tiers && $client->tiers->count() > 0)
@foreach($client->tiers as $tier)
{{ $tier->name }}
{!! $tier->description ?? 'No description' !!}
{{ $tier->is_active ? 'Active' : 'Inactive' }}
@endforeach
@endif
@if($client->events && $client->events->count() > 0)
Client Events
| Event Name |
Status |
Start Date |
End Date |
Actions |
@foreach($client->events as $event)
| {{ $event->name }} |
{{ $event->is_active ? 'Active' : 'Inactive' }}
|
{{ $event->start_date ?? 'Not set' }} |
{{ $event->end_date ?? 'Not set' }} |
|
@endforeach
@endif
@if($client->users && $client->users->count() > 0)
| Name |
Email |
Status |
Joined |
@foreach($client->users as $user)
| {{ $user->name }} |
{{ $user->email }} |
{{ $user->is_active ? 'Active' : 'Inactive' }}
|
{{ $user->created_at ? $user->created_at->format('M d, Y') : 'Unknown' }} |
@endforeach
@endif
@endsection