From 6e04e7d03b7f1e4bdc50ace02da9e79abb4ba6ce Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Tue, 14 Jul 2026 16:35:04 +0100 Subject: [PATCH] Procurement: keep Documents' agreement/quote available post-acceptance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Documents modal gated the agreement + quote on isIssued (quote status sent/open), which flips false once the quote is accepted — so after signing they wrongly read 'available once your quote is issued'. Gate on the quote's stripeQuoteId instead, which is set at issuance and persists through acceptance, so the reference stays available throughout the journey. --- .../src/portal/components/procurement/ProcurementFlow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/editor/src/portal/components/procurement/ProcurementFlow.tsx b/frontend/editor/src/portal/components/procurement/ProcurementFlow.tsx index 244a207ed1..2ff3cfc231 100644 --- a/frontend/editor/src/portal/components/procurement/ProcurementFlow.tsx +++ b/frontend/editor/src/portal/components/procurement/ProcurementFlow.tsx @@ -209,7 +209,7 @@ export function ProcurementFlow({ setEditing(false); setOpen(true); }} - quoteAvailable={isIssued} + quoteAvailable={!!latest?.stripeQuoteId} downloadingQuote={downloading} onDownloadQuote={onDownloadPdf} invoiceUrl={latest?.invoiceUrl}