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