fix: add person name (employee form)

This commit is contained in:
puriphatt 2024-06-19 05:39:30 +00:00
parent 8c095004b5
commit 37d53d25f1

View file

@ -170,12 +170,26 @@ onMounted(async () => {});
<div class="text-caption app-text-muted-2 q-mb-xs">
<div v-if="scope.opt.customer" class="col column">
{{ $t('customerBranchName') }}:
{{
$i18n.locale === 'en-US'
? scope.opt.customer.customerNameEN
: scope.opt.customer.customerName
}}
<span>
{{ $t('customerBranchName') }}:
{{
$i18n.locale === 'en-US'
? scope.opt.customer.customerNameEN
: scope.opt.customer.customerName
}}
</span>
<span>
{{
scope.opt.customer.customerType === 'PERS'
? $t('formDialogCustomerName')
: $t('companyOwnerName')
}}:
{{
$i18n.locale === 'en-US'
? scope.opt.customer.personName
: scope.opt.customer.personName
}}
</span>
</div>
<div v-if="scope.opt.province" class="col">
{{ $t('address') }}