forked from Yara724/api
Merge pull request 'fix damaged parts' (#266) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#266
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(
|
return this.uploadRequiredDocumentV2(
|
||||||
claimRequestId,
|
claimRequestId,
|
||||||
body,
|
body,
|
||||||
@@ -11470,7 +11476,7 @@ export class ClaimRequestManagementService {
|
|||||||
v3InPersonFlow: true,
|
v3InPersonFlow: true,
|
||||||
skipMetalPlate,
|
skipMetalPlate,
|
||||||
requiresFileMakerApproval: !!(claimCase as any).requiresFileMakerApproval,
|
requiresFileMakerApproval: !!(claimCase as any).requiresFileMakerApproval,
|
||||||
includeGuiltyDamageArea: isGuiltyDamageAreaDoc,
|
includeGuiltyDamageArea,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user