Merge pull request 'refactor: refs #8721 swap 'client' and 'street' columns' (!1608) from 8721-reorderColumnsRouteTickets into dev
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1608
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Jose Antonio Tubau 2025-03-18 10:44:45 +00:00
commit d698275ba2
1 changed files with 9 additions and 9 deletions

View File

@ -30,16 +30,16 @@ const columns = computed(() => [
align: 'center', align: 'center',
}, },
{ {
name: 'street', name: 'client',
label: t('Street'), label: t('Client'),
field: (row) => row?.street, field: (row) => row?.nickname,
sortable: false, sortable: false,
align: 'left', align: 'left',
}, },
{ {
name: 'client', name: 'street',
label: t('Client'), label: t('Street'),
field: (row) => row?.nickname, field: (row) => row?.street,
sortable: false, sortable: false,
align: 'left', align: 'left',
}, },
@ -319,7 +319,7 @@ const openSmsDialog = async () => {
selection="multiple" selection="multiple"
> >
<template #body-cell-order="{ row }"> <template #body-cell-order="{ row }">
<QTd class="order-field"> <QTd class="order-field" auto-width>
<div class="flex no-wrap items-center"> <div class="flex no-wrap items-center">
<QIcon <QIcon
name="low_priority" name="low_priority"
@ -341,7 +341,7 @@ const openSmsDialog = async () => {
</QTd> </QTd>
</template> </template>
<template #body-cell-city="{ value, row }"> <template #body-cell-city="{ value, row }">
<QTd auto-width> <QTd>
<span class="link" @click="goToBuscaman(row)"> <span class="link" @click="goToBuscaman(row)">
{{ value }} {{ value }}
<QTooltip>{{ t('Open buscaman') }}</QTooltip> <QTooltip>{{ t('Open buscaman') }}</QTooltip>
@ -349,7 +349,7 @@ const openSmsDialog = async () => {
</QTd> </QTd>
</template> </template>
<template #body-cell-client="{ value, row }"> <template #body-cell-client="{ value, row }">
<QTd auto-width> <QTd>
<span class="link"> <span class="link">
{{ value }} {{ value }}
<CustomerDescriptorProxy :id="row?.clientFk" /> <CustomerDescriptorProxy :id="row?.clientFk" />