%- include('_header'); -%>
Work Order Type
<%= workOrder.workOrderType %>
Description
<% if (workOrder.workOrderDescription) { %>
<%= workOrder.workOrderDescription %>
<% } else { %>
(No Description)
<% } %>
Open Date
<%= workOrder.workOrderOpenDateString %>
Close Date
<% if (workOrder.workOrderCloseDate) { %>
<%= workOrder.workOrderCloseDateString %>
<% } else { %>
(No Close Date)
<% } %>
| Occupancy Type | <%= configFunctions.getProperty("aliases.lot") %> | Start Date | End Date | <%= configFunctions.getProperty("aliases.occupants") %> | |
|---|---|---|---|---|---|
| <% if (isActive) { %> "> <% } else { %> "> <% } %> | <%= lotOccupancy.occupancyType %> | <% if (lotOccupancy.lotId) { %> <%= lotOccupancy.lotName %> <% } else { %> (No <%= configFunctions.getProperty("aliases.lot") %>) <% } %> | <%= 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) : "") %> <% } %> |
| <%= configFunctions.getProperty("aliases.lot") %> | <%= configFunctions.getProperty("aliases.map") %> | <%= configFunctions.getProperty("aliases.lot") %> Type | Status |
|---|---|---|---|
| <%= lot.lotName %> | <%= lot.mapName %> | <%= lot.lotType %> | <%= lot.lotStatus %> |
| Commentor | Comment Date | Comment |
|---|---|---|
| <%= workOrderComment.recordCreate_userName %> | <%= workOrderComment.workOrderCommentDateString %> <%= (workOrderComment.workOrderCommentTime === 0 ? "" : workOrderComment.workOrderCommentTimeString) %> | <%= workOrderComment.workOrderComment %> |