From d3993442b677d03155aaec8d39efadd5a69265b1 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 18 Nov 2024 13:26:27 +0100 Subject: [PATCH 1/2] fix: hotfix OrderTickets --- src/pages/Order/Card/OrderLines.vue | 1 + src/pages/Ticket/Card/TicketSale.vue | 7 +++++++ src/pages/Ticket/locale/en.yml | 1 + src/pages/Ticket/locale/es.yml | 1 + 4 files changed, 10 insertions(+) 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 From 00fdbfa2e4bd9823a1a6b7641e99317ca18b8885 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 18 Nov 2024 13:41:54 +0100 Subject: [PATCH 2/2] fix(OrderCatalogFilter): hotFix use search-url="params" --- src/pages/Order/Card/OrderCatalogFilter.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index 6de43e86a..4c018bbb1 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -184,6 +184,7 @@ function addOrder(value, field, params) { :custom-tags="['tagGroups']" @remove="clearFilter" :redirect="false" + search-url="params" >