@extends('layouts.app') @section('title', 'Dashboard - Super Admin') @section('content')
Acompanhe a saúde do seu SaaS em tempo real
Total de Contas Ativas
{{ number_format($kpis['active_accounts'], 0, ',', '.') }}
Crescimento Mensal
{{ $kpis['monthly_growth'] >= 0 ? '+' : '' }}{{ number_format($kpis['monthly_growth'], 2, ',', '.') }}%
MRR (Receita Recorrente Mensal)
R$ {{ number_format($kpis['mrr'], 2, ',', '.') }}
ARR (Receita Recorrente Anual)
R$ {{ number_format($kpis['arr'], 2, ',', '.') }}
Churn Rate
{{ number_format($kpis['churn_rate'], 2, ',', '.') }}%
{{ $kpis['churn_rate'] <= 5 ? '✅ Saudável' : '⚠️ Atenção' }}
Ticket Médio
R$ {{ number_format($kpis['average_ticket'], 2, ',', '.') }}
LTV (Lifetime Value)
R$ {{ number_format($kpis['ltv'], 2, ',', '.') }}
CAC (Custo de Aquisição)
R$ {{ number_format($kpis['cac'], 2, ',', '.') }}
@php $ltv_cac_ratio = $kpis['cac'] > 0 ? $kpis['ltv'] / $kpis['cac'] : 0; @endphpLTV/CAC: {{ number_format($ltv_cac_ratio, 1) }}x
Total de Pacientes
{{ number_format($kpis['total_patients'], 0, ',', '.') }}
Análises de IA (mês)
{{ number_format($kpis['monthly_ai_analyses'], 0, ',', '.') }}
Prescrições (mês)
{{ number_format($kpis['monthly_prescriptions'], 0, ',', '.') }}
{{ $clinic['name'] }}
Plano: {{ $clinic['plan'] }}
{{ $clinic['patients'] }}
pacientes
Nenhuma clínica cadastrada
@endforelse