feat: i18n register name en
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
0e6bee7b62
commit
2320883cb6
1 changed files with 10 additions and 3 deletions
|
|
@ -343,9 +343,16 @@ watch(
|
||||||
{
|
{
|
||||||
label: $t('general.customer'),
|
label: $t('general.customer'),
|
||||||
value:
|
value:
|
||||||
item.row.invoice.quotation.customerBranch
|
item.row.invoice.quotation.customerBranch.customer
|
||||||
.registerName ||
|
.customerType === 'CORP'
|
||||||
`${item.row.invoice.quotation.customerBranch?.firstName || '-'} ${item.row.invoice.quotation.customerBranch?.lastName || ''}`,
|
? $i18n.locale === 'tha'
|
||||||
|
? item.row.invoice.quotation.customerBranch
|
||||||
|
.registerName
|
||||||
|
: item.row.invoice.quotation.customerBranch
|
||||||
|
.registerNameEN
|
||||||
|
: $i18n.locale === 'tha'
|
||||||
|
? `${item.row.invoice.quotation.customerBranch?.firstName || '-'} ${item.row.invoice.quotation.customerBranch?.lastName || ''}`
|
||||||
|
: `${item.row.invoice.quotation.customerBranch?.firstNameEN || '-'} ${item.row.invoice.quotation.customerBranch?.lastNameEN || ''}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: $t('taskOrder.issueDate'),
|
label: $t('taskOrder.issueDate'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue