<%@page import="pt.ist.expenditureTrackingSystem.domain.organization.Unit"%> <%@page import="pt.ist.bennu.core.domain.VirtualHost"%> <%@page import="pt.ist.bennu.core.domain.MyOrg"%> <%@page import="pt.ist.expenditureTrackingSystem.domain.ExpenditureTrackingSystem"%> <%@page import="pt.ist.expenditureTrackingSystem.domain.acquisitions.search.SearchProcessValues"%> <%@ 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" %> <% final VirtualHost virtualHost = VirtualHost.getVirtualHostForThread(); final ExpenditureTrackingSystem expenditureTrackingSystem = virtualHost.getExpenditureTrackingSystem(); %>

<% for (final VirtualHost someVirtualHost : MyOrg.getInstance().getVirtualHostsSet()) { %> <% final ExpenditureTrackingSystem someExpenditureTrackingSystem = someVirtualHost.getExpenditureTrackingSystem(); if (someExpenditureTrackingSystem != null) { %> <% } else { %> <% } %> <% } %>
style="background-color: #99FF66;"<% } %>> <%= someVirtualHost.getApplicationTitle() %>
<%= someVirtualHost.getHostname() %>
style="background-color: #99FF66;"<% } %>> <%= someExpenditureTrackingSystem.getExternalId() %> style="background-color: #99FF66;"<% } %>> <% for (final Unit unit : someExpenditureTrackingSystem.getTopLevelUnitsSet()) { %> <%= unit.getPresentationName() %> <% } %> style="background-color: #99FF66;"<% } %>> -- style="background-color: #99FF66;"<% } %>> -- style="background-color: #99FF66;"<% } %>> <% if (someExpenditureTrackingSystem != null && someExpenditureTrackingSystem != expenditureTrackingSystem) { %> "> <% } if (someVirtualHost == virtualHost) { %> <% } if (someExpenditureTrackingSystem != null && !someExpenditureTrackingSystem.hasAnyTopLevelUnits()) { %>
"> <% } %>
<% if (expenditureTrackingSystem != null) { %>

<% boolean b = false; for (final VirtualHost host : expenditureTrackingSystem.getVirtualHostSet()) { %> <%= host.getHostname() %> <% if (b) { %> , <% } else { b = true; } } %>

" method="post">

value="<%= expenditureTrackingSystem.getInstitutionalProcessNumberPrefix() %>" <% } %> />

value="<%= expenditureTrackingSystem.getInstitutionalRequestDocumentPrefix() %>" <% } %> />

value="<%= expenditureTrackingSystem.getAcquisitionCreationWizardJsp() %>" <% } %> />

<% for (final SearchProcessValues value : SearchProcessValues.values()) { %> <% } %>
<%= value.getLocalizedName() %> checked="checked" <% } %> />

checked="checked" <% } %> />
value="<%= expenditureTrackingSystem.getMaxValueStartedWithInvoive().getValue() %>" <% } %> />
checked="checked" <% } %> />
checked="checked" <% } %> />
value="<%= expenditureTrackingSystem.getValueRequireingTopLevelAuthorization().getValue() %>" <% } %> />
checked="checked" <% } %> />

value="<%= expenditureTrackingSystem.getDocumentationUrl() %>" <% } %> />
value="<%= expenditureTrackingSystem.getDocumentationLabel() %>" <% } %> />


<% } %>