From 7cf9ecc37068b088a8f06f203465c963e04bbdda Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 27 Sep 2024 14:36:30 +0700 Subject: [PATCH] feat: add product name exists error --- src/i18n/eng/index.ts | 2 ++ src/i18n/tha/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/i18n/eng/index.ts b/src/i18n/eng/index.ts index 40f5a772..f8de40c7 100644 --- a/src/i18n/eng/index.ts +++ b/src/i18n/eng/index.ts @@ -728,6 +728,8 @@ export default { relationCustomerNotFound: 'Customer cannot be found.', relationCustomerBranchNotFound: 'Customer Branch cannot be found.', sameBranchCodeExists: 'This Head Office Abbreviation is already in use.', + productNameExists: + 'Product with the same name already exists. If you want to create with this name please select another code.', validateError: 'Validate Error', codeMisMatch: 'Code Mismatch', userExists: 'User already exits.', diff --git a/src/i18n/tha/index.ts b/src/i18n/tha/index.ts index d0b21874..4de8efb1 100644 --- a/src/i18n/tha/index.ts +++ b/src/i18n/tha/index.ts @@ -723,6 +723,8 @@ export default { relationCustomerNotFound: 'ไม่พบลูกค้า', relationCustomerBranchNotFound: 'ไม่พบสาขาลูกค้า', sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว', + productNameExists: + 'สินค้าที่มีชื่อเดียวกันมีในระบบแล้ว หากคุณต้องการสร้างด้วยชื่อนี้โปรดเลือกรหัสอื่น', validateError: 'เกิดข้อผิดพลาดจากการตรวจสอบ', codeMisMatch: 'รหัสไม่ตรงกัน', userExists: 'ชื่อผู้ใช้นี้มีอยู่ในระบบอยู่แล้ว',