refactor(03): customer form title

This commit is contained in:
puriphatt 2024-09-11 11:38:24 +07:00
parent 7765469853
commit f92d88ca27

View file

@ -1713,7 +1713,11 @@ const emptyCreateDialog = ref(false);
<DialogHeader
:title="
$t(`form.title.${customerFormState.dialogType}`, {
name: $t('customer.employer'),
name: `${$t('customer.employer')} ${
customerFormData.customerType === 'CORP'
? $t('customer.employerLegalEntity')
: $t('customer.employerNaturalPerson')
}`,
})
"
>