diff --git a/modules/customer-invoices/src/web/components/items/customer-invoice-items-card-editor.tsx b/modules/customer-invoices/src/web/components/items/customer-invoice-items-card-editor.tsx
index d11435d1..e36e0062 100644
--- a/modules/customer-invoices/src/web/components/items/customer-invoice-items-card-editor.tsx
+++ b/modules/customer-invoices/src/web/components/items/customer-invoice-items-card-editor.tsx
@@ -1,6 +1,20 @@
-import { FormControl, FormField, FormItem, FormMessage, Input } from "@repo/shadcn-ui/components";
+import {
+ Button,
+ Card,
+ CardAction,
+ CardContent,
+ CardDescription,
+ CardHeader,
+ CardTitle,
+ FormControl,
+ FormField,
+ FormItem,
+ FormMessage,
+ Input,
+} from "@repo/shadcn-ui/components";
import { TextAreaField } from "@repo/rdx-ui/components";
+import { cn } from "@repo/shadcn-ui/lib/utils";
import { ColumnDef } from "@tanstack/react-table";
import { ChevronDownIcon, ChevronUpIcon, CopyIcon, Trash2Icon } from "lucide-react";
import { useState } from "react";
@@ -18,10 +32,12 @@ export const CustomerInvoiceItemsCardEditor = ({
//currency,
//language,
defaultValues,
+ className = "",
}: {
//currency: CurrencyData;
//language: Language;
defaultValues: Readonly<{ [x: string]: any }> | undefined;
+ className?: string;
}) => {
const { t } = useTranslation();
@@ -271,17 +287,29 @@ export const CustomerInvoiceItemsCardEditor = ({
const navCollapsedSize = 4;
return (
-
- setArticlePickerDialogOpen(true),
- //pickBlock: () => setBlockPickerDialogOpen(true),
- }}
- columns={columns}
- data={fields}
- defaultValues={defaultValues}
- />
-
+
+
+ Contenido
+ Description
+
+
+
+
+
+
+
+
+ setArticlePickerDialogOpen(true),
+ //pickBlock: () => setBlockPickerDialogOpen(true),
+ }}
+ columns={columns}
+ data={fields}
+ defaultValues={defaultValues}
+ />
+
+
);
};
diff --git a/modules/customer-invoices/src/web/pages/create/create.tsx b/modules/customer-invoices/src/web/pages/create/create.tsx
index 4cd2837c..2fbbaeaf 100644
--- a/modules/customer-invoices/src/web/pages/create/create.tsx
+++ b/modules/customer-invoices/src/web/pages/create/create.tsx
@@ -63,7 +63,7 @@ export const CustomerInvoiceCreate = () => {
-
+
diff --git a/modules/customer-invoices/src/web/pages/create/customer-invoice-edit-form.tsx b/modules/customer-invoices/src/web/pages/create/customer-invoice-edit-form.tsx
index 6dcb3df8..411fd3ab 100644
--- a/modules/customer-invoices/src/web/pages/create/customer-invoice-edit-form.tsx
+++ b/modules/customer-invoices/src/web/pages/create/customer-invoice-edit-form.tsx
@@ -10,8 +10,10 @@ import {
Button,
Calendar,
Card,
+ CardAction,
CardContent,
CardDescription,
+ CardFooter,
CardHeader,
CardTitle,
Form,
@@ -276,27 +278,138 @@ export const CustomerInvoiceEditForm = ({
return (
+ );
+
+ return (
+