#8604: TicketFuture to VnTable #1395

Merged
jon merged 13 commits from 8604-FixTicketFuture into dev 2025-02-14 12:14:00 +00:00
1 changed files with 6 additions and 7 deletions
Showing only changes of commit 69e77b57ba - Show all commits

View File

@ -15,7 +15,6 @@ import { getDateQBadgeColor } from 'src/composables/getDateQBadgeColor.js';
import useNotify from 'src/composables/useNotify.js';
import { useState } from 'src/composables/useState';
import { toDateTimeFormat } from 'src/filters/date.js';
import { toDateFormat } from 'src/filters/date.js';
import axios from 'axios';
jon marked this conversation as resolved Outdated

podemos dejarlo en 1?

podemos dejarlo en 1?
const state = useState();
@ -188,8 +187,8 @@ watch(
destinationElRef.value.textContent = `${t(
'advanceTickets.destination',
)} ${toDateFormat(vnTableRef.value.params.dateToAdvance)}`;
originElRef.value.textContent = `${t('advanceTickets.origin')} ${toDateFormat(
)} ${toDateTimeFormat(vnTableRef.value.params.dateToAdvance)}`;
originElRef.value.textContent = `${t('advanceTickets.origin')} ${toDateTimeFormat(
vnTableRef.value.params.dateFuture,
)}`;
@ -205,8 +204,8 @@ watch(
if (originElRef.value && destinationElRef.value) {
destinationElRef.value.textContent = `${t(
'advanceTickets.destination',
)} ${toDateFormat(vnTableRef.value.params.dateToAdvance)}`;
originElRef.value.textContent = `${t('advanceTickets.origin')} ${toDateFormat(
)} ${toDateTimeFormat(vnTableRef.value.params.dateToAdvance)}`;
originElRef.value.textContent = `${t('advanceTickets.origin')} ${toDateTimeFormat(
vnTableRef.value.params.dateFuture,
)}`;
}
@ -360,7 +359,7 @@ watch(
</span>
</template>
<template #column-id="{ row }">
<QBtn flat class="link">
<QBtn flat class="link" @click.stop>
{{ row.id }}
jon marked this conversation as resolved Outdated

@clisk.stop

@clisk.stop
<TicketDescriptorProxy :id="row.id" />
</QBtn>
@ -401,7 +400,7 @@ watch(
</QBadge>
</template>
<template #column-futureId="{ row }">
<QBtn flat class="link" dense>
<QBtn flat class="link" @click.stop dense>
{{ row.futureId }}
jon marked this conversation as resolved Outdated

@click.stop

@click.stop
<TicketDescriptorProxy :id="row.futureId" />
</QBtn>