From 863de9da1880355b709d1420dd2306af59041320 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:08:14 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/en-US/form-dialog.ts | 3 +++ src/i18n/th-th/form-dialog.ts | 3 +++ src/stores/customer/index.ts | 2 ++ src/stores/customer/types.ts | 1 - 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/i18n/en-US/form-dialog.ts b/src/i18n/en-US/form-dialog.ts index b81aedb6..1cb5f5fa 100644 --- a/src/i18n/en-US/form-dialog.ts +++ b/src/i18n/en-US/form-dialog.ts @@ -102,4 +102,7 @@ export default { formDialogAddress: 'Address in Thai', formDialogAddressEN: 'Address in English', + + formDialogEmployerID: 'Employer ID', + formDialogEmployerRanchCode: 'Employer branch code', }; diff --git a/src/i18n/th-th/form-dialog.ts b/src/i18n/th-th/form-dialog.ts index d7296125..6288dc8c 100644 --- a/src/i18n/th-th/form-dialog.ts +++ b/src/i18n/th-th/form-dialog.ts @@ -101,4 +101,7 @@ export default { formDialogAddress: 'ที่อยู่ ภาษาไทย', formDialogAddressEN: 'ที่อยู่ ภาษาอังกฤษ', + + formDialogEmployerID: 'รหัสนายจ้าง', + formDialogEmployerRanchCode: 'รหัสสาขานายจ้าง', }; diff --git a/src/stores/customer/index.ts b/src/stores/customer/index.ts index 9103dca7..0c9111eb 100644 --- a/src/stores/customer/index.ts +++ b/src/stores/customer/index.ts @@ -61,6 +61,8 @@ const useCustomerStore = defineStore('api-customer', () => { transactionId: string; }, ) { + console.log(data); + const { image, ...payload } = data; const res = await api.post< diff --git a/src/stores/customer/types.ts b/src/stores/customer/types.ts index cd967a5b..2a59fc0b 100644 --- a/src/stores/customer/types.ts +++ b/src/stores/customer/types.ts @@ -42,7 +42,6 @@ export type CustomerBranchCreate = { saleEmployee: string; payDate: string; wageDate: string; - file: File; }; export type CustomerCreate = {