forked from Yara724/api
YARA-1076
This commit is contained in:
@@ -346,6 +346,14 @@ export class ClaimRequestManagementService {
|
||||
: this.isRequiredDocumentUploadedOnClaim(claimCase, k);
|
||||
if (!ok) return false;
|
||||
}
|
||||
if (isCarBody) {
|
||||
const g = ClaimRequiredDocumentType.CAR_GREEN_CARD;
|
||||
const ok =
|
||||
assumeUploadedKey === g
|
||||
? true
|
||||
: this.isRequiredDocumentUploadedOnClaim(claimCase, g);
|
||||
if (!ok) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -362,6 +370,14 @@ export class ClaimRequestManagementService {
|
||||
: this.isRequiredDocumentUploadedOnClaim(claimCase, k);
|
||||
if (!ok) n++;
|
||||
}
|
||||
if (isCarBody) {
|
||||
const g = ClaimRequiredDocumentType.CAR_GREEN_CARD;
|
||||
const ok =
|
||||
assumeUploadedKey === g
|
||||
? true
|
||||
: this.isRequiredDocumentUploadedOnClaim(claimCase, g);
|
||||
if (!ok) n++;
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user