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 class="text-caption app-text-muted-2 q-mb-xs">
<div v-if="scope.opt.customer" class="col column"> <div v-if="scope.opt.customer" class="col column">
<span>
{{ $t('customerBranchName') }}: {{ $t('customerBranchName') }}:
{{ {{
$i18n.locale === 'en-US' $i18n.locale === 'en-US'
? scope.opt.customer.customerNameEN ? scope.opt.customer.customerNameEN
: scope.opt.customer.customerName : 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>
<div v-if="scope.opt.province" class="col"> <div v-if="scope.opt.province" class="col">
{{ $t('address') }} {{ $t('address') }}