0
0
Fork 0

small changes

This commit is contained in:
William Buezas 2024-06-20 07:57:39 -03:00
parent 45cf4498d3
commit 0ba415c0ea
1 changed files with 11 additions and 2 deletions

View File

@ -377,6 +377,7 @@ const moveTicketsAdvance = async () => {
const params = { tickets: ticketsToMove }; const params = { tickets: ticketsToMove };
await axios.post('Tickets/merge', params); await axios.post('Tickets/merge', params);
arrayData.fetch({ append: false }); arrayData.fetch({ append: false });
selectedTickets.value = [];
if (ticketsToMove.length) if (ticketsToMove.length)
notify(t('advanceTickets.moveTicketSuccess'), 'positive'); notify(t('advanceTickets.moveTicketSuccess'), 'positive');
} catch (error) { } catch (error) {
@ -533,11 +534,19 @@ onMounted(async () => {
> >
<template #header="props"> <template #header="props">
<QTr :props="props"> <QTr :props="props">
<QTh class="horizontal-separator" colspan="7" translate> <QTh
class="horizontal-separator text-uppercase color-vn-label"
colspan="7"
translate
>
{{ t('advanceTickets.origin') }} {{ t('advanceTickets.origin') }}
{{ toDateFormat(userParams.dateToAdvance) }} {{ toDateFormat(userParams.dateToAdvance) }}
</QTh> </QTh>
<QTh class="horizontal-separator" colspan="9" translate> <QTh
class="horizontal-separator text-uppercase color-vn-label"
colspan="9"
translate
>
{{ t('advanceTickets.destination') }} {{ t('advanceTickets.destination') }}
{{ toDateFormat(userParams.dateFuture) }} {{ toDateFormat(userParams.dateFuture) }}
</QTh> </QTh>