pull/3/head
Dan Gowans 2025-03-18 14:52:24 -04:00
parent 0aa050dbae
commit 9bc27dafe8
11 changed files with 259 additions and 270 deletions

View File

@ -1,6 +1,4 @@
"use strict";
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable unicorn/prefer-module */
Object.defineProperty(exports, "__esModule", { value: true });
(() => {
const sunrise = exports.sunrise;
@ -101,7 +99,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
event.preventDefault();
}
// eslint-disable-next-line no-unsanitized/property
milestoneCalendarContainerElement.innerHTML = sunrise.getLoadingParagraphHTML('Loading Milestones...');
milestoneCalendarContainerElement.innerHTML =
sunrise.getLoadingParagraphHTML('Loading Milestones...');
cityssm.postJSON(`${sunrise.urlPrefix}/workOrders/doGetWorkOrderMilestones`, workOrderSearchFiltersFormElement, (responseJSON) => {
renderMilestones(responseJSON.workOrderMilestones);
});

View File

@ -1,6 +1,3 @@
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable unicorn/prefer-module */
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'
import type { WorkOrderMilestone } from '../../types/recordTypes.js'
@ -153,9 +150,8 @@ declare const exports: Record<string, unknown>
}
// eslint-disable-next-line no-unsanitized/property
milestoneCalendarContainerElement.innerHTML = sunrise.getLoadingParagraphHTML(
'Loading Milestones...'
)
milestoneCalendarContainerElement.innerHTML =
sunrise.getLoadingParagraphHTML('Loading Milestones...')
cityssm.postJSON(
`${sunrise.urlPrefix}/workOrders/doGetWorkOrderMilestones`,

View File

@ -1,6 +1,4 @@
"use strict";
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable unicorn/prefer-module */
Object.defineProperty(exports, "__esModule", { value: true });
(() => {
const sunrise = exports.sunrise;

View File

@ -1,6 +1,3 @@
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable unicorn/prefer-module */
import type { Sunrise } from './types.js'
declare const exports: Record<string, unknown>

View File

@ -1,4 +1,4 @@
import { DateString, TimeString } from "@cityssm/utils-datetime";
import type { DateString, TimeString } from "@cityssm/utils-datetime";
export interface Record {
recordCreate_userName?: string;
recordCreate_timeMillis?: number;

View File

@ -1,4 +1,4 @@
import { DateString, TimeString } from "@cityssm/utils-datetime"
import type { DateString, TimeString } from "@cityssm/utils-datetime"
export interface Record {
recordCreate_userName?: string

View File

@ -17,7 +17,6 @@
<table class="layout-table">
<tr>
<td>
<p>
<strong>Description</strong><br />
<%= workOrder.workOrderDescription %>

View File

@ -294,25 +294,25 @@
<table class="layout-table is-10pt">
<tr>
<td>Flat marker measuring less than 1,116.3 sq.m. (173 sq.in.)</td>
<td>$0.00</td>
<td class="has-text-right">$0.00</td>
</tr>
<tr>
<td>Flat marker measuring over 1,116.3 sq.m. (173 sq.in.)</td>
<td>$50.00</td>
<td class="has-text-right">$50.00</td>
</tr>
<tr>
<td>
Upright monument measuring more than 1.22 m. (4 ft.) or less in height or length,
including the base
</td>
<td>$100.00</td>
<td class="has-text-right">$100.00</td>
</tr>
<tr>
<td>
Upright monument measuring more than 1.22m. (4 ft.) either in height or length,
including the base
</td>
<td>$200.00</td>
<td class="has-text-right">$200.00</td>
</tr>
</table>

View File

@ -32,12 +32,12 @@
</div>
<div class="column">
<p class="mb-2">
<strong><%= configFunctions.getConfigProperty("aliases.occupancyStartDate") %></strong><br />
<%= contract.occupancyStartDateString %>
<strong>Contract Date</strong><br />
<%= contract.contractStartDateString %>
</p>
<p>
<strong>End Date</strong><br />
<%= (contract.occupancyEndDateString === "" ? "(No End Date)" : contract.occupancyEndDateString) %>
<%= (contract.contractEndDateString === "" ? "(No End Date)" : contract.contractEndDateString) %>
</p>
</div>
<% if (contract.contractFields.length > 0) { %>
@ -53,13 +53,13 @@
</div>
<section>
<h2 class="title is-4"><%= configFunctions.getConfigProperty("aliases.occupants") %></h2>
<h2 class="title is-4">Interments</h2>
<% if (contract.contractOccupants.length === 0) { %>
<% if (contract.contractInterments.length === 0) { %>
<div class="message is-warning">
<p class="message-body">
There are no <%= configFunctions.getConfigProperty("aliases.occupants").toLowerCase() %>
associated with this record.
There are no interments
associated with this contract.
</p>
</div>
<% } else { %>
@ -126,7 +126,7 @@
<% if (contract.contractFees.length === 0) { %>
<div class="message is-info">
<p class="message-body">
There are no fees applied to this <%= configFunctions.getConfigProperty("aliases.occupancy").toLowerCase() %> record.
There are no fees applied to this contract.
</p>
</div>
<% } else { %>
@ -189,7 +189,7 @@
<% if (contract.contractTransactions.length === 0) { %>
<div class="message is-info">
<p class="message-body">
There are no transactions associated with this <%= configFunctions.getConfigProperty("aliases.occupancy").toLowerCase() %> record.
There are no transactions associated with this contract.
</p>
</div>
<% } else { %>