forked from Yara724/api
update the fanavaran for both tejarat no and parsian clients , dont forget about the env files
This commit is contained in:
@@ -3466,17 +3466,7 @@ export class ExpertClaimService {
|
||||
});
|
||||
}
|
||||
|
||||
const fanavaranExpertise = !needsFactorUpload
|
||||
? await this.claimRequestManagementService.autoSubmitFanavaranExpertiseOnExpertReply(
|
||||
claimRequestId,
|
||||
)
|
||||
: {
|
||||
attempted: false,
|
||||
submitted: false,
|
||||
skipped: true,
|
||||
skipReason:
|
||||
"Expertise submit waits until factor-needed repair lines are validated.",
|
||||
};
|
||||
// Fanavaran expertise is now triggered on owner final sign, not here.
|
||||
|
||||
return {
|
||||
claimRequestId,
|
||||
@@ -3490,7 +3480,6 @@ export class ExpertClaimService {
|
||||
mixedPricingAndFactors: mixedFactorAndPrice,
|
||||
allPartsFactorNeeded: !!needsFactorUpload && !!allFactorLines,
|
||||
isFinalReplyAfterObjection,
|
||||
fanavaranExpertise,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user