From 9ceac32d8986d1388bd8d8a6fa0ec0e890291f3c Mon Sep 17 00:00:00 2001 From: jgallego Date: Fri, 7 Jun 2024 11:59:26 +0200 Subject: [PATCH 1/2] feat: refs #7548 grafana --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Ticket/Card/TicketSummary.vue | 14 ++++++++++++++ 3 files changed, 16 insertions(+) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 85f78a7ee..725df7985 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -470,6 +470,7 @@ ticket: agency: Agency zone: Zone warehouse: Warehouse + collection: Collection route: Route invoice: Invoice shipped: Shipped diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index ae3f24e51..9b6c9b922 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -468,6 +468,7 @@ ticket: agency: Agencia zone: Zona warehouse: Almacén + collection: Colección route: Ruta invoice: Factura shipped: Enviado diff --git a/src/pages/Ticket/Card/TicketSummary.vue b/src/pages/Ticket/Card/TicketSummary.vue index f55669619..7c4d8f821 100644 --- a/src/pages/Ticket/Card/TicketSummary.vue +++ b/src/pages/Ticket/Card/TicketSummary.vue @@ -35,6 +35,7 @@ const ticket = ref(); const salesLines = ref(null); const editableStates = ref([]); const ticketUrl = ref(); +const grafanaUrl = 'https://grafana.verdnatura.es'; onMounted(async () => { ticketUrl.value = (await getUrl('ticket/')) + entityId.value + '/'; @@ -159,6 +160,19 @@ async function changeState(value) { :label="t('ticket.summary.warehouse')" :value="ticket.warehouse?.name" /> + + +