diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 616dec38d..3cce2a853 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -453,6 +453,7 @@ ticket: service: Service attender: Attender ok: Ok + consigneeStreet: Street create: address: Address invoiceOut: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index e44cf2b9b..897edd9fe 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -448,6 +448,7 @@ ticket: purchaseRequest: Petición de compra service: Servicio attender: Consignatario + consigneeStreet: Dirección create: address: Dirección order: diff --git a/src/pages/Ticket/Card/TicketSummary.vue b/src/pages/Ticket/Card/TicketSummary.vue index 2c7976f52..bb338191b 100644 --- a/src/pages/Ticket/Card/TicketSummary.vue +++ b/src/pages/Ticket/Card/TicketSummary.vue @@ -46,16 +46,6 @@ onMounted(async () => { ticketUrl.value = (await getUrl('ticket/')) + entityId.value + '/'; }); -function formattedAddress() { - if (!ticket.value) return ''; - - const address = ticket.value.address; - const postcode = address.postalCode; - const province = address.province ? `(${address.province.name})` : ''; - - return `${address.street} - ${postcode} - ${address.city} ${province}`; -} - function isEditable() { try { return !ticket.value.ticketState?.state?.alertLevel; @@ -243,7 +233,11 @@ onMounted(async () => { +