forked from Yara724/api
YARA-1218
This commit is contained in:
@@ -8690,6 +8690,8 @@ export class RequestManagementService {
|
||||
party.person.insurerLicense = partyData.insurerLicense;
|
||||
if (partyData.driverLicense)
|
||||
party.person.driverLicense = partyData.driverLicense;
|
||||
if ((partyData as any).licenseType)
|
||||
(party.person as any).licenseType = (partyData as any).licenseType;
|
||||
|
||||
if (!party.vehicle) party.vehicle = {} as any;
|
||||
party.vehicle.plateId = this.plateToPlateIdString(partyData.plate);
|
||||
@@ -9502,6 +9504,8 @@ export class RequestManagementService {
|
||||
party.person.insurerLicense = partyData.insurerLicense;
|
||||
if (partyData.driverLicense)
|
||||
party.person.driverLicense = partyData.driverLicense;
|
||||
if ((partyData as any).licenseType)
|
||||
(party.person as any).licenseType = (partyData as any).licenseType;
|
||||
|
||||
if (!party.vehicle) party.vehicle = {} as any;
|
||||
party.vehicle.plateId = partyData.vin; // store VIN as vehicle identifier
|
||||
@@ -11117,6 +11121,7 @@ export class RequestManagementService {
|
||||
clientId: p.person?.clientId
|
||||
? String(p.person.clientId)
|
||||
: undefined,
|
||||
licenseType: p.person?.licenseType ?? undefined,
|
||||
},
|
||||
insurance: p.insurance
|
||||
? {
|
||||
@@ -11211,6 +11216,7 @@ export class RequestManagementService {
|
||||
driverIsInsurer: p.person?.driverIsInsurer,
|
||||
userId: p.person?.userId ? String(p.person.userId) : undefined,
|
||||
clientId: p.person?.clientId ? String(p.person.clientId) : undefined,
|
||||
licenseType: p.person?.licenseType ?? undefined,
|
||||
},
|
||||
insurance: p.insurance ? {
|
||||
company: p.insurance.company,
|
||||
@@ -11317,6 +11323,7 @@ export class RequestManagementService {
|
||||
driverIsInsurer: p.person?.driverIsInsurer,
|
||||
userId: p.person?.userId ? String(p.person.userId) : undefined,
|
||||
clientId: p.person?.clientId ? String(p.person.clientId) : undefined,
|
||||
licenseType: p.person?.licenseType ?? undefined,
|
||||
},
|
||||
insurance: p.insurance ? {
|
||||
company: p.insurance.company,
|
||||
|
||||
Reference in New Issue
Block a user