From 6995b49a5afae19167ec150c8ae0aa048c5415a1 Mon Sep 17 00:00:00 2001 From: Net Date: Wed, 21 Aug 2024 17:10:48 +0700 Subject: [PATCH] refactor: add type contactName --- src/stores/customer/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/customer/types.ts b/src/stores/customer/types.ts index 59d9236e..c87dd427 100644 --- a/src/stores/customer/types.ts +++ b/src/stores/customer/types.ts @@ -27,6 +27,7 @@ export type Customer = { export type CustomerBranch = { customerId: string; + contactName: string; wageRate: number; payDate: string; saleEmployee: string; @@ -74,6 +75,8 @@ export type CustomerBranchCreate = { code?: string; customerCode?: string; + contactName: string; + provinceId: string; districtId: string; subDistrictId: string; @@ -144,7 +147,6 @@ export type CustomerCreate = { status?: Status; image: File | null; registeredBranchId: string; - namePrefix: string; firstName: string; lastName: string;