<%@page import="module.organization.domain.AccountabilityType"%> <%@page import="module.mission.domain.MissionSystem"%> <%@page import="module.organizationIst.domain.IstAccountabilityType"%> <%@page import="module.organization.domain.Unit"%> <%@page import="module.organization.domain.Accountability"%> <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%> <%@ taglib uri="http://fenix-ashes.ist.utl.pt/fenix-renderers" prefix="fr"%> <%@ taglib uri="http://fenix-ashes.ist.utl.pt/workflow" prefix="wf"%> <%@page import="module.organizationIst.domain.OrganizationIstSystem"%> <%@page import="module.mission.domain.Salary"%> <%@page import="module.organization.domain.Person"%>

<% int chainSize = process.getPersonAuthorizationChainSize(person); %>
https://fenix.ist.utl.pt/publico/retrievePersonalPhoto.do?method=retrieveByUUID&contentContextPath_PATH=/homepage&uuid= (<%= OrganizationIstSystem.getInstance().getUserAliasses(person) %>)
Entidade Patronal: <% boolean hasEmployer = false; final AccountabilityType type = IstAccountabilityType.EMPLOYMENT.readAccountabilityType(); for (final Accountability accountability : ((module.organization.domain.Person) person).getParentAccountabilitiesSet()) { if (accountability.isActiveNow() && accountability.isValid() && type == accountability.getAccountabilityType()) { final Unit unit = (Unit) accountability.getParent(); hasEmployer = true; if (unit == MissionSystem.getInstance().getOrganizationalModel().getPartiesIterator().next()) { %> <%= unit.getAcronym() %> <% } else { %> <%= unit.getAcronym() %> <% } } } if (!hasEmployer) { %> Não Tem Entidade Patronal. <% } %> : <% if (process.getMission().hasAnyCurrentRelationToInstitution((module.organization.domain.Person) person)) { %> <%= process.getMission().getCurrentRelationToInstitution((module.organization.domain.Person) person) %> <% } else { %> <%= process.getMission().getCurrentRelationToInstitution((module.organization.domain.Person) person) %> <% } %>

<% if (process.getMission().getWithSalary((module.organization.domain.Person) person)) { %> : <% } else { %> : <% } %> - : <%= process.getMission().getNunberOfLunchesToDiscount((module.organization.domain.Person) person) %>

.