feat(quotes): add is_no_quote?: boolean to Quote interface
Mirrors the is_template boolean. Wires the new field through the type system before any service-layer code touches it.
This commit is contained in:
parent
0f0712a1d7
commit
403ac152e0
1 changed files with 7 additions and 0 deletions
|
|
@ -245,6 +245,13 @@ export interface Quote extends BaseRecord {
|
|||
validity_days: number | null;
|
||||
/** 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).
|
||||
* Optional: existing rows pre-date this column.
|
||||
*/
|
||||
is_no_quote?: boolean;
|
||||
/** If this template was cloned from a real quote, the source quote id. */
|
||||
template_source_id: string;
|
||||
/** If this quote was generated from a template, the template quote id. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue