diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index fbab06966..e6276ae26 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -444,6 +444,7 @@ ticket: sms: Sms notes: Notes sale: Sale + observation: Notes ticketAdvance: Advance tickets futureTickets: Future tickets purchaseRequest: Purchase request diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index fec78d5e6..66b9ef9af 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 + observation: Notas ticketAdvance: Adelantar tickets futureTickets: Tickets a futuro purchaseRequest: Petición de compra diff --git a/src/pages/Ticket/Card/TicketDescriptor.vue b/src/pages/Ticket/Card/TicketDescriptor.vue index dfbcfc106..5fb312b28 100644 --- a/src/pages/Ticket/Card/TicketDescriptor.vue +++ b/src/pages/Ticket/Card/TicketDescriptor.vue @@ -71,7 +71,7 @@ const filter = { const data = ref(useCardDescription()); const setData = (entity) => - (data.value = useCardDescription(entity.client.name, entity.id)); + (data.value = useCardDescription(entity.client?.name, entity.id));