From 76954839e5ee1badc6df4b2a19f10c52b95173cf Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 25 Oct 2024 16:47:04 +0700 Subject: [PATCH] feat: add type --- src/stores/quotations/types.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 1b27be1a..1cd3eac1 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -206,6 +206,9 @@ export type Quotation = { vatExcluded: number; status: Status; quotationStatus: + | 'Issued' + | 'Accepted' + | 'Invoice' | 'PaymentPending' | 'PaymentInProcess' | 'PaymentSuccess' @@ -272,6 +275,15 @@ export type QuotationFull = { code: string; statusOrder: number; status: Status; + quotationStatus: + | 'Issued' + | 'Accepted' + | 'Invoice' + | 'PaymentPending' + | 'PaymentInProcess' + | 'PaymentSuccess' + | 'ProcessComplete' + | 'Canceled'; customerBranchId: string; registeredBranchId: string;