forked from Yara724/api
YARA-1061
This commit is contained in:
@@ -367,8 +367,7 @@ export class InquiryRefreshService {
|
||||
}
|
||||
|
||||
next.insurance.policyNumber =
|
||||
mapped.LastCompanyDocumentNumber ||
|
||||
mapped.insuranceNumber ||
|
||||
mapped.PrntPlcyCmpDocNo ||
|
||||
next.insurance.policyNumber;
|
||||
next.insurance.company =
|
||||
mapped.companyPersianName || mapped.CompanyName || next.insurance.company;
|
||||
|
||||
@@ -1323,7 +1323,7 @@ export class RequestManagementService {
|
||||
};
|
||||
|
||||
if (!party.insurance) party.insurance = {} as any;
|
||||
party.insurance.policyNumber = inquiryMapped?.insuranceNumber;
|
||||
party.insurance.policyNumber = inquiryMapped?.PrntPlcyCmpDocNo;
|
||||
party.insurance.company = clientName;
|
||||
party.insurance.financialCeiling = inquiryMapped?.FinancialCvrCptl;
|
||||
party.insurance.startDate = inquiryMapped?.IssueDate;
|
||||
|
||||
Reference in New Issue
Block a user