From 55a443521f4ababf33e822b8472e1f1d49d3e5ff Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 21 Oct 2024 15:02:37 +0700 Subject: [PATCH] fix: employee customerBranch display (registerName) --- .../03_customer-management/employee/BasicInformation.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/03_customer-management/employee/BasicInformation.vue b/src/components/03_customer-management/employee/BasicInformation.vue index 1813c284..aac9a597 100644 --- a/src/components/03_customer-management/employee/BasicInformation.vue +++ b/src/components/03_customer-management/employee/BasicInformation.vue @@ -162,7 +162,9 @@ defineEmits<{ {{ scope.opt.customer.customerType === 'CORP' - ? scope.opt.customerName + ? $i18n.locale === 'eng' + ? scope.opt.registerNameEN + : scope.opt.registerName : $i18n.locale === 'eng' ? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` || '-' @@ -217,7 +219,9 @@ defineEmits<{ {{ scope.opt.customer.customerType === 'CORP' - ? scope.opt.customerName + ? $i18n.locale === 'eng' + ? scope.opt.registerNameEN + : scope.opt.registerName : $i18n.locale === 'eng' ? `${scope.opt.firstNameEN} ${scope.opt.lastNameEN}` || '-' : `${scope.opt.firstName} ${scope.opt.lastName}` || '-'