import { DollarSign } from "lucide-react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, Separator } from "@/ui"; import { useFormContext } from "react-hook-form"; export const QuotePricesResume = () => { const { getValues } = useFormContext(); //const { formatNumber } = useLocalization({ locale: "es-ES" }); const subtotal_price = getValues("subtotal_price"); const discount = getValues("discount"); return (
Importe neto {subtotal_price.amount / 100}
Descuento {discount.amount / 100} %
Imp. descuento {subtotal_price.amount / 100}
IVA {discount.amount / 100} %
Importe IVA {subtotal_price.amount / 100}
{" "}
Importe total {subtotal_price.amount / 100}
); return (
Descuento 62 %
Importe dto. 3.346
Importe neto
{subtotal_price.amount} {subtotal_price.currency_code}
Descuento
73 %
Descuento
73
Base imponible
14
IVA
14
Importe total
14
); return ( Total Revenue
$45,231.89

+20.1% from last month

); };