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; };