feat: i18n registerName
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
Aif 2025-10-14 14:40:21 +07:00
parent c4f088c5cb
commit d06c26c3c8

View file

@ -767,8 +767,13 @@ async function filterBySellerId() {
:worker-count="item.row._count.worker" :worker-count="item.row._count.worker"
:worker-max="item.row.workerMax || item.row._count.worker" :worker-max="item.row.workerMax || item.row._count.worker"
:customer-name=" :customer-name="
item.row.customerBranch.registerName || item.row.customerBranch.customer.customerType === 'CORP'
`${item.row.customerBranch.firstName || '-'} ${item.row.customerBranch.lastName || ''}` ? $i18n.locale === 'tha'
? item.row.customerBranch.registerName
: item.row.customerBranch.registerNameEN
: $i18n.locale === 'tha'
? `${item.row.customerBranch.firstName || '-'} ${item.row.customerBranch.lastName || ''}`
: `${item.row.customerBranch.firstNameEN || '-'} ${item.row.customerBranch.lastNameEN || ''}`
" "
:reporter=" :reporter="
$i18n.locale === 'eng' $i18n.locale === 'eng'