From 1ef24ffe2f29ee995a5ef8a0885ba3f98d299c2d Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 26 Aug 2026 23:21:57 +0200 Subject: [PATCH] docs(types): correct is_no_quote JSDoc to describe decline letter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous wording conflated is_no_quote with the unrelated delivery-note flow. is_no_quote is the official decline-letter flag — items render with 'Not quoted' cells and the quote_notes callout becomes 'Why we cannot quote'. Optional because existing rows pre-date this column. --- src/lib/types.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/types.ts b/src/lib/types.ts index 384cffe..a5f4106 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -246,9 +246,10 @@ export interface Quote extends BaseRecord { /** True for templates — reusable scaffolding, not a real customer quote. */ is_template: boolean; /** - * True for "no-quote" pricing records — formal pricing the operator - * sent out (e.g. for a customer delivery note) that isn't a real - * sales quote. Distinct from `is_template` (reusable scaffolding). + * True for "no-quote" / decline-letter records — a formal quote the + * company cannot price. Items render with "Not quoted" cells; the + * reason is carried on `quote_notes` and titled "Why we cannot quote" + * in the PDF. Distinct from `is_template` (reusable scaffolding). * Optional: existing rows pre-date this column. */ is_no_quote?: boolean;