diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 7d680c681..0e6edeab2 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -830,6 +830,7 @@ worker: calendar: Calendar timeControl: Time control locker: Locker + list: name: Name email: Email @@ -861,6 +862,15 @@ worker: role: Role sipExtension: Extension locker: Locker + fiDueDate: Fecha de caducidad del DNI + sex: Sexo + seniority: Antigüedad + fi: DNI/NIE/NIF + birth: Cumpleaños + isFreelance: Autónomo + isSsDiscounted: Bonificación SS + hasMachineryAuthorized: Autorizado para llevar maquinaria + isDisable: Trabajador desactivado notificationsManager: activeNotifications: Active notifications availableNotifications: Available notifications diff --git a/src/pages/Worker/Card/WorkerBasicData.vue b/src/pages/Worker/Card/WorkerBasicData.vue index 12ad7956b..2f69de318 100644 --- a/src/pages/Worker/Card/WorkerBasicData.vue +++ b/src/pages/Worker/Card/WorkerBasicData.vue @@ -78,7 +78,6 @@ const maritalStatus = [ - {{ data }} + + + + + + + + + + + + + + @@ -174,4 +195,12 @@ es: SSN: NSS Locker: Taquilla fiDueDate: Fecha de caducidad del DNI + seniority: Antigüedad + hasMachineryAuthorized: Autorizado para llevar maquinaria + isFreelance: Autónomo + isDisable: Trabajador desactivado + fi: DNI/NIE/NIF + sex: Sexo + birth: Cumpleaños + isSsDiscounted: Bonificación SS diff --git a/src/pages/Worker/Card/WorkerSummary.vue b/src/pages/Worker/Card/WorkerSummary.vue index 5b25fe335..65375373a 100644 --- a/src/pages/Worker/Card/WorkerSummary.vue +++ b/src/pages/Worker/Card/WorkerSummary.vue @@ -2,7 +2,7 @@ import { ref, onMounted, computed } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; -import { dashIfEmpty } from 'src/filters'; +import { dashIfEmpty, toDate } from 'src/filters'; import { getUrl } from 'src/composables/getUrl'; import VnLv from 'src/components/ui/VnLv.vue'; import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue'; @@ -110,6 +110,41 @@ const filter = { + + + + + + + + +