import React from 'react';
import { formatCurrency } from '@/packages/shared/src/utils';
import { PiggyBankIcon } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { Card, CardTitle } from '@kit/ui/card';
import { cn } from '@kit/ui/lib/utils';
import { Trans } from '@kit/ui/trans';
import { AccountBenefitStatistics } from '../_lib/server/load-team-account-benefit-statistics';
const StatisticsCard = ({ children }: { children: React.ReactNode }) => {
return {children};
};
const StatisticsCardTitle = ({
children,
className,
}: {
children: React.ReactNode;
className?: string;
}) => {
return (
{children}
);
};
const StatisticsDescription = ({ children }: { children: React.ReactNode }) => {
return
{children}
;
};
const StatisticsValue = ({ children }: { children: React.ReactNode }) => {
return {children}
;
};
const TeamAccountBenefitStatistics = ({
accountBenefitStatistics,
}: {
accountBenefitStatistics: AccountBenefitStatistics;
}) => {
const {
i18n: { language },
} = useTranslation();
return (
{formatCurrency({
value: accountBenefitStatistics.periodTotal,
locale: language,
currencyCode: 'EUR',
})}
{formatCurrency({
value: accountBenefitStatistics.orders.totalSum,
locale: language,
currencyCode: 'EUR',
})}
{accountBenefitStatistics.orders.analysesSum} €
{formatCurrency({
value: accountBenefitStatistics.orders.analysisPackagesSum,
locale: language,
currencyCode: 'EUR',
})}
);
};
export default TeamAccountBenefitStatistics;