<%- include('_header'); -%>

<% if (isCreate) { %> Create a New <%= configFunctions.getConfigProperty("aliases.lot") %> <% } else { %> <%= lot.lotName %> <% } %>

<% if (!isCreate) { %> <%= lot.lotName %> <% } %>
<% if (isCreate) { %> <% } else { %> <% } %>
" />
pattern="<%= configFunctions.getConfigProperty("settings.lot.lotNamePattern").source %>" <% } %> maxlength="100" required accesskey="f" <%= (isCreate ? " autofocus" : "") %> />
<% if (configFunctions.getConfigProperty("settings.lot.lotNameHelpText")) { %>

<%- configFunctions.getConfigProperty("settings.lot.lotNameHelpText").replace(/\n/g, "
") %>

<% } %>
<% if (isCreate) { %>

Select the <%= configFunctions.getConfigProperty("aliases.lot").toLowerCase() %> type to load the available fields.

<% } else if (lot.lotFields.length === 0) { %>

The current <%= configFunctions.getConfigProperty("aliases.lot").toLowerCase() %> type has no additional fields.

<% } else { %> <% let lotTypeFieldIds = ""; %> <% for (const lotField of lot.lotFields) { %> <% lotTypeFieldIds += "," + lotField.lotTypeFieldId; %>
<% if (lotField.fieldType === 'select' || (lotField.lotTypeFieldValues ?? '') !== "") { %> <% const fieldValues = lotField.lotTypeFieldValues.split("\n"); let valueFound = false; %>
<% } else { %> pattern="<%= lotField.pattern %>" <% } %> minlength="<%= lotField.minimumLength %>" maxlength="<%= lotField.maximumLength %>" <%= lotField.isRequired ? " required" : "" %> /> <% } %>
<% } %> <% } %>

Geographic Location

Image

What is the SVG ID?

<% if (isCreate) { %>

Additional options will be available after the record has been created.

<% } else { %>

Comments

<%= configFunctions.getConfigProperty("aliases.occupancies") %> <%= lot.lotOccupancies.length %>

<% if (lot.lotOccupancies.length === 0) { %>

There are no <%= configFunctions.getConfigProperty("aliases.occupancy").toLowerCase() %> records asscociated with this <%= configFunctions.getConfigProperty("aliases.lot") %>.

<% } else { %> <% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %> <% for (const lotOccupancy of lot.lotOccupancies) { %> <% const isActive = !(lotOccupancy.occupancyEndDate && lotOccupancy.occupancyEndDate < currentDate); %> <% } %>
  <%= configFunctions.getConfigProperty("aliases.occupancy") %> Type <%= configFunctions.getConfigProperty("aliases.occupancyStartDate") %> End Date <%= configFunctions.getConfigProperty("aliases.occupants") %>
<% if (isActive) { %> "> <% } else { %> "> <% } %> <%= lotOccupancy.occupancyType %>
#<%= lotOccupancy.lotOccupancyId %>
<%= lotOccupancy.occupancyStartDateString %> <% if (lotOccupancy.occupancyEndDate) { %> <%= lotOccupancy.occupancyEndDateString %> <% } else { %> (No End Date) <% } %> <% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %> (No <%= configFunctions.getConfigProperty("aliases.occupants") %>) <% } else { %> <% for (const occupant of lotOccupancy.lotOccupancyOccupants) { %> <%= occupant.occupantName + ' ' + occupant.occupantFamilyName %>
<% } %> <% } %>
<% } %>
<% } %> <%- include('_footerA'); -%> <% if (!isCreate) { %> <% } %> <%- include('_footerB'); -%>