From b13e85a4f52add49512bb9368a9a0fabf7021e13 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 4 Nov 2025 17:01:51 +0100 Subject: [PATCH] Limpieza --- .../customer-invoice-items-edit-grid.tsx | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 modules/customer-invoices/src/web/pages/create/customer-invoice-items-edit-grid.tsx diff --git a/modules/customer-invoices/src/web/pages/create/customer-invoice-items-edit-grid.tsx b/modules/customer-invoices/src/web/pages/create/customer-invoice-items-edit-grid.tsx deleted file mode 100644 index 496aebf4..00000000 --- a/modules/customer-invoices/src/web/pages/create/customer-invoice-items-edit-grid.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import { useEffect, useState } from "react"; - -import { AG_GRID_LOCALE_ES } from "@ag-grid-community/locale"; -// Grid -import type { ColDef, GridOptions, ValueFormatterParams } from "ag-grid-community"; -import { AllCommunityModule, ModuleRegistry } from "ag-grid-community"; - -ModuleRegistry.registerModules([AllCommunityModule]); - -import { MoneyDTO } from "@erp/core"; -import { formatDate, formatMoney } from "@erp/core/client"; -// Core CSS -import { AgGridReact } from "ag-grid-react"; - - - -// Create new GridExample component -export const CustomerInvoiceItemsEditorGrid = ({ items: any[] }) => { - - // Column Definitions: Defines & controls grid columns. - const [colDefs] = useState([ - - ]); - - const gridOptions: GridOptions = { - columnDefs: colDefs, - defaultColDef: { - editable: true, - flex: 1, - minWidth: 100, - filter: false, - sortable: false, - resizable: true, - }, - sideBar: true, - rowGroupPanelShow: "always", - pagination: true, - paginationPageSize: 10, - paginationPageSizeSelector: [10, 20, 30, 50], - enableCharts: true, - localeText: AG_GRID_LOCALE_ES, - rowSelection: { mode: "multiRow" }, - }; - - // Container: Defines the grid's theme & dimensions. - return ( -
- -
- ); -};