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

<%= lot.lotName %>

Geographic Location

Image

What is the SVG ID?

Additional Details

<% if (isCreate) { %>

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

<% } else { %>

Comments

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

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

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

<% } else { %> <% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %> <% for (const lotOccupancy of lot.lotOccupancies) { %> <% const isActive = !(lotOccupancy.occupancyEndDate && lotOccupancy.occupancyEndDate < currentDate); %> <% } %>
  <%= configFunctions.getProperty("aliases.occupancy") %> Type Start Date End Date <%= configFunctions.getProperty("aliases.occupants") %>
<% if (isActive) { %> "> <% } else { %> "> <% } %> <%= lotOccupancy.occupancyType %> <%= lotOccupancy.occupancyStartDateString %> <% if (lotOccupancy.occupancyEndDate) { %> <%= lotOccupancy.occupancyEndDateString %> <% } else { %> (No End Date) <% } %> <% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %> (No <%= configFunctions.getProperty("aliases.occupants") %>) <% } else { %> <% const occupant = lotOccupancy.lotOccupancyOccupants[0]; %> <%= occupant.occupantName %> <%= (lotOccupancy.lotOccupancyOccupants.length > 1 ? " plus " + (lotOccupancy.lotOccupancyOccupants.length - 1) : "") %> <% } %>
<% } %> <% } %> <%- include('_footerA'); -%> <%- include('_footerB'); -%>