From 7c2322b22a4b92305f6f133f7a7d4c0b6ce7559e Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 1 Sep 2026 18:09:34 +0200 Subject: [PATCH] fix: use operator's quote_description on the quote PDF The pricing modal saves quote_description correctly, but the PDF template rendered item.description unconditionally, so the operator's edit never showed up on the customer-facing quote. --- src/lib/pdf/quote-document.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/pdf/quote-document.tsx b/src/lib/pdf/quote-document.tsx index 9201753..d856a91 100644 --- a/src/lib/pdf/quote-document.tsx +++ b/src/lib/pdf/quote-document.tsx @@ -231,7 +231,9 @@ export function QuoteDocument({ key={item.id || idx} style={[styles.tableRow, ...(idx % 2 === 1 ? [styles.tableRowAlt] : [])]} > - {item.description} + + {item.quote_description?.trim() || item.description} + {item.quantity}