From 37d53d25f16b32d0719ef89b216260dfcbbdbc8c Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 19 Jun 2024 05:39:30 +0000 Subject: [PATCH] fix: add person name (employee form) --- .../BasicInformation.vue | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/components/03_customer-management/BasicInformation.vue b/src/components/03_customer-management/BasicInformation.vue index 5588606c..88554f21 100644 --- a/src/components/03_customer-management/BasicInformation.vue +++ b/src/components/03_customer-management/BasicInformation.vue @@ -170,12 +170,26 @@ onMounted(async () => {});
- {{ $t('customerBranchName') }}: - {{ - $i18n.locale === 'en-US' - ? scope.opt.customer.customerNameEN - : scope.opt.customer.customerName - }} + + {{ $t('customerBranchName') }}: + {{ + $i18n.locale === 'en-US' + ? 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') }}