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

<% Collection pendingVehicles = MissionSystem.getInstance().getVehicleItemsPendingAuthorization(); if (pendingVehicles.isEmpty()) { %>

<% } else { %>
" method="post"> <% for (VehiclItem vehicle : pendingVehicles) { final Person driver = vehicle.getDriver(); final Mission mission = vehicle.getMission(); final MissionProcess missionProcess = mission.getMissionProcess(); request.setAttribute("missionProcess", missionProcess); %> <% } %>
<% if (driver != null) { %> " class="secondaryLink"> <%= driver.getFirstAndLastName() %> <% } else { %> - <% } %> <% 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() %> <%= vehicle.getLocalizedName() %> <% if (vehicle instanceof PersonalVehiclItem) { %> <%= ((PersonalVehiclItem) vehicle).getKms() %> <% } else { %> - <% } %> <%= vehicle.getValue().toFormatString() %>
<% } %>