"use client"; import { Box, Table, TableBody, TableCell, TableHead, TableRow, Typography } from '@mui/material'; import Grid from '@mui/material/Grid2'; import React from 'react'; import { useTranslation } from 'react-i18next'; interface SaleSummaryProps { subtotal: number; discount: number; tax: number; total: number; } const SaleSummary: React.FC = ({ subtotal, discount, tax, total }) => { const { t } = useTranslation() return ( {t("tle_product")} {t("tle_description")} {t("tle_amount")} Product R Producto para r uso 3
{t("lbl_subtotal")}: $ 1.400 {t("lbl_discount")}: $ 12 {t("lbl_tax")}: $ 123 {t("lbl_total")}: $ 1.511
{t("tle_total")}: $ 12.250
); }; export default SaleSummary;