import { AppBreadcrumb, AppContent } from "@repo/rdx-ui/components"; import { Button } from "@repo/shadcn-ui/components"; import { PlusIcon } from "lucide-react"; import { useState } from "react"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; import { InvoicesGrid } from "../components"; export const InvoicesList = () => { const { t } = useTranslation("invoices"); const navigate = useNavigate(); const [status, setStatus] = useState("all"); const InvoiceStatuses = [ { value: "all", label: t("Invoices.list.tabs.all") }, { value: "draft", label: t("Invoices.list.tabs.draft") }, { value: "ready", label: t("Invoices.list.tabs.ready") }, { value: "delivered", label: t("Invoices.list.tabs.delivered") }, { value: "accepted", label: t("Invoices.list.tabs.accepted") }, { value: "rejected", label: t("Invoices.list.tabs.rejected") }, { value: "archived", label: t("Invoices.list.tabs.archived") }, ]; return ( <>

{t("invoices.list.title")}

{t("invoices.list.description")}

); }; /* return ( <>

{t('invoices.list.title' />

{t('Invoices.list.subtitle' />

{InvoiceStatuses.map((s) => ( {s.label} ))}
{InvoiceStatuses.map((s) => ( ))}
); }; */