%- include('_header'); -%>
<% if (isCreate) { %>
Create a New <%= configFunctions.getProperty("aliases.map") %>
<% } else { %>
Update <%= configFunctions.getProperty("aliases.map") %>
<% } %>
<% if (!isCreate) { %>
<%= map.mapName || "(No Name)" %>
<% } %>
<% if (isCreate) { %>
<% } else { %>
<% } %>
<%= (isCreate ? "Create": "Update") %>
<%= configFunctions.getProperty("aliases.map") %>
<% if (!isCreate) { %>
<% const lotSearchUrl = urlPrefix + "/lots?mapId=" + map.mapId; %>
<% if (map.lotCount === 0) { %>
There are no <%= configFunctions.getProperty("aliases.lots").toLowerCase() %>
associated with this <%= configFunctions.getProperty("aliases.map").toLowerCase() %>.
<% } else { %>
Type
<%= configFunctions.getProperty("aliases.lot") %> Count
Percentage
<% for (const lotType of lotTypeSummary) { %>
<%= lotType.lotType %>
<%= lotType.lotCount %>
<%= ((lotType.lotCount / map.lotCount) * 100).toFixed(1) %>%
<% } %>
Status
<%= configFunctions.getProperty("aliases.lot") %> Count
Percentage
<% for (const lotStatus of lotStatusSummary) { %>
<%= lotStatus.lotStatus %>
<%= lotStatus.lotCount %>
<%= ((lotStatus.lotCount / map.lotCount) * 100).toFixed(1) %>%
<% } %>
<% } %>
<% } %>
<%- include('_footerA'); -%>
<%- include('_footerB'); -%>