{/* Stats Overview */} {stats && (
Total Revenue $
${stats.monthlyRevenue?.toLocaleString() || '0'}

{stats.revenueGrowth ? `+${stats.revenueGrowth}% from last month` : 'This month'}

Active Subscriptions
{stats.activeSubscriptions || 0}

{stats.subscriptionGrowth ? `+${stats.subscriptionGrowth} this week` : 'Current active'}

Companies
{stats.totalCompanies || 0}

Platform total

New (Month)
+{stats.newCompaniesThisMonth || 0}

Since start of month

)}
Empresas pendentes Aprovação e verificação de empresas. Empresa Status Ações {companies.slice(0, 5).map((company) => ( {company.name} {company.verified ? Verificada : Pendente} ))}
Auditoria Recente Últimos acessos.
{audits.slice(0, 5).map((audit) => (

{audit.identifier}

{auditDateFormatter.format(new Date(audit.createdAt))}

{audit.roles}
))}
Plans Management Configure subscription plans. Name Monthly Yearly Actions {plans.map((plan) => ( {plan.name} ${plan.monthlyPrice} ${plan.yearlyPrice} ))}
{editingPlanId ? 'Edit Plan' : 'Create Plan'}
setPlanForm({ ...planForm, name: e.target.value })} />
setPlanForm({ ...planForm, description: e.target.value })} />
setPlanForm({ ...planForm, monthlyPrice: e.target.value })} />
setPlanForm({ ...planForm, yearlyPrice: e.target.value })} />