linting
parent
e0761624bc
commit
4ab29dd5df
|
|
@ -1,6 +1,10 @@
|
|||
import type { RequestHandler } from "express";
|
||||
import type {
|
||||
RequestHandler
|
||||
} from "express";
|
||||
|
||||
import { addMap } from "../../helpers/lotOccupancyDB/addMap.js";
|
||||
import {
|
||||
addMap
|
||||
} from "../../helpers/lotOccupancyDB/addMap.js";
|
||||
|
||||
|
||||
export const handler: RequestHandler = async (request, response) => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
import type { RequestHandler } from "express";
|
||||
import type {
|
||||
RequestHandler
|
||||
} from "express";
|
||||
|
||||
import { updateMap } from "../../helpers/lotOccupancyDB/updateMap.js";
|
||||
import {
|
||||
updateMap
|
||||
} from "../../helpers/lotOccupancyDB/updateMap.js";
|
||||
|
||||
|
||||
export const handler: RequestHandler = async (request, response) => {
|
||||
|
|
|
|||
|
|
@ -305,12 +305,12 @@
|
|||
<% if (lotOccupancy.occupancyEndDate) { %>
|
||||
<%= lotOccupancy.occupancyEndDateString %>
|
||||
<% } else { %>
|
||||
(No End Date)
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %>
|
||||
(No <%= configFunctions.getProperty("aliases.occupants") %>)
|
||||
<span class="has-text-grey">(No <%= configFunctions.getProperty("aliases.occupants") %>)</span>
|
||||
<% } else { %>
|
||||
<% const occupant = lotOccupancy.lotOccupancyOccupants[0]; %>
|
||||
<%= occupant.occupantName %>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,11 @@
|
|||
</p>
|
||||
<p>
|
||||
<strong>End Date</strong><br />
|
||||
<span class="has-text-grey"><%= (lotOccupancy.occupancyEndDateString === "" ? "(No End Date)" : lotOccupancy.occupancyEndDateString) %></span>
|
||||
<% if (lotOccupancy.occupancyEndDateString === "") { %>
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } else { %>
|
||||
<%= lotOccupancy.occupancyEndDateString %>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
<% if (lotOccupancy.lotOccupancyFields.length > 0) { %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue