Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: add created at to production quantities table

Brad Barbinf3fa5a7bf51c
diff --git a/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx b/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
index 8693c89956..c4ec9e30da 100644
--- a/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
+++ b/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
@@ -1,4 +1,5 @@
import { Badge, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import { formatDateTime } from "@carbon/utils";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
import { LuPencil, LuTrash } from "react-icons/lu";
@@ -143,6 +144,11 @@ const ProductionQuantitiesTable = memo(
{row.original.notes}
</span>
)
+ },
+ {
+ accessorKey: "createdAt",
+ header: "Created At",
+ cell: ({ row }) => formatDateTime(row.original.createdAt)
}
];
}, [operations, people, scrapReasons]);