diff --git a/src/components/common/VnProgressModal.vue b/src/components/common/VnProgressModal.vue new file mode 100644 index 000000000..cfd948d5f --- /dev/null +++ b/src/components/common/VnProgressModal.vue @@ -0,0 +1,97 @@ + + + + + +es: + Progress: Progreso + Total progress: Progreso total + Cancelled: Cancelado + diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index cff8eabe9..5965a98ec 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -444,6 +444,7 @@ ticket: sms: Sms notes: Notes sale: Sale + ticketAdvance: Advance tickets list: nickname: Nickname state: State diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 4c2006359..c937b0b11 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -443,6 +443,7 @@ ticket: sms: Sms notes: Notas sale: Lineas del pedido + ticketAdvance: Adelantar tickets list: nickname: Alias state: Estado diff --git a/src/pages/Ticket/TicketAdvance.vue b/src/pages/Ticket/TicketAdvance.vue new file mode 100644 index 000000000..8b0a426dd --- /dev/null +++ b/src/pages/Ticket/TicketAdvance.vue @@ -0,0 +1,710 @@ + + + + + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index d63f1e29c..5a74b709a 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -25,3 +25,31 @@ ticketSale: card: search: Search tickets searchInfo: You can search by ticket id or alias +advanceTickets: + origin: Origin + destination: Destination + originAgency: 'Origin agency: {agency}' + destinationAgency: 'Destination agency: {agency}' + ticketId: ID + ipt: IPT + state: State + liters: Liters + lines: Lines + import: Import + futureId: ID + futureIpt: IPT + futureState: State + futureLiters: Liters + futureZone: Zone + notMovableLines: Not movable + futureLines: Lines + futureImport: Import + advanceTickets: Advance tickets with negatives + advanceTicketTitle: Advance {selectedTickets} tickets + advanceTitleSubtitle: Advance {selectedTickets} tickets confirmation + noDeliveryZone: No delivery zone available for this landing date + moveTicketSuccess: 'Tickets moved successfully! {ticketsNumber}' + advanceTicketsWithoutNegatives: Advance tickets without negatives + advanceWithoutNegativeTitle: Advance tickets (without negatives) + advanceWithoutNegativeSubtitle: Advance {selectedTickets} tickets confirmation + errorsList: Errors list diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index 4b8b70c82..8a690bcaa 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -1,3 +1,31 @@ +advanceTickets: + origin: Origen + destination: Destinatario + originAgency: 'Agencia origen: {agency}' + destinationAgency: 'Agencia destino: {agency}' + ticketId: ID + ipt: IPT + state: Estado + liters: Litros + lines: Líneas + import: Importe + futureId: ID + futureIpt: IPT + futureState: Estado + futureLiters: Litros + futureZone: Zona + notMovableLines: No movibles + futureLines: Líneas + futureImport: Importe + advanceTickets: Adelantar tickets con negativos + advanceTicketTitle: Advance tickets + advanceTitleSubtitle: '¿Desea adelantar {selectedTickets} tickets?' + noDeliveryZone: No hay una zona de reparto disponible para la fecha de envío seleccionada + moveTicketSuccess: 'Tickets movidos correctamente {ticketsNumber}' + advanceTicketsWithoutNegatives: Adelantar tickets sin negativos + advanceWithoutNegativeTitle: Adelantar tickets (sin negativos) + advanceWithoutNegativeSubtitle: '¿Desea adelantar {selectedTickets} tickets?' + errorsList: Lista de errores Search ticket: Buscar ticket You can search by ticket id or alias: Puedes buscar por id o alias del ticket ticketSale: diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index 71b926308..a9e1b29bd 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', 'TicketAdvance'], card: ['TicketBoxing', 'TicketSms', 'TicketSale', 'TicketLog'], }, children: [ @@ -40,6 +40,15 @@ export default { }, component: () => import('src/pages/Ticket/TicketCreate.vue'), }, + { + name: 'TicketAdvance', + path: 'advance', + meta: { + title: 'ticketAdvance', + icon: 'keyboard_double_arrow_left', + }, + component: () => import('src/pages/Ticket/TicketAdvance.vue'), + }, ], }, {