From da52bfbcbdb4084a47a704148ab08d871506a7cf Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:36:12 +0700 Subject: [PATCH] feat: remove employer prefix from string remark --- src/utils/string-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/string-template.ts b/src/utils/string-template.ts index b62164f2..b4fbcab0 100644 --- a/src/utils/string-template.ts +++ b/src/utils/string-template.ts @@ -74,7 +74,7 @@ const templates = { const branch = v.request.quotation.customerBranch; return ( `${i + 1}. ` + - ` ${v.request.code}_${branch.customer.customerType === 'PERS' ? `นายจ้าง ${branch.namePrefix}. ${branch.firstNameEN} ${branch.lastNameEN} `.toUpperCase() : branch.registerName}_` + + ` ${v.request.code}_${branch.customer.customerType === 'PERS' ? `${branch.namePrefix}. ${branch.firstNameEN} ${branch.lastNameEN} `.toUpperCase() : branch.registerName}_` + `${employee.namePrefix}. ${employee.firstNameEN} ${employee.lastNameEN} `.toUpperCase() + `${!!v.failedType && v.failedType !== 'other' ? `${i18n.global.t(`taskOrder.${v.failedType}`)}` : !!v.failedComment ? v.failedComment : ''}` );