diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 1b51799db..cff8eabe9 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -845,7 +845,7 @@ worker: calendar: Calendar timeControl: Time control locker: Locker - + formation: Formation list: name: Name email: Email @@ -915,6 +915,16 @@ worker: payMethods: Pay method iban: IBAN bankEntity: Swift / BIC + formation: + tableVisibleColumns: + course: Curso + startDate: Fecha Inicio + endDate: Fecha Fin + center: Centro Formación + invoice: Factura + amount: Importe + remark: Bonficado + hasDiploma: Diploma imageNotFound: Image not found wagon: pageTitles: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 55b6e4667..4c2006359 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -841,6 +841,7 @@ worker: calendar: Calendario timeControl: Control de horario locker: Taquilla + formation: Formación list: name: Nombre email: Email @@ -901,6 +902,16 @@ worker: payMethods: Método de pago iban: IBAN bankEntity: Swift / BIC + formation: + tableVisibleColumns: + course: Curso + startDate: Fecha Inicio + endDate: Fecha Fin + center: Centro Formación + invoice: Factura + amount: Importe + remark: Bonficado + hasDiploma: Diploma imageNotFound: No se ha encontrado la imagen wagon: pageTitles: diff --git a/src/pages/Travel/Card/TravelThermographs.vue b/src/pages/Travel/Card/TravelThermographs.vue index d2195beb4..1898a58d6 100644 --- a/src/pages/Travel/Card/TravelThermographs.vue +++ b/src/pages/Travel/Card/TravelThermographs.vue @@ -13,7 +13,7 @@ import useNotify from 'src/composables/useNotify.js'; import { toDate } from 'src/filters'; import { downloadFile } from 'src/composables/downloadFile'; -const route = useRoute(); +const {{id}} = useRoute(); const quasar = useQuasar(); const router = useRouter(); const { t } = useI18n(); @@ -29,7 +29,7 @@ const thermographFilter = { fields: ['id', 'name'], }, }, - where: { travelFk: route.params.id }, + where: { travelFk: id }, order: ['created'], }; @@ -137,7 +137,7 @@ const removeThermograph = async (id) => { data-key="TravelThermographs" url="TravelThermographs" :filter="thermographFilter" - :params="{ travelFk: route.params.id }" + :params="{ travelFk: id }" auto-load >