template literals
parent
610bc7eaf5
commit
5aeb485d07
|
|
@ -203,7 +203,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
</div>`;
|
</div>`;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cityssm.postJSON(los.urlPrefix + '/lotOccupancies/doGetOccupancyTypeFields', {
|
cityssm.postJSON(`${los.urlPrefix}/lotOccupancies/doGetOccupancyTypeFields`, {
|
||||||
occupancyTypeId: occupancyTypeIdElement.value
|
occupancyTypeId: occupancyTypeIdElement.value
|
||||||
}, (rawResponseJSON) => {
|
}, (rawResponseJSON) => {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
|
|
@ -664,19 +664,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
</td><td>
|
</td><td>
|
||||||
${((_f = lotOccupancyOccupant.occupantAddress1) !== null && _f !== void 0 ? _f : '') === ''
|
${((_f = lotOccupancyOccupant.occupantAddress1) !== null && _f !== void 0 ? _f : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_g = lotOccupancyOccupant.occupantAddress1) !== null && _g !== void 0 ? _g : '') +
|
: `${cityssm.escapeHTML((_g = lotOccupancyOccupant.occupantAddress1) !== null && _g !== void 0 ? _g : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${((_h = lotOccupancyOccupant.occupantAddress2) !== null && _h !== void 0 ? _h : '') === ''
|
${((_h = lotOccupancyOccupant.occupantAddress2) !== null && _h !== void 0 ? _h : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_j = lotOccupancyOccupant.occupantAddress2) !== null && _j !== void 0 ? _j : '') +
|
: `${cityssm.escapeHTML((_j = lotOccupancyOccupant.occupantAddress2) !== null && _j !== void 0 ? _j : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${((_k = lotOccupancyOccupant.occupantCity) !== null && _k !== void 0 ? _k : '') === ''
|
${((_k = lotOccupancyOccupant.occupantCity) !== null && _k !== void 0 ? _k : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_l = lotOccupancyOccupant.occupantCity) !== null && _l !== void 0 ? _l : '') + ', '}
|
: `${cityssm.escapeHTML((_l = lotOccupancyOccupant.occupantCity) !== null && _l !== void 0 ? _l : '')}, `}
|
||||||
${cityssm.escapeHTML((_m = lotOccupancyOccupant.occupantProvince) !== null && _m !== void 0 ? _m : '')}<br />
|
${cityssm.escapeHTML((_m = lotOccupancyOccupant.occupantProvince) !== null && _m !== void 0 ? _m : '')}<br />
|
||||||
${cityssm.escapeHTML((_o = lotOccupancyOccupant.occupantPostalCode) !== null && _o !== void 0 ? _o : '')}</td><td>${((_p = lotOccupancyOccupant.occupantPhoneNumber) !== null && _p !== void 0 ? _p : '') === ''
|
${cityssm.escapeHTML((_o = lotOccupancyOccupant.occupantPostalCode) !== null && _o !== void 0 ? _o : '')}
|
||||||
|
</td><td>
|
||||||
|
${((_p = lotOccupancyOccupant.occupantPhoneNumber) !== null && _p !== void 0 ? _p : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_q = lotOccupancyOccupant.occupantPhoneNumber) !== null && _q !== void 0 ? _q : '') + '<br />'}
|
: `${cityssm.escapeHTML((_q = lotOccupancyOccupant.occupantPhoneNumber) !== null && _q !== void 0 ? _q : '')}<br />`}
|
||||||
${((_r = lotOccupancyOccupant.occupantEmailAddress) !== null && _r !== void 0 ? _r : '') === ''
|
${((_r = lotOccupancyOccupant.occupantEmailAddress) !== null && _r !== void 0 ? _r : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_s = lotOccupancyOccupant.occupantEmailAddress) !== null && _s !== void 0 ? _s : '')}
|
: cityssm.escapeHTML((_s = lotOccupancyOccupant.occupantEmailAddress) !== null && _s !== void 0 ? _s : '')}
|
||||||
|
|
@ -805,15 +805,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
${cityssm.escapeHTML((_c = occupant.occupantAddress1) !== null && _c !== void 0 ? _c : '')}<br />
|
${cityssm.escapeHTML((_c = occupant.occupantAddress1) !== null && _c !== void 0 ? _c : '')}<br />
|
||||||
${((_d = occupant.occupantAddress2) !== null && _d !== void 0 ? _d : '') === ''
|
${((_d = occupant.occupantAddress2) !== null && _d !== void 0 ? _d : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_e = occupant.occupantAddress2) !== null && _e !== void 0 ? _e : '') +
|
: `${cityssm.escapeHTML((_e = occupant.occupantAddress2) !== null && _e !== void 0 ? _e : '')}<br />`}${cityssm.escapeHTML((_f = occupant.occupantCity) !== null && _f !== void 0 ? _f : '')}, ${cityssm.escapeHTML((_g = occupant.occupantProvince) !== null && _g !== void 0 ? _g : '')}<br />
|
||||||
'<br />'}${cityssm.escapeHTML((_f = occupant.occupantCity) !== null && _f !== void 0 ? _f : '')}, ${cityssm.escapeHTML((_g = occupant.occupantProvince) !== null && _g !== void 0 ? _g : '')}<br />
|
|
||||||
${cityssm.escapeHTML((_h = occupant.occupantPostalCode) !== null && _h !== void 0 ? _h : '')}
|
${cityssm.escapeHTML((_h = occupant.occupantPostalCode) !== null && _h !== void 0 ? _h : '')}
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
${((_j = occupant.occupantPhoneNumber) !== null && _j !== void 0 ? _j : '') === ''
|
${((_j = occupant.occupantPhoneNumber) !== null && _j !== void 0 ? _j : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_k = occupant.occupantPhoneNumber) !== null && _k !== void 0 ? _k : '') +
|
: `${cityssm.escapeHTML((_k = occupant.occupantPhoneNumber) !== null && _k !== void 0 ? _k : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${cityssm.escapeHTML((_l = occupant.occupantEmailAddress) !== null && _l !== void 0 ? _l : '')}<br />
|
${cityssm.escapeHTML((_l = occupant.occupantEmailAddress) !== null && _l !== void 0 ? _l : '')}<br />
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
@ -1251,9 +1249,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
((_p = lotOccupancyFee.taxAmount) !== null && _p !== void 0 ? _p : 0) * ((_q = lotOccupancyFee.quantity) !== null && _q !== void 0 ? _q : 0);
|
((_p = lotOccupancyFee.taxAmount) !== null && _p !== void 0 ? _p : 0) * ((_q = lotOccupancyFee.quantity) !== null && _q !== void 0 ? _q : 0);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--feeAmountTotal').textContent = '$' + feeAmountTotal.toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--feeAmountTotal').textContent = `$${feeAmountTotal.toFixed(2)}`;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--taxAmountTotal').textContent = '$' + taxAmountTotal.toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--taxAmountTotal').textContent = `$${taxAmountTotal.toFixed(2)}`;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--grandTotal').textContent = '$' + (feeAmountTotal + taxAmountTotal).toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--grandTotal').textContent = `$${(feeAmountTotal + taxAmountTotal).toFixed(2)}`;
|
||||||
renderLotOccupancyTransactions();
|
renderLotOccupancyTransactions();
|
||||||
}
|
}
|
||||||
const addFeeButtonElement = document.querySelector('#button--addFee');
|
const addFeeButtonElement = document.querySelector('#button--addFee');
|
||||||
|
|
@ -1343,7 +1341,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
categoryContainerElement.className = 'container--feeCategory';
|
categoryContainerElement.className = 'container--feeCategory';
|
||||||
categoryContainerElement.dataset.feeCategoryId =
|
categoryContainerElement.dataset.feeCategoryId =
|
||||||
feeCategory.feeCategoryId.toString();
|
feeCategory.feeCategoryId.toString();
|
||||||
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">${cityssm.escapeHTML((_a = feeCategory.feeCategory) !== null && _a !== void 0 ? _a : '')}</h4>
|
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">
|
||||||
|
${cityssm.escapeHTML((_a = feeCategory.feeCategory) !== null && _a !== void 0 ? _a : '')}
|
||||||
|
</h4>
|
||||||
<div class="panel mb-5"></div>`;
|
<div class="panel mb-5"></div>`;
|
||||||
let hasFees = false;
|
let hasFees = false;
|
||||||
for (const fee of feeCategory.fees) {
|
for (const fee of feeCategory.fees) {
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
</div>`;
|
</div>`;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cityssm.postJSON(los.urlPrefix + '/lotOccupancies/doGetOccupancyTypeFields', {
|
cityssm.postJSON(`${los.urlPrefix}/lotOccupancies/doGetOccupancyTypeFields`, {
|
||||||
occupancyTypeId: occupancyTypeIdElement.value
|
occupancyTypeId: occupancyTypeIdElement.value
|
||||||
}, (rawResponseJSON) => {
|
}, (rawResponseJSON) => {
|
||||||
var _a, _b;
|
var _a, _b;
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ declare const exports: Record<string, unknown>
|
||||||
}
|
}
|
||||||
|
|
||||||
cityssm.postJSON(
|
cityssm.postJSON(
|
||||||
los.urlPrefix + '/lotOccupancies/doGetOccupancyTypeFields',
|
`${los.urlPrefix}/lotOccupancies/doGetOccupancyTypeFields`,
|
||||||
{
|
{
|
||||||
occupancyTypeId: occupancyTypeIdElement.value
|
occupancyTypeId: occupancyTypeIdElement.value
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -177,9 +177,9 @@ function renderLotOccupancyFees() {
|
||||||
((_p = lotOccupancyFee.taxAmount) !== null && _p !== void 0 ? _p : 0) * ((_q = lotOccupancyFee.quantity) !== null && _q !== void 0 ? _q : 0);
|
((_p = lotOccupancyFee.taxAmount) !== null && _p !== void 0 ? _p : 0) * ((_q = lotOccupancyFee.quantity) !== null && _q !== void 0 ? _q : 0);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--feeAmountTotal').textContent = '$' + feeAmountTotal.toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--feeAmountTotal').textContent = `$${feeAmountTotal.toFixed(2)}`;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--taxAmountTotal').textContent = '$' + taxAmountTotal.toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--taxAmountTotal').textContent = `$${taxAmountTotal.toFixed(2)}`;
|
||||||
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--grandTotal').textContent = '$' + (feeAmountTotal + taxAmountTotal).toFixed(2);
|
lotOccupancyFeesContainerElement.querySelector('#lotOccupancyFees--grandTotal').textContent = `$${(feeAmountTotal + taxAmountTotal).toFixed(2)}`;
|
||||||
renderLotOccupancyTransactions();
|
renderLotOccupancyTransactions();
|
||||||
}
|
}
|
||||||
const addFeeButtonElement = document.querySelector('#button--addFee');
|
const addFeeButtonElement = document.querySelector('#button--addFee');
|
||||||
|
|
@ -269,7 +269,9 @@ addFeeButtonElement.addEventListener('click', () => {
|
||||||
categoryContainerElement.className = 'container--feeCategory';
|
categoryContainerElement.className = 'container--feeCategory';
|
||||||
categoryContainerElement.dataset.feeCategoryId =
|
categoryContainerElement.dataset.feeCategoryId =
|
||||||
feeCategory.feeCategoryId.toString();
|
feeCategory.feeCategoryId.toString();
|
||||||
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">${cityssm.escapeHTML((_a = feeCategory.feeCategory) !== null && _a !== void 0 ? _a : '')}</h4>
|
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">
|
||||||
|
${cityssm.escapeHTML((_a = feeCategory.feeCategory) !== null && _a !== void 0 ? _a : '')}
|
||||||
|
</h4>
|
||||||
<div class="panel mb-5"></div>`;
|
<div class="panel mb-5"></div>`;
|
||||||
let hasFees = false;
|
let hasFees = false;
|
||||||
for (const fee of feeCategory.fees) {
|
for (const fee of feeCategory.fees) {
|
||||||
|
|
|
||||||
|
|
@ -268,17 +268,17 @@ function renderLotOccupancyFees(): void {
|
||||||
lotOccupancyFeesContainerElement.querySelector(
|
lotOccupancyFeesContainerElement.querySelector(
|
||||||
'#lotOccupancyFees--feeAmountTotal'
|
'#lotOccupancyFees--feeAmountTotal'
|
||||||
) as HTMLElement
|
) as HTMLElement
|
||||||
).textContent = '$' + feeAmountTotal.toFixed(2)
|
).textContent = `$${feeAmountTotal.toFixed(2)}`
|
||||||
;(
|
;(
|
||||||
lotOccupancyFeesContainerElement.querySelector(
|
lotOccupancyFeesContainerElement.querySelector(
|
||||||
'#lotOccupancyFees--taxAmountTotal'
|
'#lotOccupancyFees--taxAmountTotal'
|
||||||
) as HTMLElement
|
) as HTMLElement
|
||||||
).textContent = '$' + taxAmountTotal.toFixed(2)
|
).textContent = `$${taxAmountTotal.toFixed(2)}`
|
||||||
;(
|
;(
|
||||||
lotOccupancyFeesContainerElement.querySelector(
|
lotOccupancyFeesContainerElement.querySelector(
|
||||||
'#lotOccupancyFees--grandTotal'
|
'#lotOccupancyFees--grandTotal'
|
||||||
) as HTMLElement
|
) as HTMLElement
|
||||||
).textContent = '$' + (feeAmountTotal + taxAmountTotal).toFixed(2)
|
).textContent = `$${(feeAmountTotal + taxAmountTotal).toFixed(2)}`
|
||||||
|
|
||||||
renderLotOccupancyTransactions()
|
renderLotOccupancyTransactions()
|
||||||
}
|
}
|
||||||
|
|
@ -406,7 +406,9 @@ addFeeButtonElement.addEventListener('click', () => {
|
||||||
categoryContainerElement.dataset.feeCategoryId =
|
categoryContainerElement.dataset.feeCategoryId =
|
||||||
feeCategory.feeCategoryId.toString()
|
feeCategory.feeCategoryId.toString()
|
||||||
|
|
||||||
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}</h4>
|
categoryContainerElement.innerHTML = `<h4 class="title is-5 mt-2">
|
||||||
|
${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}
|
||||||
|
</h4>
|
||||||
<div class="panel mb-5"></div>`
|
<div class="panel mb-5"></div>`
|
||||||
|
|
||||||
let hasFees = false
|
let hasFees = false
|
||||||
|
|
|
||||||
|
|
@ -184,19 +184,19 @@ function renderLotOccupancyOccupants() {
|
||||||
</td><td>
|
</td><td>
|
||||||
${((_f = lotOccupancyOccupant.occupantAddress1) !== null && _f !== void 0 ? _f : '') === ''
|
${((_f = lotOccupancyOccupant.occupantAddress1) !== null && _f !== void 0 ? _f : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_g = lotOccupancyOccupant.occupantAddress1) !== null && _g !== void 0 ? _g : '') +
|
: `${cityssm.escapeHTML((_g = lotOccupancyOccupant.occupantAddress1) !== null && _g !== void 0 ? _g : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${((_h = lotOccupancyOccupant.occupantAddress2) !== null && _h !== void 0 ? _h : '') === ''
|
${((_h = lotOccupancyOccupant.occupantAddress2) !== null && _h !== void 0 ? _h : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_j = lotOccupancyOccupant.occupantAddress2) !== null && _j !== void 0 ? _j : '') +
|
: `${cityssm.escapeHTML((_j = lotOccupancyOccupant.occupantAddress2) !== null && _j !== void 0 ? _j : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${((_k = lotOccupancyOccupant.occupantCity) !== null && _k !== void 0 ? _k : '') === ''
|
${((_k = lotOccupancyOccupant.occupantCity) !== null && _k !== void 0 ? _k : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_l = lotOccupancyOccupant.occupantCity) !== null && _l !== void 0 ? _l : '') + ', '}
|
: `${cityssm.escapeHTML((_l = lotOccupancyOccupant.occupantCity) !== null && _l !== void 0 ? _l : '')}, `}
|
||||||
${cityssm.escapeHTML((_m = lotOccupancyOccupant.occupantProvince) !== null && _m !== void 0 ? _m : '')}<br />
|
${cityssm.escapeHTML((_m = lotOccupancyOccupant.occupantProvince) !== null && _m !== void 0 ? _m : '')}<br />
|
||||||
${cityssm.escapeHTML((_o = lotOccupancyOccupant.occupantPostalCode) !== null && _o !== void 0 ? _o : '')}</td><td>${((_p = lotOccupancyOccupant.occupantPhoneNumber) !== null && _p !== void 0 ? _p : '') === ''
|
${cityssm.escapeHTML((_o = lotOccupancyOccupant.occupantPostalCode) !== null && _o !== void 0 ? _o : '')}
|
||||||
|
</td><td>
|
||||||
|
${((_p = lotOccupancyOccupant.occupantPhoneNumber) !== null && _p !== void 0 ? _p : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_q = lotOccupancyOccupant.occupantPhoneNumber) !== null && _q !== void 0 ? _q : '') + '<br />'}
|
: `${cityssm.escapeHTML((_q = lotOccupancyOccupant.occupantPhoneNumber) !== null && _q !== void 0 ? _q : '')}<br />`}
|
||||||
${((_r = lotOccupancyOccupant.occupantEmailAddress) !== null && _r !== void 0 ? _r : '') === ''
|
${((_r = lotOccupancyOccupant.occupantEmailAddress) !== null && _r !== void 0 ? _r : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_s = lotOccupancyOccupant.occupantEmailAddress) !== null && _s !== void 0 ? _s : '')}
|
: cityssm.escapeHTML((_s = lotOccupancyOccupant.occupantEmailAddress) !== null && _s !== void 0 ? _s : '')}
|
||||||
|
|
@ -325,15 +325,13 @@ else {
|
||||||
${cityssm.escapeHTML((_c = occupant.occupantAddress1) !== null && _c !== void 0 ? _c : '')}<br />
|
${cityssm.escapeHTML((_c = occupant.occupantAddress1) !== null && _c !== void 0 ? _c : '')}<br />
|
||||||
${((_d = occupant.occupantAddress2) !== null && _d !== void 0 ? _d : '') === ''
|
${((_d = occupant.occupantAddress2) !== null && _d !== void 0 ? _d : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_e = occupant.occupantAddress2) !== null && _e !== void 0 ? _e : '') +
|
: `${cityssm.escapeHTML((_e = occupant.occupantAddress2) !== null && _e !== void 0 ? _e : '')}<br />`}${cityssm.escapeHTML((_f = occupant.occupantCity) !== null && _f !== void 0 ? _f : '')}, ${cityssm.escapeHTML((_g = occupant.occupantProvince) !== null && _g !== void 0 ? _g : '')}<br />
|
||||||
'<br />'}${cityssm.escapeHTML((_f = occupant.occupantCity) !== null && _f !== void 0 ? _f : '')}, ${cityssm.escapeHTML((_g = occupant.occupantProvince) !== null && _g !== void 0 ? _g : '')}<br />
|
|
||||||
${cityssm.escapeHTML((_h = occupant.occupantPostalCode) !== null && _h !== void 0 ? _h : '')}
|
${cityssm.escapeHTML((_h = occupant.occupantPostalCode) !== null && _h !== void 0 ? _h : '')}
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
${((_j = occupant.occupantPhoneNumber) !== null && _j !== void 0 ? _j : '') === ''
|
${((_j = occupant.occupantPhoneNumber) !== null && _j !== void 0 ? _j : '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML((_k = occupant.occupantPhoneNumber) !== null && _k !== void 0 ? _k : '') +
|
: `${cityssm.escapeHTML((_k = occupant.occupantPhoneNumber) !== null && _k !== void 0 ? _k : '')}<br />`}
|
||||||
'<br />'}
|
|
||||||
${cityssm.escapeHTML((_l = occupant.occupantEmailAddress) !== null && _l !== void 0 ? _l : '')}<br />
|
${cityssm.escapeHTML((_l = occupant.occupantEmailAddress) !== null && _l !== void 0 ? _l : '')}<br />
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
|
||||||
|
|
@ -332,27 +332,27 @@ function renderLotOccupancyOccupants(): void {
|
||||||
${
|
${
|
||||||
(lotOccupancyOccupant.occupantAddress1 ?? '') === ''
|
(lotOccupancyOccupant.occupantAddress1 ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(lotOccupancyOccupant.occupantAddress1 ?? '') +
|
: `${cityssm.escapeHTML(lotOccupancyOccupant.occupantAddress1 ?? '')}<br />`
|
||||||
'<br />'
|
|
||||||
}
|
}
|
||||||
${
|
${
|
||||||
(lotOccupancyOccupant.occupantAddress2 ?? '') === ''
|
(lotOccupancyOccupant.occupantAddress2 ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(lotOccupancyOccupant.occupantAddress2 ?? '') +
|
: `${cityssm.escapeHTML(lotOccupancyOccupant.occupantAddress2 ?? '')}<br />`
|
||||||
'<br />'
|
|
||||||
}
|
}
|
||||||
${
|
${
|
||||||
(lotOccupancyOccupant.occupantCity ?? '') === ''
|
(lotOccupancyOccupant.occupantCity ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(lotOccupancyOccupant.occupantCity ?? '') + ', '
|
: `${cityssm.escapeHTML(lotOccupancyOccupant.occupantCity ?? '')}, `
|
||||||
}
|
}
|
||||||
${cityssm.escapeHTML(lotOccupancyOccupant.occupantProvince ?? '')}<br />
|
${cityssm.escapeHTML(lotOccupancyOccupant.occupantProvince ?? '')}<br />
|
||||||
${cityssm.escapeHTML(lotOccupancyOccupant.occupantPostalCode ?? '')}</td><td>${
|
${cityssm.escapeHTML(lotOccupancyOccupant.occupantPostalCode ?? '')}
|
||||||
|
</td><td>
|
||||||
|
${
|
||||||
(lotOccupancyOccupant.occupantPhoneNumber ?? '') === ''
|
(lotOccupancyOccupant.occupantPhoneNumber ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(
|
: `${cityssm.escapeHTML(
|
||||||
lotOccupancyOccupant.occupantPhoneNumber ?? ''
|
lotOccupancyOccupant.occupantPhoneNumber ?? ''
|
||||||
) + '<br />'
|
)}<br />`
|
||||||
}
|
}
|
||||||
${
|
${
|
||||||
(lotOccupancyOccupant.occupantEmailAddress ?? '') === ''
|
(lotOccupancyOccupant.occupantEmailAddress ?? '') === ''
|
||||||
|
|
@ -551,8 +551,7 @@ document
|
||||||
${
|
${
|
||||||
(occupant.occupantAddress2 ?? '') === ''
|
(occupant.occupantAddress2 ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(occupant.occupantAddress2 ?? '') +
|
: `${cityssm.escapeHTML(occupant.occupantAddress2 ?? '')}<br />`
|
||||||
'<br />'
|
|
||||||
}${cityssm.escapeHTML(occupant.occupantCity ?? '')}, ${cityssm.escapeHTML(occupant.occupantProvince ?? '')}<br />
|
}${cityssm.escapeHTML(occupant.occupantCity ?? '')}, ${cityssm.escapeHTML(occupant.occupantProvince ?? '')}<br />
|
||||||
${cityssm.escapeHTML(occupant.occupantPostalCode ?? '')}
|
${cityssm.escapeHTML(occupant.occupantPostalCode ?? '')}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -560,8 +559,7 @@ document
|
||||||
${
|
${
|
||||||
(occupant.occupantPhoneNumber ?? '') === ''
|
(occupant.occupantPhoneNumber ?? '') === ''
|
||||||
? ''
|
? ''
|
||||||
: cityssm.escapeHTML(occupant.occupantPhoneNumber ?? '') +
|
: `${cityssm.escapeHTML(occupant.occupantPhoneNumber ?? '')}<br />`
|
||||||
'<br />'
|
|
||||||
}
|
}
|
||||||
${cityssm.escapeHTML(occupant.occupantEmailAddress ?? '')}<br />
|
${cityssm.escapeHTML(occupant.occupantEmailAddress ?? '')}<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue