import preneed owner
parent
d7590d3602
commit
2ea4bfa53d
|
|
@ -475,6 +475,20 @@ function importFromMasterCSV() {
|
|||
}
|
||||
updateLotStatus(lotId, takenLotStatus.lotStatusId, user);
|
||||
}
|
||||
if (masterRow.CM_PRENEED_OWNER) {
|
||||
addLotOccupancyOccupant({
|
||||
lotOccupancyId: deceasedLotOccupancyId,
|
||||
lotOccupantTypeId: preneedOwnerLotOccupantType.lotOccupantTypeId,
|
||||
occupantName: masterRow.CM_PRENEED_OWNER,
|
||||
occupantAddress1: "",
|
||||
occupantAddress2: "",
|
||||
occupantCity: "",
|
||||
occupantProvince: "",
|
||||
occupantPostalCode: "",
|
||||
occupantPhoneNumber: "",
|
||||
occupantEmailAddress: ""
|
||||
}, user);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
|
|
|||
|
|
@ -891,6 +891,24 @@ function importFromMasterCSV() {
|
|||
|
||||
updateLotStatus(lotId, takenLotStatus.lotStatusId, user);
|
||||
}
|
||||
|
||||
if (masterRow.CM_PRENEED_OWNER) {
|
||||
addLotOccupancyOccupant(
|
||||
{
|
||||
lotOccupancyId: deceasedLotOccupancyId,
|
||||
lotOccupantTypeId: preneedOwnerLotOccupantType.lotOccupantTypeId,
|
||||
occupantName: masterRow.CM_PRENEED_OWNER,
|
||||
occupantAddress1: "",
|
||||
occupantAddress2: "",
|
||||
occupantCity: "",
|
||||
occupantProvince: "",
|
||||
occupantPostalCode: "",
|
||||
occupantPhoneNumber: "",
|
||||
occupantEmailAddress: ""
|
||||
},
|
||||
user
|
||||
);
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
|
|
|||
Loading…
Reference in New Issue