From 6828a42a45606def95f5120296115e66e672d89a Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Tue, 15 Oct 2024 17:15:51 +0700 Subject: [PATCH] refactor: add registeredBranchId --- src/stores/quotations/types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 30d49988..7b08f7f9 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -200,6 +200,8 @@ export type Quotation = { statusOrder: number; status: Status; + registeredBranchId: string; + customerBranchId: string; customerBranch: CustomerBranchRelation; @@ -261,6 +263,7 @@ export type QuotationFull = { status: Status; customerBranchId: string; + registeredBranchId: string; createdByUserId: string; createdAt: string | Date; @@ -282,6 +285,8 @@ export type QuotationPayload = { service?: ServiceRelation | null; }[]; customerBranchId: string; + registeredBranchId: string; + registeredBranch: { id: string; name: string }; urgent: boolean; worker: EmployeeWorker[]; _count: { worker: number };