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.

fix: purchase order module qa fixes

Brad Barbin0b96c7f2b6e4
diff --git a/apps/carbon/app/components/Table/Table.tsx b/apps/carbon/app/components/Table/Table.tsx
index c0b7a6b3e7..b44fe11d1b 100644
--- a/apps/carbon/app/components/Table/Table.tsx
+++ b/apps/carbon/app/components/Table/Table.tsx
@@ -108,7 +108,7 @@ const Table = <T extends object>({
setInternalData(data);
}, [data]);
- /* Seletable Rows */
+ /* Selectable Rows */
const [rowSelection, setRowSelection] = useState<RowSelectionState>({});
/* Pagination */
diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderFinalizeModal.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderFinalizeModal.tsx
index a7a9819354..74b24f206a 100644
--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderFinalizeModal.tsx
+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderFinalizeModal.tsx
@@ -60,7 +60,7 @@ const PurchaseOrderFinalizeModal = ({
<ModalHeader>
<ModalTitle>{`Finalize ${purchaseOrder?.purchaseOrderId}`}</ModalTitle>
<ModalDescription>
- Are you sure you want to finalize the purchase order? Releasing
+ Are you sure you want to finalize the purchase order? Finalizing
the order will affect on order quantities used to calculate supply
and demand.
</ModalDescription>
diff --git a/packages/documents/src/pdf/PurchaseOrderPDF.tsx b/packages/documents/src/pdf/PurchaseOrderPDF.tsx
index 662b7c8037..edc78db8f5 100644
--- a/packages/documents/src/pdf/PurchaseOrderPDF.tsx
+++ b/packages/documents/src/pdf/PurchaseOrderPDF.tsx
@@ -155,8 +155,8 @@ const PurchaseOrderPDF = ({
<Text>{purchaseOrder?.supplierReference}</Text>
</View>
<View style={tw("flex flex-col gap-2 w-1/3")}>
- <Text style={tw("text-gray-500 text-xs")}>Requested Date</Text>
- <Text>{purchaseOrder?.receiptRequestedDate}</Text>
+ {/* <Text style={tw("text-gray-500 text-xs")}>Requested Date</Text>
+ <Text>{purchaseOrder?.receiptRequestedDate}</Text> */}
</View>
<View style={tw("flex flex-col gap-2 w-1/3")}>
<Text style={tw("text-gray-500 text-xs")}>Promised Date</Text>