Added Lead Name to tenant file.
This commit is contained in:
1
index.js
1
index.js
@@ -166,6 +166,7 @@ function processTenantFile(fileName){
|
||||
}).fromFile(`./intake/${fileName}`).then(jsonObj => {
|
||||
let data = jsonObj.map(x => {
|
||||
let y = {};
|
||||
y['Lead Name'] = `${x.Address} ${x.Suite.length > 0 ? x.Suite + ' ' : ''}${x.City} ${x.State} ${x.Zip}`
|
||||
y['Full Name P Name Full Name'] = x.FullName;
|
||||
y['Last Name'] = x.LastName;
|
||||
y['First Name'] = x.FirstName;
|
||||
|
||||
Reference in New Issue
Block a user