import MoneyValues from "@/components/shared/money-values"; import StatusDot from "@/components/shared/status-dot"; import { Progress } from "@/components/ui/progress"; type PaymentStatusCategorySectionProps = { title: string; total: number; confirmed: number; pending: number; }; export function PaymentStatusCategorySection({ title, total, confirmed, pending, }: PaymentStatusCategorySectionProps) { const absTotal = Math.abs(total); const absConfirmed = Math.abs(confirmed); const confirmedPercentage = absTotal > 0 ? (absConfirmed / absTotal) * 100 : 0; return (
{title}
confirmados
pendentes
); }