From 6bbb577494fbcfc03dcd93f0577ac31378cbfbd8 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:29:42 +0700 Subject: [PATCH] fix: type error --- src/stores/quotations/types.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index ac3740de..e260bd52 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -44,7 +44,12 @@ export type CustomerBranchRelation = { payDate: string; jobDescription: string; jobPosition: string; - businessType: string; + businessTypeId: string; + businessType?: { + id: string; + name: string; + nameEN: string; + }; contactName: string; officeTel: string; contactTel: string; @@ -80,7 +85,6 @@ export type CustomerBranchRelation = { namePrefix: string; telephoneNo: string; codeCustomer: string; - customerName: string; updatedByUserId: string; createdByUserId: string; code: string;