pull/11/head
Dan Gowans 2025-04-30 10:00:59 -04:00
parent 18edc57f70
commit 7887230c86
7 changed files with 76 additions and 66 deletions

View File

@ -16,6 +16,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
} }
const resultsTbodyElement = document.createElement('tbody'); const resultsTbodyElement = document.createElement('tbody');
for (const burialSite of responseJSON.burialSites) { for (const burialSite of responseJSON.burialSites) {
const cemeteryNameHtml = burialSite.cemeteryName === ''
? '<span class="has-text-grey">(No Name)</span>'
: cityssm.escapeHTML(burialSite.cemeteryName ?? '');
// eslint-disable-next-line no-unsanitized/method // eslint-disable-next-line no-unsanitized/method
resultsTbodyElement.insertAdjacentHTML('beforeend', `<tr> resultsTbodyElement.insertAdjacentHTML('beforeend', `<tr>
<td> <td>
@ -26,16 +29,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
${burialSite.cemeteryId === null ${burialSite.cemeteryId === null
? '<span class="has-text-grey">(No Cemetery)</span>' ? '<span class="has-text-grey">(No Cemetery)</span>'
: `<a href="${sunrise.getCemeteryURL(burialSite.cemeteryId)}"> : `<a href="${sunrise.getCemeteryURL(burialSite.cemeteryId)}">
${burialSite.cemeteryName === '' ${cemeteryNameHtml}
? '<span class="has-text-grey">(No Name)</span>' </a>`}
: cityssm.escapeHTML(burialSite.cemeteryName)}
</a>`}
</td><td> </td><td>
${cityssm.escapeHTML(burialSite.burialSiteType ?? '')} ${cityssm.escapeHTML(burialSite.burialSiteType ?? '')}
</td><td> </td><td>
${burialSite.burialSiteStatusId ${burialSite.burialSiteStatusId === null ||
? cityssm.escapeHTML(burialSite.burialSiteStatus ?? '') burialSite.burialSiteStatusId === undefined
: '<span class="has-text-grey">(No Status)</span>'}<br /> ? '<span class="has-text-grey">(No Status)</span>'
: cityssm.escapeHTML(burialSite.burialSiteStatus ?? '')}<br />
${(burialSite.contractCount ?? 0) > 0 ${(burialSite.contractCount ?? 0) > 0
? '<span class="is-size-7">Has Current Contracts</span>' ? '<span class="is-size-7">Has Current Contracts</span>'
: ''} : ''}

View File

@ -44,6 +44,11 @@ declare const exports: Record<string, unknown>
const resultsTbodyElement = document.createElement('tbody') const resultsTbodyElement = document.createElement('tbody')
for (const burialSite of responseJSON.burialSites) { for (const burialSite of responseJSON.burialSites) {
const cemeteryNameHtml =
burialSite.cemeteryName === ''
? '<span class="has-text-grey">(No Name)</span>'
: cityssm.escapeHTML(burialSite.cemeteryName ?? '')
// eslint-disable-next-line no-unsanitized/method // eslint-disable-next-line no-unsanitized/method
resultsTbodyElement.insertAdjacentHTML( resultsTbodyElement.insertAdjacentHTML(
'beforeend', 'beforeend',
@ -57,20 +62,17 @@ declare const exports: Record<string, unknown>
burialSite.cemeteryId === null burialSite.cemeteryId === null
? '<span class="has-text-grey">(No Cemetery)</span>' ? '<span class="has-text-grey">(No Cemetery)</span>'
: `<a href="${sunrise.getCemeteryURL(burialSite.cemeteryId)}"> : `<a href="${sunrise.getCemeteryURL(burialSite.cemeteryId)}">
${ ${cemeteryNameHtml}
burialSite.cemeteryName === '' </a>`
? '<span class="has-text-grey">(No Name)</span>'
: cityssm.escapeHTML(burialSite.cemeteryName)
}
</a>`
} }
</td><td> </td><td>
${cityssm.escapeHTML(burialSite.burialSiteType ?? '')} ${cityssm.escapeHTML(burialSite.burialSiteType ?? '')}
</td><td> </td><td>
${ ${
burialSite.burialSiteStatusId burialSite.burialSiteStatusId === null ||
? cityssm.escapeHTML(burialSite.burialSiteStatus ?? '') burialSite.burialSiteStatusId === undefined
: '<span class="has-text-grey">(No Status)</span>' ? '<span class="has-text-grey">(No Status)</span>'
: cityssm.escapeHTML(burialSite.burialSiteStatus ?? '')
}<br /> }<br />
${ ${
(burialSite.contractCount ?? 0) > 0 (burialSite.contractCount ?? 0) > 0

View File

@ -295,6 +295,7 @@ export function getCemeteryIdByKey(
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
addForm ??= { addForm ??= {
cemeteryName: cemeteryKey, cemeteryName: cemeteryKey,
cemeteryDescription: '', cemeteryDescription: '',
cemeteryKey, cemeteryKey,

View File

@ -373,8 +373,8 @@ async function importFromPrepaidCSV() {
deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME, deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME,
contractStartDateString contractStartDateString
}, { }, {
includeInterments: false,
includeFees: false, includeFees: false,
includeInterments: false,
includeTransactions: false, includeTransactions: false,
limit: -1, limit: -1,
offset: 0 offset: 0
@ -386,15 +386,15 @@ async function importFromPrepaidCSV() {
contractId ||= addContract({ contractId ||= addContract({
burialSiteId: burialSite ? burialSite.burialSiteId : '', burialSiteId: burialSite ? burialSite.burialSiteId : '',
contractTypeId: importIds.preneedContractType.contractTypeId, contractTypeId: importIds.preneedContractType.contractTypeId,
contractStartDateString,
contractEndDateString: '', contractEndDateString: '',
contractStartDateString,
purchaserName: prepaidRow.CMPP_ARRANGED_BY_NAME, purchaserName: prepaidRow.CMPP_ARRANGED_BY_NAME,
deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME, deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME,
deceasedAddress1: prepaidRow.CMPP_ADDRESS, deceasedAddress1: prepaidRow.CMPP_ADDRESS,
deceasedAddress2: '', deceasedAddress2: '',
deceasedCity: prepaidRow.CMPP_CITY, deceasedCity: prepaidRow.CMPP_CITY,
deceasedProvince: prepaidRow.CMPP_PROV.slice(0, 2), deceasedPostalCode: `${prepaidRow.CMPP_POSTAL1} ${prepaidRow.CMPP_POSTAL2}`,
deceasedPostalCode: `${prepaidRow.CMPP_POSTAL1} ${prepaidRow.CMPP_POSTAL2}` deceasedProvince: prepaidRow.CMPP_PROV.slice(0, 2)
}, user); }, user);
if (prepaidRow.CMPP_FEE_GRAV_SD !== '0.0') { if (prepaidRow.CMPP_FEE_GRAV_SD !== '0.0') {
await addContractFee({ await addContractFee({
@ -499,15 +499,15 @@ async function importFromPrepaidCSV() {
if (prepaidRow.CMPP_REMARK1 !== '') { if (prepaidRow.CMPP_REMARK1 !== '') {
addContractComment({ addContractComment({
contractId, contractId,
commentDateString: contractStartDateString, comment: prepaidRow.CMPP_REMARK1,
comment: prepaidRow.CMPP_REMARK1 commentDateString: contractStartDateString
}, user); }, user);
} }
if (prepaidRow.CMPP_REMARK2 !== '') { if (prepaidRow.CMPP_REMARK2 !== '') {
addContractComment({ addContractComment({
contractId, contractId,
commentDateString: contractStartDateString, comment: prepaidRow.CMPP_REMARK2,
comment: prepaidRow.CMPP_REMARK2 commentDateString: contractStartDateString
}, user); }, user);
} }
} }
@ -602,10 +602,10 @@ async function importFromWorkOrderCSV() {
const workOrderContainsBurialSite = workOrder?.workOrderBurialSites?.find((possibleLot) => possibleLot.burialSiteId === burialSite?.burialSiteId); const workOrderContainsBurialSite = workOrder?.workOrderBurialSites?.find((possibleLot) => possibleLot.burialSiteId === burialSite?.burialSiteId);
if (!workOrderContainsBurialSite) { if (!workOrderContainsBurialSite) {
addWorkOrderBurialSite({ addWorkOrderBurialSite({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
burialSiteId: burialSite.burialSiteId burialSiteId: burialSite?.burialSiteId
}, user); }, user);
workOrder.workOrderBurialSites.push(burialSite); workOrder?.workOrderBurialSites?.push(burialSite);
} }
} }
let contractStartDateString = workOrderOpenDateString; let contractStartDateString = workOrderOpenDateString;
@ -655,7 +655,7 @@ async function importFromWorkOrderCSV() {
intermentContainerTypeId intermentContainerTypeId
}, user); }, user);
addWorkOrderContract({ addWorkOrderContract({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
contractId contractId
}, user); }, user);
// Milestones // Milestones
@ -663,7 +663,7 @@ async function importFromWorkOrderCSV() {
let maxMilestoneCompletionDateString = workOrderOpenDateString; let maxMilestoneCompletionDateString = workOrderOpenDateString;
if (importIds.acknowledgedWorkOrderMilestoneTypeId) { if (importIds.acknowledgedWorkOrderMilestoneTypeId) {
addWorkOrderMilestone({ addWorkOrderMilestone({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderMilestoneTypeId: importIds.acknowledgedWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.acknowledgedWorkOrderMilestoneTypeId,
workOrderMilestoneDateString: workOrderOpenDateString, workOrderMilestoneDateString: workOrderOpenDateString,
workOrderMilestoneDescription: '', workOrderMilestoneDescription: '',
@ -677,7 +677,7 @@ async function importFromWorkOrderCSV() {
const workOrderMilestoneDateString = formatDateString(workOrderRow.WO_DEATH_YR, workOrderRow.WO_DEATH_MON, workOrderRow.WO_DEATH_DAY); const workOrderMilestoneDateString = formatDateString(workOrderRow.WO_DEATH_YR, workOrderRow.WO_DEATH_MON, workOrderRow.WO_DEATH_DAY);
if (importIds.deathWorkOrderMilestoneTypeId) { if (importIds.deathWorkOrderMilestoneTypeId) {
addWorkOrderMilestone({ addWorkOrderMilestone({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderMilestoneTypeId: importIds.deathWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.deathWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
workOrderMilestoneDescription: `Death Place: ${workOrderRow.WO_DEATH_PLACE}`, workOrderMilestoneDescription: `Death Place: ${workOrderRow.WO_DEATH_PLACE}`,
@ -705,7 +705,7 @@ async function importFromWorkOrderCSV() {
const workOrderMilestoneTimeString = formatTimeString(funeralHour.toString(), workOrderRow.WO_FUNERAL_MIN === '' ? '0' : workOrderRow.WO_FUNERAL_MIN); const workOrderMilestoneTimeString = formatTimeString(funeralHour.toString(), workOrderRow.WO_FUNERAL_MIN === '' ? '0' : workOrderRow.WO_FUNERAL_MIN);
if (importIds.funeralWorkOrderMilestoneTypeId) { if (importIds.funeralWorkOrderMilestoneTypeId) {
addWorkOrderMilestone({ addWorkOrderMilestone({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderMilestoneTypeId: importIds.funeralWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.funeralWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
workOrderMilestoneTimeString, workOrderMilestoneTimeString,
@ -728,7 +728,7 @@ async function importFromWorkOrderCSV() {
if (workOrderRow.WO_CREMATION === 'Y' && if (workOrderRow.WO_CREMATION === 'Y' &&
importIds.cremationWorkOrderMilestoneTypeId) { importIds.cremationWorkOrderMilestoneTypeId) {
addWorkOrderMilestone({ addWorkOrderMilestone({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderMilestoneTypeId: importIds.cremationWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.cremationWorkOrderMilestoneTypeId,
workOrderMilestoneDateString: maxMilestoneCompletionDateString, workOrderMilestoneDateString: maxMilestoneCompletionDateString,
workOrderMilestoneDescription: '', workOrderMilestoneDescription: '',
@ -744,7 +744,7 @@ async function importFromWorkOrderCSV() {
const workOrderMilestoneDateString = formatDateString(workOrderRow.WO_INTERMENT_YR, workOrderRow.WO_INTERMENT_MON, workOrderRow.WO_INTERMENT_DAY); const workOrderMilestoneDateString = formatDateString(workOrderRow.WO_INTERMENT_YR, workOrderRow.WO_INTERMENT_MON, workOrderRow.WO_INTERMENT_DAY);
if (importIds.intermentWorkOrderMilestoneTypeId) { if (importIds.intermentWorkOrderMilestoneTypeId) {
addWorkOrderMilestone({ addWorkOrderMilestone({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderMilestoneTypeId: importIds.intermentWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.intermentWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
workOrderMilestoneDescription: `Depth: ${workOrderRow.WO_DEPTH}`, workOrderMilestoneDescription: `Depth: ${workOrderRow.WO_DEPTH}`,
@ -765,7 +765,7 @@ async function importFromWorkOrderCSV() {
} }
if (!hasIncompleteMilestones) { if (!hasIncompleteMilestones) {
closeWorkOrder({ closeWorkOrder({
workOrderId: workOrder.workOrderId, workOrderId: workOrder?.workOrderId,
workOrderCloseDateString: maxMilestoneCompletionDateString workOrderCloseDateString: maxMilestoneCompletionDateString
}, user); }, user);
} }

View File

@ -612,8 +612,8 @@ async function importFromPrepaidCSV(): Promise<void> {
contractStartDateString contractStartDateString
}, },
{ {
includeInterments: false,
includeFees: false, includeFees: false,
includeInterments: false,
includeTransactions: false, includeTransactions: false,
limit: -1, limit: -1,
offset: 0 offset: 0
@ -629,17 +629,19 @@ async function importFromPrepaidCSV(): Promise<void> {
{ {
burialSiteId: burialSite ? burialSite.burialSiteId : '', burialSiteId: burialSite ? burialSite.burialSiteId : '',
contractTypeId: importIds.preneedContractType.contractTypeId, contractTypeId: importIds.preneedContractType.contractTypeId,
contractStartDateString,
contractEndDateString: '', contractEndDateString: '',
contractStartDateString,
purchaserName: prepaidRow.CMPP_ARRANGED_BY_NAME, purchaserName: prepaidRow.CMPP_ARRANGED_BY_NAME,
deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME, deceasedName: prepaidRow.CMPP_PREPAID_FOR_NAME,
deceasedAddress1: prepaidRow.CMPP_ADDRESS, deceasedAddress1: prepaidRow.CMPP_ADDRESS,
deceasedAddress2: '', deceasedAddress2: '',
deceasedCity: prepaidRow.CMPP_CITY, deceasedCity: prepaidRow.CMPP_CITY,
deceasedProvince: prepaidRow.CMPP_PROV.slice(0, 2), deceasedPostalCode: `${prepaidRow.CMPP_POSTAL1} ${prepaidRow.CMPP_POSTAL2}`,
deceasedPostalCode: `${prepaidRow.CMPP_POSTAL1} ${prepaidRow.CMPP_POSTAL2}` deceasedProvince: prepaidRow.CMPP_PROV.slice(0, 2)
}, },
user user
) )
@ -801,8 +803,8 @@ async function importFromPrepaidCSV(): Promise<void> {
{ {
contractId, contractId,
commentDateString: contractStartDateString, comment: prepaidRow.CMPP_REMARK1,
comment: prepaidRow.CMPP_REMARK1 commentDateString: contractStartDateString
}, },
user user
) )
@ -813,8 +815,8 @@ async function importFromPrepaidCSV(): Promise<void> {
{ {
contractId, contractId,
commentDateString: contractStartDateString, comment: prepaidRow.CMPP_REMARK2,
comment: prepaidRow.CMPP_REMARK2 commentDateString: contractStartDateString
}, },
user user
) )
@ -956,13 +958,15 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (!workOrderContainsBurialSite) { if (!workOrderContainsBurialSite) {
addWorkOrderBurialSite( addWorkOrderBurialSite(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
burialSiteId: burialSite.burialSiteId burialSiteId: burialSite?.burialSiteId as number
}, },
user user
) )
workOrder.workOrderBurialSites!.push(burialSite) workOrder?.workOrderBurialSites?.push(
burialSite as recordTypes.BurialSite
)
} }
} }
@ -1047,7 +1051,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
addWorkOrderContract( addWorkOrderContract(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
contractId contractId
}, },
user user
@ -1061,7 +1065,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (importIds.acknowledgedWorkOrderMilestoneTypeId) { if (importIds.acknowledgedWorkOrderMilestoneTypeId) {
addWorkOrderMilestone( addWorkOrderMilestone(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderMilestoneTypeId: workOrderMilestoneTypeId:
importIds.acknowledgedWorkOrderMilestoneTypeId, importIds.acknowledgedWorkOrderMilestoneTypeId,
workOrderMilestoneDateString: workOrderOpenDateString, workOrderMilestoneDateString: workOrderOpenDateString,
@ -1087,7 +1091,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (importIds.deathWorkOrderMilestoneTypeId) { if (importIds.deathWorkOrderMilestoneTypeId) {
addWorkOrderMilestone( addWorkOrderMilestone(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderMilestoneTypeId: importIds.deathWorkOrderMilestoneTypeId, workOrderMilestoneTypeId: importIds.deathWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
workOrderMilestoneDescription: `Death Place: ${workOrderRow.WO_DEATH_PLACE}`, workOrderMilestoneDescription: `Death Place: ${workOrderRow.WO_DEATH_PLACE}`,
@ -1136,7 +1140,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (importIds.funeralWorkOrderMilestoneTypeId) { if (importIds.funeralWorkOrderMilestoneTypeId) {
addWorkOrderMilestone( addWorkOrderMilestone(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderMilestoneTypeId: workOrderMilestoneTypeId:
importIds.funeralWorkOrderMilestoneTypeId, importIds.funeralWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
@ -1170,7 +1174,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
) { ) {
addWorkOrderMilestone( addWorkOrderMilestone(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderMilestoneTypeId: workOrderMilestoneTypeId:
importIds.cremationWorkOrderMilestoneTypeId, importIds.cremationWorkOrderMilestoneTypeId,
workOrderMilestoneDateString: maxMilestoneCompletionDateString, workOrderMilestoneDateString: maxMilestoneCompletionDateString,
@ -1198,7 +1202,7 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (importIds.intermentWorkOrderMilestoneTypeId) { if (importIds.intermentWorkOrderMilestoneTypeId) {
addWorkOrderMilestone( addWorkOrderMilestone(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderMilestoneTypeId: workOrderMilestoneTypeId:
importIds.intermentWorkOrderMilestoneTypeId, importIds.intermentWorkOrderMilestoneTypeId,
workOrderMilestoneDateString, workOrderMilestoneDateString,
@ -1228,7 +1232,8 @@ async function importFromWorkOrderCSV(): Promise<void> {
if (!hasIncompleteMilestones) { if (!hasIncompleteMilestones) {
closeWorkOrder( closeWorkOrder(
{ {
workOrderId: workOrder.workOrderId!, workOrderId: workOrder?.workOrderId as number,
workOrderCloseDateString: maxMilestoneCompletionDateString workOrderCloseDateString: maxMilestoneCompletionDateString
}, },
user user

View File

@ -21,7 +21,7 @@ export interface BurialSite extends Record {
burialSiteLatitude?: number; burialSiteLatitude?: number;
burialSiteLongitude?: number; burialSiteLongitude?: number;
burialSiteStatus?: string; burialSiteStatus?: string;
burialSiteStatusId?: number; burialSiteStatusId?: number | null;
burialSiteFields?: BurialSiteField[]; burialSiteFields?: BurialSiteField[];
contractCount?: number; contractCount?: number;
contracts?: Contract[]; contracts?: Contract[];
@ -306,8 +306,8 @@ export interface WorkOrderComment extends Record {
commentDate?: number; commentDate?: number;
commentDateString?: string; commentDateString?: string;
commentTime?: number; commentTime?: number;
commentTimeString?: string;
commentTimePeriodString?: string; commentTimePeriodString?: string;
commentTimeString?: string;
comment?: string; comment?: string;
} }
export interface WorkOrderMilestone extends Record, WorkOrder { export interface WorkOrderMilestone extends Record, WorkOrder {
@ -317,23 +317,23 @@ export interface WorkOrderMilestone extends Record, WorkOrder {
workOrderMilestoneDate?: number; workOrderMilestoneDate?: number;
workOrderMilestoneDateString?: string; workOrderMilestoneDateString?: string;
workOrderMilestoneTime?: number; workOrderMilestoneTime?: number;
workOrderMilestoneTimeString?: string;
workOrderMilestoneTimePeriodString?: string; workOrderMilestoneTimePeriodString?: string;
workOrderMilestoneTimeString?: string;
workOrderMilestoneDescription?: string; workOrderMilestoneDescription?: string;
workOrderMilestoneCompletionDate?: number; workOrderMilestoneCompletionDate?: number;
workOrderMilestoneCompletionDateString?: string; workOrderMilestoneCompletionDateString?: string;
workOrderMilestoneCompletionTime?: number; workOrderMilestoneCompletionTime?: number;
workOrderMilestoneCompletionTimeString?: string;
workOrderMilestoneCompletionTimePeriodString?: string; workOrderMilestoneCompletionTimePeriodString?: string;
workOrderMilestoneCompletionTimeString?: string;
workOrderRecordUpdate_timeMillis?: number; workOrderRecordUpdate_timeMillis?: number;
} }
export interface WorkOrderMilestoneType extends Record { export interface WorkOrderMilestoneType extends Record {
workOrderMilestoneTypeId: number;
workOrderMilestoneType: string; workOrderMilestoneType: string;
workOrderMilestoneTypeId: number;
orderNumber?: number; orderNumber?: number;
} }
export interface WorkOrderType extends Record { export interface WorkOrderType extends Record {
workOrderTypeId: number;
workOrderType?: string; workOrderType?: string;
workOrderTypeId: number;
orderNumber?: number; orderNumber?: number;
} }

View File

@ -30,7 +30,7 @@ export interface BurialSite extends Record {
burialSiteLongitude?: number burialSiteLongitude?: number
burialSiteStatus?: string burialSiteStatus?: string
burialSiteStatusId?: number burialSiteStatusId?: number | null
burialSiteFields?: BurialSiteField[] burialSiteFields?: BurialSiteField[]
@ -427,8 +427,8 @@ export interface WorkOrderComment extends Record {
commentDateString?: string commentDateString?: string
commentTime?: number commentTime?: number
commentTimeString?: string
commentTimePeriodString?: string commentTimePeriodString?: string
commentTimeString?: string
comment?: string comment?: string
} }
@ -443,8 +443,8 @@ export interface WorkOrderMilestone extends Record, WorkOrder {
workOrderMilestoneDateString?: string workOrderMilestoneDateString?: string
workOrderMilestoneTime?: number workOrderMilestoneTime?: number
workOrderMilestoneTimeString?: string
workOrderMilestoneTimePeriodString?: string workOrderMilestoneTimePeriodString?: string
workOrderMilestoneTimeString?: string
workOrderMilestoneDescription?: string workOrderMilestoneDescription?: string
@ -452,22 +452,22 @@ export interface WorkOrderMilestone extends Record, WorkOrder {
workOrderMilestoneCompletionDateString?: string workOrderMilestoneCompletionDateString?: string
workOrderMilestoneCompletionTime?: number workOrderMilestoneCompletionTime?: number
workOrderMilestoneCompletionTimeString?: string
workOrderMilestoneCompletionTimePeriodString?: string workOrderMilestoneCompletionTimePeriodString?: string
workOrderMilestoneCompletionTimeString?: string
workOrderRecordUpdate_timeMillis?: number workOrderRecordUpdate_timeMillis?: number
} }
export interface WorkOrderMilestoneType extends Record { export interface WorkOrderMilestoneType extends Record {
workOrderMilestoneTypeId: number
workOrderMilestoneType: string workOrderMilestoneType: string
workOrderMilestoneTypeId: number
orderNumber?: number orderNumber?: number
} }
export interface WorkOrderType extends Record { export interface WorkOrderType extends Record {
workOrderTypeId: number
workOrderType?: string workOrderType?: string
workOrderTypeId: number
orderNumber?: number orderNumber?: number
} }