From 918ca22c10280343d7624e5bc491ce3b85c64716 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 19 Jun 2024 07:14:11 +0000 Subject: [PATCH] fix: person name on select (employee form) --- .../BasicInformation.vue | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/components/03_customer-management/BasicInformation.vue b/src/components/03_customer-management/BasicInformation.vue index 88554f21..f42efd4a 100644 --- a/src/components/03_customer-management/BasicInformation.vue +++ b/src/components/03_customer-management/BasicInformation.vue @@ -239,6 +239,16 @@ onMounted(async () => {}); ? scope.opt.customer.customerNameEN : scope.opt.customer.customerName }} + {{ + scope.opt.customer.customerType === 'PERS' + ? $t('formDialogCustomerName') + : $t('companyOwnerName') + }}: + {{ + $i18n.locale === 'en-US' + ? scope.opt.customer.personName + : scope.opt.customer.personName + }} {{ $t('address') }} {{ $i18n.locale === 'en-US' ? scope.opt.addressEN : scope.opt.address @@ -266,6 +276,16 @@ onMounted(async () => {}); ? scope.opt.customer.customerNameEN : scope.opt.customer.customerName }} + {{ + scope.opt.customer.customerType === 'PERS' + ? $t('formDialogCustomerName') + : $t('companyOwnerName') + }}: + {{ + $i18n.locale === 'en-US' + ? scope.opt.customer.personName + : scope.opt.customer.personName + }} {{ $t('address') }} {{ $i18n.locale === 'en-US'