diff --git a/index.js b/index.js index 987513d..7e62a23 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,6 @@ function processTenantFile(fileName){ 'State', 'Zip', 'TenantWebAddress', - 'Zip4', 'TenantSICDescription', 'TenantSFOccupied', 'TenantLocation', @@ -170,7 +169,7 @@ function processTenantFile(fileName){ y['Full Name P Name Full Name'] = x.FullName; y['Last Name'] = x.LastName; 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['Phone P Phone Work'] = x.Phone; 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: Zip P Address: Main State'] = x.MailingAddressZip; if (fileName.toLowerCase().includes('office')){ - y['C Tag'] = `"Office, Tenant"`; + y['C1 Tag'] = `"Office"`; } else { - y['C Tag'] = `"Industrial, Tenant"`; + y['C1 Tag'] = `"Industrial"`; } + y['C2 Tag'] = 'Tenant'; y['C Description'] = 'Tenant'; return y;