Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
15861f0690
commit
f64d5ac0c2
@@ -146,6 +146,7 @@ const IMPORTERS: ImporterConfig[] = [
|
||||
zip: "postal_code", zipcode: "postal_code", postalcode: "postal_code",
|
||||
type: "contact_type", contacttype: "contact_type",
|
||||
notes: "notes",
|
||||
archived: "_archived", isarchived: "_archived",
|
||||
},
|
||||
transform: (r) => {
|
||||
if (!r.name && (r._first || r._last)) {
|
||||
@@ -198,6 +199,7 @@ const IMPORTERS: ImporterConfig[] = [
|
||||
firstname: "first_name", lastname: "last_name",
|
||||
email: "email", phone: "phone",
|
||||
notes: "notes",
|
||||
archived: "_archived", isarchived: "_archived",
|
||||
},
|
||||
transform: (r, ctx) => {
|
||||
const cid = r._clientext ? ctx.clientByExt.get(String(r._clientext)) : null;
|
||||
@@ -244,6 +246,7 @@ const IMPORTERS: ImporterConfig[] = [
|
||||
opposingcounselphone: "opposing_counsel_phone",
|
||||
claimamount: "claim_amount", settlementamount: "settlement_amount",
|
||||
hourlyrate: "default_hourly_rate", rate: "default_hourly_rate",
|
||||
archived: "_archived", isarchived: "_archived",
|
||||
},
|
||||
numeric: ["claim_amount", "settlement_amount", "default_hourly_rate"],
|
||||
dateCols: ["opened_at", "closed_at", "filing_date", "next_hearing_date", "statute_of_limitations"],
|
||||
|
||||
Reference in New Issue
Block a user