forked from Yara724/api
fix(workflows): resolve QA blockers and protect case evidence
Fix registrar signing, reviewer re-entry, replacement evidence freshness, owner decision and rating races, multipart objections, vehicle serialization and product reporting. Validate uploaded media with FFmpeg, serve evidence through expiring signed links, and add targeted regressions plus a dry-run repair for prematurely completed visit cases.
This commit is contained in:
@@ -103,6 +103,12 @@ export function buildClaimDetailsV2OwnerGuidance(
|
||||
const objectionAllowed = ownerMaySubmitObjectionForClaimDetails(claim);
|
||||
const objectionHint = objectionHintWhen(objectionAllowed);
|
||||
|
||||
if (claim.status === ClaimCaseStatus.IN_PERSON_VISIT_PENDING) return {
|
||||
phaseKey: "IN_PERSON_VISIT_PENDING", headline: "مراجعه حضوری درخواست شده است",
|
||||
detail: claim.evaluation?.visitLocation || "برای ادامه ارزیابی، به شعبه رسیدگی پرونده مراجعه کنید.",
|
||||
nextActions: [], objectionAllowed: false,
|
||||
};
|
||||
|
||||
if (claim.status === ClaimCaseStatus.COMPLETED) {
|
||||
return {
|
||||
phaseKey: "COMPLETED",
|
||||
|
||||
Reference in New Issue
Block a user