diff --git a/src/pages/Order/Card/OrderLines.vue b/src/pages/Order/Card/OrderLines.vue index 5aec976fa..c852ab6a1 100644 --- a/src/pages/Order/Card/OrderLines.vue +++ b/src/pages/Order/Card/OrderLines.vue @@ -111,6 +111,7 @@ const columns = computed(() => [ component: 'select', attrs: { url: 'Items', + sortBy: 'name ASC ', fields: ['id', 'name', 'subName'], }, columnField: { diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index 0e464d533..1b9791529 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -106,6 +106,13 @@ const columns = computed(() => [ format: (row) => row?.item?.name, columnClass: 'expand', }, + { + align: 'left', + label: t('ticketSale.size'), + name: 'size', + format: (row) => row?.item?.size, + columnClass: 'expand', + }, { align: 'left', label: t('ticketSale.price'), diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index 829ea7a91..b3ab0e69b 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -48,6 +48,7 @@ ticketSale: shipped: Shipped agency: Agency address: Address + size: Size advanceTickets: preparation: Preparation origin: Origin diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index eab38a402..32ff3ba62 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -184,6 +184,7 @@ ticketSale: shipped: F. Envío agency: Agencia address: Consignatario + size: Medida ticketComponents: item: Artículo description: Descripción