This commit is contained in:
2022-03-29 15:49:15 +00:00
parent 5227a15a9a
commit 30a75c63ce

View File

@@ -574,6 +574,39 @@ function cleanData(dat, atype) {
]
);
break;
case window.$gz.type.Vendor:
allowedProps.push(
...[
"Name",
"Active",
"Notes",
"Wiki",
"Tags",
"Contact",
"ContactNotes",
"AlertNotes",
"WebAddress",
"AccountNumber",
"Phone1",
"Phone2",
"Phone3",
"Phone4",
"Phone5",
"EmailAddress",
"PostAddress",
"PostCity",
"PostRegion",
"PostCountry",
"PostCode",
"Address",
"City",
"Region",
"Country",
"Latitude",
"Longitude"
]
);
break;
}
//Strip out any records that have fields not on our allowed list