@php $charts = $analytics['charts'] ?? []; $kpis = $analytics['kpis'] ?? []; $usage = $analytics['usage_snapshot'] ?? null; @endphp
Tendências, taxas e comparativos do período filtrado
Pré-consulta concluída
{{ $kpis['pre_consultation_rate'] ?? 0 }}%
Taxa comparecimento
{{ $kpis['attendance_rate'] ?? 0 }}%
Faltas
{{ $kpis['no_show_rate'] ?? 0 }}%
Tokens IA
{{ number_format($kpis['ai_tokens'] ?? 0, 0, ',', '.') }}
~R$ {{ number_format($kpis['ai_cost_brl'] ?? 0, 2, ',', '.') }}
Aceite IA
{{ $kpis['ai_acceptance_rate'] ?? 0 }}%
Receita est. (particular)
R$ {{ number_format($kpis['estimated_revenue_brl'] ?? 0, 2, ',', '.') }}
Duração média consulta
{{ $kpis['avg_appointment_minutes'] ?? '—' }}@if($kpis['avg_appointment_minutes'] ?? null) min @endif
{{ $item['label'] ?? $key }}
{{ number_format($item['used'] ?? 0, 0, ',', '.') }} @if(isset($item['limit']) && $item['limit'] !== null) / {{ number_format($item['limit'], 0, ',', '.') }} @endif
@if(isset($item['percent']) && $item['percent'] !== null)