@dynamatix/gb-schemas 2.3.266 → 2.3.267
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.
|
@@ -274,7 +274,7 @@ welcomeCallSchema.virtual('applicantEmployerBusinessName').get(function () {
|
|
|
274
274
|
value: employmentStatus.value
|
|
275
275
|
});
|
|
276
276
|
// Check if it's employed status (options 1, 3, 5)
|
|
277
|
-
if (statusValue === '
|
|
277
|
+
if (statusValue === '1' || statusValue === '3' || statusValue === '5') {
|
|
278
278
|
console.log('Matched employed status, checking employment info');
|
|
279
279
|
// Check employment information
|
|
280
280
|
if (applicant.employmentInformationId && typeof applicant.employmentInformationId === 'object') {
|
|
@@ -286,7 +286,7 @@ welcomeCallSchema.virtual('applicantEmployerBusinessName').get(function () {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
// Check if it's self-employed or solo trader status (options 2, 4)
|
|
289
|
-
else if (statusValue === '
|
|
289
|
+
else if (statusValue === '2' || statusValue === '4' || statusValue === '6') {
|
|
290
290
|
console.log('Matched self-employed status, checking self-employment info');
|
|
291
291
|
// Check self-employment information
|
|
292
292
|
if (applicant.selfEmployedInformationId && typeof applicant.selfEmployedInformationId === 'object') {
|