feat: add departmentMail #1058

Closed
jorgep wants to merge 3 commits from hotfix-addDeptMail into master
3 changed files with 8 additions and 0 deletions
Showing only changes of commit 892fda888b - Show all commits

View File

@ -335,6 +335,7 @@ globals:
deleteConfirmTitle: Delete selected elements
changeState: Change state
raid: 'Raid {daysInForward} days'
departmentMail: Ce
errors:
statusUnauthorized: Access denied
statusInternalServerError: An internal server error has ocurred

View File

@ -339,6 +339,7 @@ globals:
deleteConfirmTitle: Eliminar los elementos seleccionados
changeState: Cambiar estado
raid: 'Redada {daysInForward} días'
departmentMail: Ce
errors:
statusUnauthorized: Acceso denegado
statusInternalServerError: Ha ocurrido un error interno del servidor

View File

@ -10,6 +10,7 @@ import { useState } from 'src/composables/useState';
import axios from 'axios';
import VnImg from 'src/components/ui/VnImg.vue';
import EditPictureForm from 'components/EditPictureForm.vue';
import department from 'src/router/modules/department';
const $props = defineProps({
id: {
@ -143,6 +144,11 @@ const handlePhotoUpdated = (evt = false) => {
:value="entity.user?.emailUser?.email"
copy
/>
<VnLv
:label="t('globals.departmentMail')"
:value="entity?.department?.department?.notificationEmail"
copy
/>
<VnLv
:label="t('worker.list.department')"
:value="entity.department ? entity.department.department.name : null"