fix: customer last tickets #926

Merged
jsegarra merged 2 commits from fixCustomerSumarryLastTickets into master 2024-11-13 12:56:24 +00:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit ddfea42c62 - Show all commits

View File

@ -185,17 +185,16 @@ const getItemPackagingType = (ticketSales) => {
class="full-width" class="full-width"
:disable-infinite-scroll="true" :disable-infinite-scroll="true"
redirect="ticket" redirect="ticket"
:row-click="false"
> >

Le damos una vuelta porque se pierde funcionalidad
Eliminar la linea y añadir @click.stop en la definición de las columnas

Le damos una vuelta porque se pierde funcionalidad Eliminar la linea y añadir @click.stop en la definición de las columnas
<template #column-nickname="{ row }"> <template #column-nickname="{ row }">
<span class="link"> <span class="link" @click.stop>
{{ row.nickname }} {{ row.nickname }}
<CustomerDescriptorProxy :id="row.clientFk" /> <CustomerDescriptorProxy :id="row.clientFk" />
</span> </span>
</template> </template>
<template #column-routeFk="{ row }"> <template #column-routeFk="{ row }">
<span class="link"> <span class="link" @click.stop>
{{ row.routeFk }} {{ row.routeFk }}
<RouteDescriptorProxy :id="row.routeFk" /> <RouteDescriptorProxy :id="row.routeFk" />
</span> </span>
@ -212,7 +211,7 @@ const getItemPackagingType = (ticketSales) => {
<span v-else> {{ toCurrency(row.totalWithVat) }}</span> <span v-else> {{ toCurrency(row.totalWithVat) }}</span>
</template> </template>
<template #column-state="{ row }"> <template #column-state="{ row }">
<span v-if="row.invoiceOut"> <span v-if="row.invoiceOut" @click.stop>
<span :class="{ link: row.invoiceOut.ref }"> <span :class="{ link: row.invoiceOut.ref }">
{{ row.invoiceOut.ref }} {{ row.invoiceOut.ref }}
<InvoiceOutDescriptorProxy :id="row.invoiceOut.id" /> <InvoiceOutDescriptorProxy :id="row.invoiceOut.id" />