docs(types): correct is_no_quote JSDoc to describe decline letter

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.
This commit is contained in:
Dave 2026-08-26 23:21:57 +02:00
parent 403ac152e0
commit 1ef24ffe2f

View file

@ -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;