From 7b9322eff7957bb86e18b7f6470119a977c87caf Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 25 Mar 2022 19:01:34 +0000 Subject: [PATCH] --- ayanova/src/views/adm-import.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ayanova/src/views/adm-import.vue b/ayanova/src/views/adm-import.vue index 3ecab8f8..3b477a54 100644 --- a/ayanova/src/views/adm-import.vue +++ b/ayanova/src/views/adm-import.vue @@ -291,8 +291,8 @@ async function parseJSONFile(file) { // function cleanData(dat, atype) { var allowedProps = []; - //Note: convention here is any ID field that is linked object we want to support gets renamed here to replace *id with *Name, also Viz is acceptable both will be checked - //at front end it will attempt to match up but not create if not existing + //Note: convention here is any ID field that is linked object we want to support gets renamed here to replace *id with *viz if viz not already present + //at back end it will attempt to match up but not create if not existing switch (atype) { case 8: //CUSTOMER allowedProps.push( @@ -306,11 +306,9 @@ function cleanData(dat, atype) { "WebAddress", "AlertNotes", "BillHeadOffice", - "HeadOfficeName", "HeadOfficeViz", "TechNotes", "AccountNumber", - "ContractName", "ContractViz", "ContractExpires", "Phone1",