diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index e6276ae26..f0b52b9da 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -444,6 +444,7 @@ ticket: sms: Sms notes: Notes sale: Sale + volume: Volume observation: Notes ticketAdvance: Advance tickets futureTickets: Future tickets diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 66b9ef9af..a31e508d8 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 + volume: Volumen observation: Notas ticketAdvance: Adelantar tickets futureTickets: Tickets a futuro diff --git a/src/pages/Ticket/Card/TicketVolume.vue b/src/pages/Ticket/Card/TicketVolume.vue new file mode 100644 index 000000000..93da31e53 --- /dev/null +++ b/src/pages/Ticket/Card/TicketVolume.vue @@ -0,0 +1,153 @@ + + + + applyVolumes(data)" + auto-load + /> + + + + + + {{ t('volume.type') }}: + {{ dashIfEmpty(packingType.description) }} + + + + {{ t('volume.volume') }}: {{ packingType.volume }} + + + + + + + + + {{ row.itemFk }} + + + + + + + + {{ row.item.name }} + {{ row.item.subName }} + + + + + + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index abb354c67..4add5882f 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -1,6 +1,14 @@ card: search: Search tickets searchInfo: You can search by ticket id or alias +volume: + item: Item + description: Description + packingType: Packing Type + quantity: Quantity + volumeQuantity: m³ per quantity + type: Type + volume: Volume ticketNotes: observationType: Observation type description: Description diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index 6fb8ecc34..b35215bbb 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -1,6 +1,14 @@ card: search: Buscar tickets searchInfo: Buscar tickets por identificador o alias +volume: + item: Artículo + description: Descripción + packingType: Encajado + quantity: Cantidad + volumeQuantity: m³ por cantidad + type: Tipo + volume: Volumen ticketNotes: observationType: Tipo de observación description: Descripción diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index 4c5c52e24..dfe1f2ab0 100644 --- a/src/router/modules/ticket.js +++ b/src/router/modules/ticket.js @@ -19,6 +19,7 @@ export default { 'TicketSale', 'TicketLog', 'TicketPurchaseRequest', + 'TicketVolume', 'TicketNotes', ], }, @@ -148,6 +149,15 @@ export default { }, component: () => import('src/pages/Ticket/Card/TicketSms.vue'), }, + { + path: 'volume', + name: 'TicketVolume', + meta: { + title: 'volume', + icon: 'vn:volume', + }, + component: () => import('src/pages/Ticket/Card/TicketVolume.vue'), + }, { path: 'observation', name: 'TicketNotes',