@if(session('success'))
{{ session('success') }}
@endif {{-- ═══════════════════════════════════════════════════════════════ ACCIONABLES — qué requiere atención HOY ═══════════════════════════════════════════════════════════════ --}}

⚡ Hoy

{{-- ═══════════════════════════════════════════════════════════════ OVERVIEW — métricas del marketplace (lectura) ═══════════════════════════════════════════════════════════════ --}}

📊 Overview

{{ $kpi['new_signups_7d'] }}
Nuevos signups · 7d
+ {{ $kpi['new_signups_30d'] }} en 30d
{{ $kpi['total_customers'] }}
Customers totales
{{ $kpi['total_resellers'] }}
Resellers activos
{{ $kpi['projects_active'] }}
Proyectos activos
@if($kpi['projects_paused'] > 0)
{{ $kpi['projects_paused'] }} suspendidos
@endif
{{-- ═══════════════════════════════════════════════════════════════ ACTIVIDAD RECIENTE — últimos signups + applications ═══════════════════════════════════════════════════════════════ --}}

Últimos signups

@if($recentSignups->isEmpty())

Sin signups aún.

@else
@foreach($recentSignups as $u) @endforeach
Email Rol Cuándo
{{ $u->email }} @if(\Illuminate\Support\Str::startsWith($u->email, 'stress_')) stress @endif @foreach($u->roles as $r) {{ $r->name }} @endforeach {{ $u->created_at?->diffForHumans() }}
@endif

Reseller applications

@if($recentApplications->isEmpty())

Sin applications pendientes.

@else @foreach($recentApplications as $app) @php [$badgeLabel, $badgeClass] = $app->status_badge; @endphp
{{ $app->business_name }} {{ $badgeLabel }}
{{ $app->user?->email ?? '—' }}
{{ $app->created_at?->diffForHumans() }}
@endforeach @endif