1
0
forked from Yara724/api
This commit is contained in:
SepehrYahyaee
2026-04-25 17:38:01 +03:30
parent 05c5b70b4d
commit 7184142137
4 changed files with 28 additions and 2 deletions

View File

@@ -117,6 +117,8 @@ export class AllRequestDtoV2 {
type: string;
blameStatus: string;
partiesInitialForms: { firstParty: string; secondParty: string };
firstPartyVehicle: string;
secondPartyVehicle?: string;
}
export class AllRequestDtoRsV2 {

View File

@@ -381,6 +381,8 @@ export class ExpertBlameService {
firstParty: statementToFormKey(firstParty?.statement) ?? "",
secondParty: statementToFormKey(secondParty?.statement) ?? "",
},
firstPartyVehicle: doc.parties[0]?.person?.vehicle?.name,
secondPartyVehicle: doc.parties[1]?.person?.vehicle?.name,
};
}