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: make promise date visible by default on purchase order table

Brad Barbin1a8dd09ed185
diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
index f7e1c49d7b..54590adaf9 100644
--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrdersTable.tsx
@@ -124,6 +124,14 @@ const PurchaseOrdersTable = memo(
icon: <LuCalendar />,
},
},
+ {
+ accessorKey: "receiptPromisedDate",
+ header: "Promised Date",
+ cell: (item) => formatDate(item.getValue<string>()),
+ meta: {
+ icon: <LuCalendar />,
+ },
+ },
{
accessorKey: "status",
header: "Status",
@@ -169,14 +177,7 @@ const PurchaseOrdersTable = memo(
icon: <LuUser />,
},
},
- {
- accessorKey: "receiptPromisedDate",
- header: "Promised Date",
- cell: (item) => formatDate(item.getValue<string>()),
- meta: {
- icon: <LuCalendar />,
- },
- },
+
{
accessorKey: "shippingMethodId",
header: "Shipping Method",
@@ -339,7 +340,6 @@ const PurchaseOrdersTable = memo(
left: ["purchaseOrderId"],
}}
defaultColumnVisibility={{
- receiptPromisedDate: false,
shippingMethodName: false,
// shippingTermName: false,
paymentTermName: false,