From d5dec2aa49e1e2fd80448634f2132b238e19d7c7 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 18 Oct 2024 16:23:02 +0700 Subject: [PATCH] refactor: add type --- src/stores/quotations/types.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 520903f3..92b3af32 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -1,7 +1,11 @@ import { CustomerType } from '../customer/types'; +import { District, Province, SubDistrict } from '../address'; import { CreatedBy, Status, UpdatedBy } from '../types'; -type CustomerBranchRelation = { +export type CustomerBranchRelation = { + district: District; + province: Province; + subDistrict: SubDistrict; customer: { registeredBranchId: string; selectedImage: string | null; @@ -350,3 +354,13 @@ export type QuotationPaymentData = { date: string; id: string; }; + +export type Details = { + code: string; + createdAt: Date; + createdBy: string; + payCondition: string; + contactName: string; + contactTel: string; + workName: string; +};