feat: integrate consumption metrics into plan usage cycle tracking and UI display

This commit is contained in:
2026-07-18 22:02:48 -03:00
parent 0f76ef3118
commit 78ee86ac48
7 changed files with 31 additions and 4 deletions
@@ -44,7 +44,7 @@ const getLimitCards = (plan: ISubscriptionInfo["plan"], metrics: DashboardMetric
{ label: "Organizaciones", limit: plan.limitOrganizations, current: metrics?.organizationsCount },
{ label: "Colaboradores", limit: plan.limitEmployees, current: metrics?.employeesCount },
{ label: "Servicios", limit: plan.limitServices, current: metrics?.servicesCount },
{ label: "Turnos", limit: plan.limitAppointments, current: metrics?.appointmentsCount },
{ label: "Turnos del último mes", limit: plan.limitAppointments, current: metrics?.appointmentsCount },
{ label: "Clientes", limit: plan.limitClients, current: metrics?.clientsCount },
{ label: "Repeticiones", limit: plan.limitRepeats, current: metrics?.repeatsCount },
];