<%@page import="module.mission.domain.MissionSystem"%> <%@page import="java.util.TreeSet"%> <%@page import="java.util.SortedSet"%> <%@ 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"%> <%@page import="java.util.Set"%> <%@page import="module.mission.domain.Mission"%> <%@page import="module.mission.domain.MissionProcess"%> <%@page import="module.organization.domain.Person"%> <%@page import="module.mission.domain.NationalMission"%>

<% if (MissionSystem.getInstance().isCurrentUserVehicleAuthorizer()) { %> <% } %> <% if (missionAuthorizationMap.hasSomeUnit()) { %>

<% final Set personMissionAuthorizations = missionAuthorizationMap.getPersonMissionAuthorizations()[i]; if (personMissionAuthorizations.size() == 0) { %>

<% } else { %>
" method="post"> <% final SortedSet sortedSet = new TreeSet(module.mission.domain.PersonMissionAuthorization.COMPARATOR_BY_DEPARTURE_DATE); sortedSet.addAll(personMissionAuthorizations); for (final module.mission.domain.PersonMissionAuthorization personMissionAuthorization : sortedSet) { final Mission mission = personMissionAuthorization.getAssociatedMission(); final MissionProcess missionProcess = mission.getMissionProcess(); request.setAttribute("missionProcess", missionProcess); final Person subject = personMissionAuthorization.getSubject(); %> <% } %>
" class="secondaryLink"> <%= subject.getFirstAndLastName() %> <% if (mission instanceof NationalMission) { %> <%= mission.getLocation() %> <% } else { %> <%= mission.getCountry() == null ? mission.getLocation() : mission.getCountry().getName() %> <% } %> <%= mission.getDaparture().toString("yyyy/MM/dd") %> <%= mission.getDurationInDays() %> <%= mission.getObjective() %> <%= mission.getTotalPrevisionaryCost().toFormatString() %>
<% } %>
<% } %>