From 9179dc7432f9b19761cdf95cdb25a4d2c528775a Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 2 Jul 2024 09:35:18 -0300 Subject: [PATCH] Ticket package --- src/pages/Ticket/Card/TicketPackage.vue | 121 ++++++++++++++++++++++++ src/pages/Ticket/locale/en.yml | 6 ++ src/pages/Ticket/locale/es.yml | 6 ++ src/router/modules/ticket.js | 10 ++ 4 files changed, 143 insertions(+) create mode 100644 src/pages/Ticket/Card/TicketPackage.vue diff --git a/src/pages/Ticket/Card/TicketPackage.vue b/src/pages/Ticket/Card/TicketPackage.vue new file mode 100644 index 000000000..959f45b81 --- /dev/null +++ b/src/pages/Ticket/Card/TicketPackage.vue @@ -0,0 +1,121 @@ + + + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index 39aed4af7..1b9619fd3 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -164,3 +164,9 @@ tracking: worker: Worker created: Created addState: Add state +package: + package: Package + quantity: Quantity + added: Added + addPackage: Add package + removePackage: Remove package diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index d5b50efc5..32744e557 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -164,5 +164,11 @@ ticketSale: shipped: F. Envío agency: Agencia address: Consignatario +package: + package: Package + quantity: Cantidad + added: Añadido + addPackage: Añadir embalaje + removePackage: Quitar embalaje Search ticket: Buscar tickets 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 1e635470b..e14fe7908 100644 --- a/src/router/modules/ticket.js +++ b/src/router/modules/ticket.js @@ -23,6 +23,7 @@ export default { 'TicketTracking', 'TicketVolume', 'TicketNotes', + 'TicketPackage', ], }, children: [ @@ -188,6 +189,15 @@ export default { }, component: () => import('src/pages/Ticket/Card/TicketNotes.vue'), }, + { + path: 'package', + name: 'TicketPackage', + meta: { + title: 'packages', + icon: 'vn:bin', + }, + component: () => import('src/pages/Ticket/Card/TicketPackage.vue'), + }, ], }, ],