diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index d121dfb66..849f00c88 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -446,6 +446,7 @@ ticket:
sale: Sale
ticketAdvance: Advance tickets
futureTickets: Future tickets
+ expedition: Expedition
list:
nickname: Nickname
state: State
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index 3654f4a72..6c722e43d 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -445,6 +445,7 @@ ticket:
sale: Lineas del pedido
ticketAdvance: Adelantar tickets
futureTickets: Tickets a futuro
+ expedition: Expedición
list:
nickname: Alias
state: Estado
diff --git a/src/pages/Ticket/Card/TicketExpedition.vue b/src/pages/Ticket/Card/TicketExpedition.vue
new file mode 100644
index 000000000..280e82b8a
--- /dev/null
+++ b/src/pages/Ticket/Card/TicketExpedition.vue
@@ -0,0 +1,244 @@
+
+
+
+ (expeditions = data)"
+ />
+
+
+
+
+
+
+
+
+
+
+ {{ row.packagingItemFk }}
+
+
+
+
+
+
+ {{ row.available }}
+
+
+
+
+
+
+
+
+ {{ toCurrency(row.price) }}
+
+
+
+
+
+ {{ toCurrency(row.price) }}
+
+
+
+
+
+
+ {{ toPercentage(row.discount / 100) }}
+
+
+
+
+
+ {{ toPercentage(row.discount / 100) }}
+
+
+
+
+
+
+ {{ t('expedition.historyAction') }}
+
+
+
+
+
+
+
+
diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml
index a89671a0c..04822df3e 100644
--- a/src/pages/Ticket/locale/en.yml
+++ b/src/pages/Ticket/locale/en.yml
@@ -80,3 +80,13 @@ futureTickets:
moveTicketSuccess: Tickets moved successfully!
searchInfo: Search future tickets by date
futureTicket: Future tickets
+expedition:
+ id: Expedition
+ item: Item
+ name: Name
+ packageType: Package type
+ counter: Counter
+ externalId: externalId
+ created: Created
+ state: State
+ historyAction: Status log
diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml
index ce52e18ba..7cbbd02bd 100644
--- a/src/pages/Ticket/locale/es.yml
+++ b/src/pages/Ticket/locale/es.yml
@@ -79,6 +79,16 @@ ticketSale:
shipped: F. Envío
agency: Agencia
address: Consignatario
+expedition:
+ id: Expedición
+ item: Artículo
+ name: Nombre
+ packageType: Package type
+ counter: Contador
+ externalId: externalId
+ created: Fecha creación
+ state: Estado
+ historyAction: Historial de estados
card:
search: Buscar tickets
searchInfo: Buscar tickets por identificador o alias
diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js
index 9c105be32..878396604 100644
--- a/src/router/modules/ticket.js
+++ b/src/router/modules/ticket.js
@@ -12,7 +12,13 @@ export default {
redirect: { name: 'TicketMain' },
menus: {
main: ['TicketList', 'TicketAdvance', 'TicketFuture'],
- card: ['TicketBoxing', 'TicketSms', 'TicketSale', 'TicketLog'],
+ card: [
+ 'TicketBoxing',
+ 'TicketSms',
+ 'TicketSale',
+ 'TicketLog',
+ 'TicketExpedition',
+ ],
},
children: [
{
@@ -94,13 +100,13 @@ export default {
component: () => import('src/pages/Ticket/Card/TicketSale.vue'),
},
{
- path: 'boxing',
- name: 'TicketBoxing',
+ path: 'expedition',
+ name: 'TicketExpedition',
meta: {
- title: 'boxing',
+ title: 'expedition',
icon: 'vn:package',
},
- component: () => import('src/pages/Ticket/Card/TicketBoxing.vue'),
+ component: () => import('src/pages/Ticket/Card/TicketExpedition.vue'),
},
{
path: 'sms',
@@ -120,6 +126,15 @@ export default {
},
component: () => import('src/pages/Ticket/Card/TicketLog.vue'),
},
+ {
+ path: 'boxing',
+ name: 'TicketBoxing',
+ meta: {
+ title: 'boxing',
+ icon: 'vn:science',
+ },
+ component: () => import('src/pages/Ticket/Card/TicketBoxing.vue'),
+ },
],
},
],