#8604: TicketFuture to VnTable #1395
|
@ -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
|
||||
|
||||
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
jsegarra
commented
@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
jsegarra
commented
@click.stop @click.stop
|
||||
<TicketDescriptorProxy :id="row.futureId" />
|
||||
</QBtn>
|
||||
|
|
Loading…
Reference in New Issue
podemos dejarlo en 1?