From d02a82f7e135f7e4ae383366076b4d8766ba3af3 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:22:19 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20type=20Cus?= =?UTF-8?q?tomerBranchCreate=20=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/customer/types.ts | 43 ++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/src/stores/customer/types.ts b/src/stores/customer/types.ts index 9b3724c0..28442f5e 100644 --- a/src/stores/customer/types.ts +++ b/src/stores/customer/types.ts @@ -17,36 +17,41 @@ export type Customer = { }; export type CustomerBranchCreate = { - status?: Status; - - legalPersonNo: string; - - taxNo?: string | null; - name: string; - nameEN: string; - addressEN: string; address: string; + addressEN: string; + provinceId?: string | null; + districtId?: string | null; + subDistrictId?: string | null; zipCode: string; email: string; telephoneNo: string; - longitude: string; - latitude: string; - + status?: Status; + name: string; + taxNo?: string | null; + nameEN: string; + legalPersonNo: string; registerName: string; registerDate: Date | null; authorizedCapital: string; - - subDistrictId?: string | null; - districtId?: string | null; - provinceId?: string | null; + employmentOffice: string; + bussinessType: string; + bussinessTypeEN: string; + jobPosition: string; + jobPositionEN: string; + jobDescription: string; + saleEmployee: string; + payDate: string; + wageDate: string; + file: File; }; export type CustomerCreate = { - status?: Status; - customerType: CustomerType; - customerName: string; - customerNameEN: string; customerBranch?: CustomerBranchCreate[]; + taxNo?: string | null; + customerNameEN: string; + customerName: string; + customerType: CustomerType; + status?: Status; image: File; };