perf: refs #7010 customer summary packaging type field

This commit is contained in:
Jon Elias 2024-10-03 08:38:56 +02:00
parent 0b76d0d556
commit 8ee4edc5d5
1 changed files with 1 additions and 5 deletions

View File

@ -101,6 +101,7 @@ const columns = computed(() => [
align: 'left', align: 'left',
name: 'itemPackingTypeFk', name: 'itemPackingTypeFk',
label: t('ticketSale.packaging'), label: t('ticketSale.packaging'),
format: (row) => getItemPackagingType(row),
}, },
{ {
align: 'right', align: 'right',
@ -228,11 +229,6 @@ const getItemPackagingType = (row) => {
</QBadge> </QBadge>
<span v-else> {{ toDateFormat(row.shipped) }}</span> <span v-else> {{ toDateFormat(row.shipped) }}</span>
</template> </template>
<template #column-itemPackingTypeFk="{ row }">
<span>
{{ getItemPackagingType(row) }}
</span>
</template>
</VnTable> </VnTable>
</template> </template>