From 06e8e819f4da8f4c5718d820ce39e73b5cfc6f13 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 17 Jun 2024 12:11:23 -0300 Subject: [PATCH] WIP --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Ticket/TicketFuture.vue | 443 ++++++++++++++++++++++++++++++ src/pages/Ticket/locale/en.yml | 22 ++ src/pages/Ticket/locale/es.yml | 22 ++ src/router/modules/ticket.js | 11 +- 6 files changed, 499 insertions(+), 1 deletion(-) create mode 100644 src/pages/Ticket/TicketFuture.vue create mode 100644 src/pages/Ticket/locale/en.yml diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 5ef3a5472..9a70e5eb7 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -442,6 +442,7 @@ ticket: sms: Sms notes: Notes sale: Sale + futureTickets: Future tickets list: nickname: Nickname state: State diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index cfadd57b3..1a307d3d1 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -440,6 +440,7 @@ ticket: sms: Sms notes: Notas sale: Lineas del pedido + 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..ca3753424 --- /dev/null +++ b/src/pages/Ticket/TicketFuture.vue @@ -0,0 +1,443 @@ + + + + + + + +es: + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml new file mode 100644 index 000000000..b421a07b9 --- /dev/null +++ b/src/pages/Ticket/locale/en.yml @@ -0,0 +1,22 @@ +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 diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index 5348b29b9..52c1fbf04 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -1,2 +1,24 @@ +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 Search ticket: Buscar ticket You can search by ticket id or alias: Puedes buscar por id o alias del ticket diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index 6cb7291dc..993934c64 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'], + main: ['TicketList', 'TicketFuture'], card: ['TicketBoxing', 'TicketSms', 'TicketSale'], }, children: [ @@ -40,6 +40,15 @@ export default { }, component: () => import('src/pages/Ticket/TicketCreate.vue'), }, + { + name: 'TicketFuture', + path: 'future', + meta: { + title: 'futureTickets', + icon: 'keyboard_double_arrow_right', + }, + component: () => import('src/pages/Ticket/TicketFuture.vue'), + }, ], }, {