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: external notes for line on purchase order pdf

Brad Barbin35dfa99f99e7
diff --git a/packages/documents/src/pdf/PurchaseOrderPDF.tsx b/packages/documents/src/pdf/PurchaseOrderPDF.tsx
index 1e85d9f241..ac7d3f73aa 100644
--- a/packages/documents/src/pdf/PurchaseOrderPDF.tsx
+++ b/packages/documents/src/pdf/PurchaseOrderPDF.tsx
@@ -228,12 +228,12 @@ const PurchaseOrderPDF = ({
: formatter.format(getLineTotal(line))}
</Text>
</View>
- {/* {Object.keys(line.externalNotes ?? {}).length > 0 && (
+ {Object.keys(line.externalNotes ?? {}).length > 0 && (
<Note
key={`${line.id}-notes`}
content={line.externalNotes as JSONContent}
/>
- )} */}
+ )}
</View>
))}
{taxAmount > 0 && (