0
0
Fork 0

fix: CustomerCreditOpinion workerDescriptor

This commit is contained in:
Javier Segarra 2024-09-12 21:08:41 +02:00
parent 70d0132710
commit 39f2deafc4
1 changed files with 4 additions and 5 deletions

View File

@ -44,7 +44,7 @@ const columns = computed(() => [
{ {
align: 'right', align: 'right',
field: 'rating', field: 'rating',
label: t('Rating'), label: t('customer.summary.rating'),
name: 'rating', name: 'rating',
create: true, create: true,
columnCreate: { columnCreate: {
@ -56,7 +56,7 @@ const columns = computed(() => [
align: 'right', align: 'right',
field: 'recommendedCredit', field: 'recommendedCredit',
format: ({ recommendedCredit }) => toCurrency(recommendedCredit), format: ({ recommendedCredit }) => toCurrency(recommendedCredit),
label: t('Recommended credit'), label: t('customer.summary.recommendCredit'),
name: 'recommendedCredit', name: 'recommendedCredit',
create: true, create: true,
columnCreate: { columnCreate: {
@ -89,8 +89,8 @@ const columns = computed(() => [
}" }"
> >
<template #column-employee="{ row }"> <template #column-employee="{ row }">
<span class="link" @click.stop>{{ row.worker.user.nickname }}</span> <span class="link">{{ row.worker.user.nickname }}</span>
<WorkerDescriptorProxy :id="row.clientFk" /> <WorkerDescriptorProxy :id="row.worker.id" />
</template> </template>
</VnTable> </VnTable>
<!-- <QTable <!-- <QTable
@ -113,7 +113,6 @@ const columns = computed(() => [
<i18n> <i18n>
es: es:
Rating: Clasificación
Recommended credit: Crédito recomendado Recommended credit: Crédito recomendado
Since: Desde Since: Desde
Employee: Empleado Employee: Empleado