diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index 5965a98ec..d121dfb66 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -445,6 +445,7 @@ ticket:
notes: Notes
sale: Sale
ticketAdvance: Advance tickets
+ futureTickets: Future tickets
list:
nickname: Nickname
state: State
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index c937b0b11..3654f4a72 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -444,6 +444,7 @@ ticket:
notes: Notas
sale: Lineas del pedido
ticketAdvance: Adelantar tickets
+ futureTickets: Tickets a futuro
list:
nickname: Alias
state: Estado
diff --git a/src/pages/Ticket/TicketFuture.vue b/src/pages/Ticket/TicketFuture.vue
new file mode 100644
index 000000000..4db32de75
--- /dev/null
+++ b/src/pages/Ticket/TicketFuture.vue
@@ -0,0 +1,533 @@
+
+
+
+ (itemPackingTypesOptions = data)"
+ />
+
+
+
+
+
+ {{ t('futureTickets.futureTicket') }}
+
+
+
+
+
+
+
+
+
+
+ {{ t('futureTickets.origin') }}
+
+
+ {{ t('futureTickets.destination') }}
+
+
+
+
+
+
+
+ {{ col.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ col.label }}
+
+
+
+
+
+
+ {{ t('futureTickets.noVerified') }}
+
+
+
+
+ {{ t('futureTickets.purchaseRequest') }}
+
+
+
+
+ {{ t('futureTickets.noVisible') }}
+
+
+
+
+ {{ t('futureTickets.clientFrozen') }}
+
+
+
+
+ {{ t('futureTickets.risk') }}: {{ row.risk }}
+
+
+
+
+ {{ t('futureTickets.componentLack') }}
+
+
+
+
+ {{ t('futureTickets.rounding') }}
+
+
+
+
+
+
+
+ {{ row.id }}
+
+
+
+
+
+
+
+ {{ toDateTimeFormat(row.shipped) }}
+
+
+
+
+
+
+ {{ row.state }}
+
+
+
+
+
+
+ {{ toCurrency(row.totalWithVat || 0) }}
+
+
+
+
+
+
+ {{ row.futureId }}
+
+
+
+
+
+
+
+ {{ toDateTimeFormat(row.futureShipped) }}
+
+
+
+
+
+
+ {{ row.futureState }}
+
+
+
+
+
+
+
+
diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml
index 5a74b709a..a89671a0c 100644
--- a/src/pages/Ticket/locale/en.yml
+++ b/src/pages/Ticket/locale/en.yml
@@ -53,3 +53,30 @@ advanceTickets:
advanceWithoutNegativeTitle: Advance tickets (without negatives)
advanceWithoutNegativeSubtitle: Advance {selectedTickets} tickets confirmation
errorsList: Errors list
+futureTickets:
+ problems: Problems
+ ticketId: ID
+ shipped: Date
+ ipt: IPT
+ state: State
+ liters: Liters
+ import: Import
+ availableLines: Available lines
+ futureId: ID
+ futureShipped: Date
+ futureIpt: IPT
+ futureState: State
+ noVerified: No verified data
+ noVisible: Not visible
+ purchaseRequest: Purchase request
+ clientFrozen: Client frozen
+ componentLack: Component lack
+ rounding: Rounding
+ risk: Risk
+ origin: Origin
+ destination: Destination
+ moveTicketTitle: Move tickets
+ moveTicketDialogSubtitle: 'Do you want to move {selectedTickets} tickets to the future?'
+ moveTicketSuccess: Tickets moved successfully!
+ searchInfo: Search future tickets by date
+ futureTicket: Future tickets
diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml
index 8a690bcaa..ce52e18ba 100644
--- a/src/pages/Ticket/locale/es.yml
+++ b/src/pages/Ticket/locale/es.yml
@@ -26,7 +26,34 @@ advanceTickets:
advanceWithoutNegativeTitle: Adelantar tickets (sin negativos)
advanceWithoutNegativeSubtitle: '¿Desea adelantar {selectedTickets} tickets?'
errorsList: Lista de errores
-Search ticket: Buscar ticket
+futureTickets:
+ problems: Problemas
+ ticketId: ID
+ shipped: Fecha
+ ipt: IPT
+ state: Estado
+ liters: Litros
+ import: Importe
+ availableLines: Líneas disponibles
+ futureId: ID
+ futureShipped: Fecha
+ futureIpt: IPT
+ futureState: Estado
+ noVerified: Sin datos comprobados
+ noVisible: No visible
+ purchaseRequest: Petición de compra
+ clientFrozen: Cliente congelado
+ risk: Riesgo
+ componentLack: Faltan componentes
+ rounding: Redondeo
+ origin: Origen
+ destination: Destino
+ moveTicketTitle: Mover tickets
+ moveTicketDialogSubtitle: '¿Desea mover {selectedTickets} tickets hacia el futuro?'
+ moveTicketSuccess: Tickets movidos correctamente
+ searchInfo: Buscar tickets por fecha
+ futureTicket: Tickets a futuro
+Search ticket: Buscar tickets
You can search by ticket id or alias: Puedes buscar por id o alias del ticket
ticketSale:
id: Id
diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js
index a9e1b29bd..9c105be32 100644
--- a/src/router/modules/ticket.js
+++ b/src/router/modules/ticket.js
@@ -11,7 +11,7 @@ export default {
component: RouterView,
redirect: { name: 'TicketMain' },
menus: {
- main: ['TicketList', 'TicketAdvance'],
+ main: ['TicketList', 'TicketAdvance', 'TicketFuture'],
card: ['TicketBoxing', 'TicketSms', 'TicketSale', 'TicketLog'],
},
children: [
@@ -49,6 +49,15 @@ export default {
},
component: () => import('src/pages/Ticket/TicketAdvance.vue'),
},
+ {
+ name: 'TicketFuture',
+ path: 'future',
+ meta: {
+ title: 'futureTickets',
+ icon: 'keyboard_double_arrow_right',
+ },
+ component: () => import('src/pages/Ticket/TicketFuture.vue'),
+ },
],
},
{