Changes based on Paul's feedback.
This commit is contained in:
8
index.js
8
index.js
@@ -152,7 +152,6 @@ function processTenantFile(fileName){
|
|||||||
'State',
|
'State',
|
||||||
'Zip',
|
'Zip',
|
||||||
'TenantWebAddress',
|
'TenantWebAddress',
|
||||||
'Zip4',
|
|
||||||
'TenantSICDescription',
|
'TenantSICDescription',
|
||||||
'TenantSFOccupied',
|
'TenantSFOccupied',
|
||||||
'TenantLocation',
|
'TenantLocation',
|
||||||
@@ -170,7 +169,7 @@ function processTenantFile(fileName){
|
|||||||
y['Full Name P Name Full Name'] = x.FullName;
|
y['Full Name P Name Full Name'] = x.FullName;
|
||||||
y['Last Name'] = x.LastName;
|
y['Last Name'] = x.LastName;
|
||||||
y['First Name'] = x.FirstName;
|
y['First Name'] = x.FirstName;
|
||||||
y['Title P Job Title'] = x.Title;
|
y['Title P Job Title'] = addQuotes(x.Title);
|
||||||
y['Company Name C Name'] = addQuotes(x.CompanyName);
|
y['Company Name C Name'] = addQuotes(x.CompanyName);
|
||||||
y['Phone P Phone Work'] = x.Phone;
|
y['Phone P Phone Work'] = x.Phone;
|
||||||
y['Address C Address: Main Address 1'] = x.Address;
|
y['Address C Address: Main Address 1'] = x.Address;
|
||||||
@@ -190,10 +189,11 @@ function processTenantFile(fileName){
|
|||||||
y['Mailing Address: State P Address: Main State'] = x.MailingAddressState;
|
y['Mailing Address: State P Address: Main State'] = x.MailingAddressState;
|
||||||
y['Mailing Address: Zip P Address: Main State'] = x.MailingAddressZip;
|
y['Mailing Address: Zip P Address: Main State'] = x.MailingAddressZip;
|
||||||
if (fileName.toLowerCase().includes('office')){
|
if (fileName.toLowerCase().includes('office')){
|
||||||
y['C Tag'] = `"Office, Tenant"`;
|
y['C1 Tag'] = `"Office"`;
|
||||||
} else {
|
} else {
|
||||||
y['C Tag'] = `"Industrial, Tenant"`;
|
y['C1 Tag'] = `"Industrial"`;
|
||||||
}
|
}
|
||||||
|
y['C2 Tag'] = 'Tenant';
|
||||||
y['C Description'] = 'Tenant';
|
y['C Description'] = 'Tenant';
|
||||||
|
|
||||||
return y;
|
return y;
|
||||||
|
|||||||
Reference in New Issue
Block a user