forked from Yara724/api
mapping problems fixed
This commit is contained in:
@@ -369,6 +369,7 @@ export class InquiryRefreshService {
|
||||
}
|
||||
|
||||
next.insurance.policyNumber =
|
||||
mapped.PrntCmpDocNo ||
|
||||
mapped.PrntPlcyCmpDocNo ||
|
||||
mapped.printNumber ||
|
||||
mapped.insuranceNumber ||
|
||||
@@ -384,9 +385,17 @@ export class InquiryRefreshService {
|
||||
? String(financialCeiling)
|
||||
: next.insurance.financialCeiling;
|
||||
next.insurance.startDate =
|
||||
mapped.persianStartDate || mapped.IssueDate || mapped.SatrtDate || next.insurance.startDate;
|
||||
mapped.StartDate ||
|
||||
mapped.HBgnDte ||
|
||||
mapped.persianStartDate ||
|
||||
mapped.SatrtDate ||
|
||||
mapped.IssueDate ||
|
||||
next.insurance.startDate;
|
||||
next.insurance.endDate =
|
||||
mapped.persianEndDate || mapped.EndDate || next.insurance.endDate;
|
||||
mapped.EndDate ||
|
||||
mapped.HEndDte ||
|
||||
mapped.persianEndDate ||
|
||||
next.insurance.endDate;
|
||||
|
||||
return next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user