From 2d4ecfebba26d4763c0122002c87364343483022 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:55:36 +0700 Subject: [PATCH] =?UTF-8?q?refactor:=20=E0=B9=81=E0=B8=81=E0=B9=89=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/customer/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stores/customer/types.ts b/src/stores/customer/types.ts index 144219af..816d7156 100644 --- a/src/stores/customer/types.ts +++ b/src/stores/customer/types.ts @@ -21,7 +21,6 @@ export type Customer = { export type CustomerBranch = { id: string; - branchNo: number; legalPersonNo: string; name: string; @@ -63,6 +62,8 @@ export type CustomerBranch = { }; export type CustomerBranchCreate = { + code?: string; + branchNo: number; address: string; addressEN: string; provinceId?: string | null; @@ -100,6 +101,7 @@ export type CustomerCreate = { status?: Status; image: File | null; personName: string; + registeredBranchId: string; }; export type CustomerUpdate = { @@ -111,6 +113,7 @@ export type CustomerUpdate = { taxNo?: string | null; image?: File; personName: string; + registeredBranchId: string; }; export type BranchAttachmentCreate = {