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