forked from Yara724/api
fix damaged parts
This commit is contained in:
@@ -11460,6 +11460,12 @@ export class ClaimRequestManagementService {
|
||||
}
|
||||
}
|
||||
|
||||
// For V4 THIRD_PARTY files, guilty_damage_area must be counted in the
|
||||
// capture-phase doc total for ALL capture uploads (not just the guilty_damage_area
|
||||
// upload itself) so that the CAPTURE_PART_DAMAGES step is not marked complete
|
||||
// until all three standard docs AND the guilty area photo are uploaded.
|
||||
const includeGuiltyDamageArea = isV4FileMaker && !isCarBodyBlame;
|
||||
|
||||
return this.uploadRequiredDocumentV2(
|
||||
claimRequestId,
|
||||
body,
|
||||
@@ -11470,7 +11476,7 @@ export class ClaimRequestManagementService {
|
||||
v3InPersonFlow: true,
|
||||
skipMetalPlate,
|
||||
requiresFileMakerApproval: !!(claimCase as any).requiresFileMakerApproval,
|
||||
includeGuiltyDamageArea: isGuiltyDamageAreaDoc,
|
||||
includeGuiltyDamageArea,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user