@dynamatix/gb-schemas 2.3.285 → 2.3.287
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant-welcome-call.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-welcome-call.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA4rBhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAEnF,eAAe,gBAAgB,CAAC"}
|
|
@@ -384,7 +384,7 @@ welcomeCallSchema.virtual('otherApplicantsNameAndDOB').get(function () {
|
|
|
384
384
|
// Format as an HTML line (with bold labels and inline values)
|
|
385
385
|
return `
|
|
386
386
|
<div class="applicant-line">
|
|
387
|
-
<span>${fullFirstName}, ${lastName}, ${formattedDOB}${comma}</span>
|
|
387
|
+
<span class="readonly-data">${fullFirstName}, ${lastName}, ${formattedDOB}${comma}</span>
|
|
388
388
|
</div>
|
|
389
389
|
`;
|
|
390
390
|
}).filter((line) => line && line.trim() !== '');
|
|
@@ -586,10 +586,12 @@ welcomeCallSchema.virtual('financeSummaryHtml').get(function () {
|
|
|
586
586
|
let occupancy = '';
|
|
587
587
|
// Get product information (first 3 characters)
|
|
588
588
|
if (application.selectedProduct && typeof application.selectedProduct === 'string') {
|
|
589
|
-
|
|
589
|
+
const extracted = application.selectedProduct.split('(')[0].trim();
|
|
590
|
+
product = `${extracted} product`;
|
|
590
591
|
}
|
|
591
592
|
else if (application.productId && typeof application.productId === 'object' && application.productId.selectedProduct) {
|
|
592
|
-
|
|
593
|
+
const extracted = application.productId.selectedProduct.split('(')[0].trim();
|
|
594
|
+
product = `${extracted} product`;
|
|
593
595
|
}
|
|
594
596
|
else {
|
|
595
597
|
product = '-';
|
|
@@ -636,11 +638,11 @@ welcomeCallSchema.virtual('financeSummaryHtml').get(function () {
|
|
|
636
638
|
}
|
|
637
639
|
// Create HTML content
|
|
638
640
|
const summaryContent = `
|
|
639
|
-
<div><p class="text-bold">Product:</p> <span>${product}</span></div>
|
|
640
|
-
<div><p class="text-bold">Finance Term:</p> <span>${financeTerm}</span></div>
|
|
641
|
-
<div><p class="text-bold">Monthly Finance:</p> <span>${monthlyFinance}</span></div>
|
|
642
|
-
<div><p class="text-bold">Rental Income:</p> <span>${rentalIncome}</span></div>
|
|
643
|
-
<div><p class="text-bold">Occupancy:</p> <span>${occupancy}</span></div>
|
|
641
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Product:</p> <span class="readonly-data ml-2">${product}</span></div>
|
|
642
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Finance Term:</p> <span class="readonly-data ml-2">${financeTerm}</span></div>
|
|
643
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Monthly Finance:</p> <span class="readonly-data ml-2">${monthlyFinance}</span></div>
|
|
644
|
+
<div class="flex align-items-center mb-2"><p class="text-bold m-0 readonly-data">Rental Income:</p> <span class="readonly-data ml-2">${rentalIncome}</span></div>
|
|
645
|
+
<div class="flex align-items-center"><p class="text-bold m-0 readonly-data">Occupancy:</p> <span class="readonly-data ml-2">${occupancy}</span></div>
|
|
644
646
|
`;
|
|
645
647
|
return summaryContent;
|
|
646
648
|
}
|