forked from Yara724/api
Merge pull request 'Fixed v4 damaged area part' (#265) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#265
This commit is contained in:
@@ -11347,16 +11347,6 @@ export class ClaimRequestManagementService {
|
||||
uploaded: guiltyAreaUploaded,
|
||||
preferUploadDuringCapture: true,
|
||||
};
|
||||
const guiltyAreaPart = {
|
||||
id: null as any,
|
||||
key: GUILTY_DAMAGE_AREA_DOC_KEY,
|
||||
name: GUILTY_DAMAGE_AREA_DOC_KEY,
|
||||
side: "",
|
||||
label_fa: "تصویر نقطه آسیبدیده مقصر",
|
||||
label_en: "Guilty Car Damaged Area",
|
||||
captured: guiltyAreaUploaded,
|
||||
};
|
||||
|
||||
const captureProgress = getClaimCaptureProgress(claimCase, {
|
||||
skipMetalPlate,
|
||||
includeGuiltyDamageArea: true,
|
||||
@@ -11365,7 +11355,6 @@ export class ClaimRequestManagementService {
|
||||
return {
|
||||
...base,
|
||||
requiredDocuments: [...capturePhaseDocs, guiltyAreaDoc],
|
||||
damagedParts: [...base.damagedParts, guiltyAreaPart],
|
||||
totalRemaining: captureProgress.capturePhaseDocsRemaining,
|
||||
progress: {
|
||||
...base.progress,
|
||||
|
||||
Reference in New Issue
Block a user