diff --git a/components/case/documents.js b/components/case/documents.js
index bc401367..08e59d63 100644
--- a/components/case/documents.js
+++ b/components/case/documents.js
@@ -160,7 +160,7 @@ const DocumentDetails = (props) => {
? jsonpath({
path: '$..[?(@.value=="All")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: "All"}
@@ -179,7 +179,7 @@ const DocumentDetails = (props) => {
item.pinswg_isharedocumentlocationsLabel +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item.pinswg_isharedocumentlocationsLabel ||
t(
@@ -746,7 +746,7 @@ const DocumentDetails = (props) => {
incidentid +
"')]",
json: item,
- sandbox: {},
+ eval: true,
});
detailsObj = item;
return (
@@ -841,7 +841,7 @@ const DocumentDetails = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/representation/index.js b/components/case/representation/index.js
index ce849cbe..64b4c03a 100644
--- a/components/case/representation/index.js
+++ b/components/case/representation/index.js
@@ -212,18 +212,18 @@ let MakeRepresentation = (props) => {
? (casesObj = jsonpath({
path: '$..[?(@.title=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}))
: currentType == "watchedCases"
? (casesObj = jsonpath({
path: '$..[?(@.ticketnumber=="' + caseReference + '")]',
json: watchedCases,
- sandbox: {},
+ eval: true,
}))
: (casesObj = jsonpath({
path: '$..[?(@.reference=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}));
casesObj = Object.assign({}, ...casesObj);
@@ -271,7 +271,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseResultsObj,
- sandbox: {},
+ eval: true,
});
resultsObj = resultsObj[0];
@@ -282,7 +282,7 @@ let MakeRepresentation = (props) => {
path:
'$..[?(@.repfile_name =="' + router.query.created + '")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -290,7 +290,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -298,7 +298,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
@@ -945,7 +945,7 @@ let MakeRepresentation = (props) => {
detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
diff --git a/components/case/representation/representationDetails.js b/components/case/representation/representationDetails.js
index 8b32d7a3..afd6e0e3 100644
--- a/components/case/representation/representationDetails.js
+++ b/components/case/representation/representationDetails.js
@@ -31,7 +31,7 @@ const RepDetails = (props) => {
detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
diff --git a/components/case/representation/representationLPA.js b/components/case/representation/representationLPA.js
index d2950f83..f782526b 100644
--- a/components/case/representation/representationLPA.js
+++ b/components/case/representation/representationLPA.js
@@ -182,7 +182,7 @@ let RepLPA = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -201,7 +201,7 @@ let RepLPA = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseResultssObj,
- sandbox: {},
+ eval: true,
});
resultsObj = resultsObj[0];
diff --git a/components/case/representation/representationLPADetails.js b/components/case/representation/representationLPADetails.js
index b9433e0b..8ef1b362 100644
--- a/components/case/representation/representationLPADetails.js
+++ b/components/case/representation/representationLPADetails.js
@@ -23,7 +23,7 @@ const RepLPADetails = (props) => {
detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
diff --git a/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_enforcement.js b/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_enforcement.js
index ef433f52..6230d22f 100644
--- a/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_enforcement.js
+++ b/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_enforcement.js
@@ -64,7 +64,7 @@ let Enforcement_Questionnaire = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
});
let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -87,7 +87,7 @@ let Enforcement_Questionnaire = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseResultssObj,
- sandbox: {},
+ eval: true,
});
resultsObj = resultsObj[0];
diff --git a/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_s78.js b/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_s78.js
index 20b6cc6a..6b6d2a29 100644
--- a/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_s78.js
+++ b/components/case/representation/representationQuestionnaires/representationLPAQuestionnaire_s78.js
@@ -66,7 +66,7 @@ let S78_Questionnaire = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseResultssObj,
- sandbox: {},
+ eval: true,
});
let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -95,7 +95,7 @@ let S78_Questionnaire = (props) => {
currentView.caseReference.currentReference +
'")]',
json: setCaseResultssObj,
- sandbox: {},
+ eval: true,
});
resultsObj = resultsObj[0];
diff --git a/components/case/representationList.js b/components/case/representationList.js
index 7c24ae12..bd95c1c9 100644
--- a/components/case/representationList.js
+++ b/components/case/representationList.js
@@ -63,7 +63,7 @@ const RepresentationList = (props) => {
incidentid +
"')]",
json: item,
- sandbox: {},
+ eval: true,
});
detailsObj = item;
diff --git a/components/case/summary.js b/components/case/summary.js
index 58afabab..134b5400 100644
--- a/components/case/summary.js
+++ b/components/case/summary.js
@@ -145,7 +145,7 @@ const CaseSummary = (props) => {
whichIncident +
"')]",
json: watchedCases,
- sandbox: {},
+ eval: true,
});
return isWatched;
@@ -185,30 +185,30 @@ const CaseSummary = (props) => {
? (casesObj = jsonpath({
path: '$..[?(@.title=="' + caseReference + '")]',
json: searchResultsObj,
- sandbox: {},
+ eval: true,
}))
: currentType == "watchedCases"
? (casesObj = jsonpath({
path: '$..[?(@.pinswg_title=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}))
: currentType == "myCases"
? (casesObj = jsonpath({
path: '$..[?(@.pinswg_title=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}))
: currentType == "directResultsObj"
? (casesObj = jsonpath({
path: '$..[?(@.ticketnumber=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}))
: (casesObj = jsonpath({
path: '$..[?(@.reference=="' + caseReference + '")]',
json: setCaseQueryObj,
- sandbox: {},
+ eval: true,
}));
casesObj = Object.assign({}, ...casesObj);
@@ -219,14 +219,14 @@ const CaseSummary = (props) => {
? (detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: searchDetailsObj,
- sandbox: {},
+ eval: true,
}))
: currentType == "directResultsObj"
? (detailsObj = setCaseDetailsObj[0].value[0])
: (detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
jsopn: setCaseDetailsObj,
- sandbox: {},
+ eval: true,
}));
detailsObj = typeof detailsObj == "object" ? detailsObj : detailsObj[0];
@@ -667,14 +667,16 @@ const CaseSummary = (props) => {
{router.locale == "cy"
- ? jsonpath(
- '$..[?(@.value=="' +
+ ? jsonpath({
+ path:
+ '$..[?(@.value=="' +
detailsObj[
"pinswg_casestage@OData.Community.Display.V1.FormattedValue"
] +
'")].value_cy',
- transLookup
- )
+ json: transLookup,
+ eval: true,
+ })
: detailsObj[
"pinswg_casestage@OData.Community.Display.V1.FormattedValue"
] ||
diff --git a/components/case/summaryTypes/pinswg_advertsid.js b/components/case/summaryTypes/pinswg_advertsid.js
index bb6c293c..455450a3 100644
--- a/components/case/summaryTypes/pinswg_advertsid.js
+++ b/components/case/summaryTypes/pinswg_advertsid.js
@@ -35,7 +35,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_speacialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -125,7 +125,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -146,7 +146,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -167,7 +167,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -192,7 +192,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_callinss77id.js b/components/case/summaryTypes/pinswg_callinss77id.js
index fd9ea020..dad9397e 100644
--- a/components/case/summaryTypes/pinswg_callinss77id.js
+++ b/components/case/summaryTypes/pinswg_callinss77id.js
@@ -35,7 +35,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_commonlandid.js b/components/case/summaryTypes/pinswg_commonlandid.js
index 94a67779..3976e81b 100644
--- a/components/case/summaryTypes/pinswg_commonlandid.js
+++ b/components/case/summaryTypes/pinswg_commonlandid.js
@@ -35,7 +35,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -242,7 +242,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -250,7 +250,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js b/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js
index 461bd49b..00b04606 100644
--- a/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js
+++ b/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js
@@ -35,7 +35,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js b/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js
index a6bbcfac..93e21954 100644
--- a/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js
+++ b/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js
@@ -35,7 +35,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -103,7 +103,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -124,7 +124,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -148,7 +148,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -222,7 +222,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -230,7 +230,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_dnsid.js b/components/case/summaryTypes/pinswg_dnsid.js
index 8d88cf5d..d6623f00 100644
--- a/components/case/summaryTypes/pinswg_dnsid.js
+++ b/components/case/summaryTypes/pinswg_dnsid.js
@@ -131,7 +131,7 @@ const Pinswg_dnsid = (props) => {
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -157,7 +157,7 @@ const Pinswg_dnsid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: (
{
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -242,7 +242,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_choiceofprocedure@OData.Community.Display.V1.FormattedValue"
@@ -305,7 +305,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -374,7 +374,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_electricityactid.js b/components/case/summaryTypes/pinswg_electricityactid.js
index 91a6b106..5cb11454 100644
--- a/components/case/summaryTypes/pinswg_electricityactid.js
+++ b/components/case/summaryTypes/pinswg_electricityactid.js
@@ -73,7 +73,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -97,7 +97,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -159,7 +159,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -182,7 +182,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -203,7 +203,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -227,7 +227,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -301,7 +301,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -324,7 +324,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
diff --git a/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js b/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js
index 142d968b..c05b8c63 100644
--- a/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js
+++ b/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js
@@ -35,7 +35,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js b/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js
index fc6db4ad..15bca65e 100644
--- a/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js
+++ b/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js
@@ -35,7 +35,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_environmentalpermittingid.js b/components/case/summaryTypes/pinswg_environmentalpermittingid.js
index 78301cad..b747c0a4 100644
--- a/components/case/summaryTypes/pinswg_environmentalpermittingid.js
+++ b/components/case/summaryTypes/pinswg_environmentalpermittingid.js
@@ -35,7 +35,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -242,7 +242,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -250,7 +250,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_harbourrevisionorderid.js b/components/case/summaryTypes/pinswg_harbourrevisionorderid.js
index 16afe185..4d0a145e 100644
--- a/components/case/summaryTypes/pinswg_harbourrevisionorderid.js
+++ b/components/case/summaryTypes/pinswg_harbourrevisionorderid.js
@@ -73,7 +73,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -97,7 +97,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -159,7 +159,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -180,7 +180,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -204,7 +204,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -278,7 +278,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -301,7 +301,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
diff --git a/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js b/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js
index b9fdd905..1f16e4c8 100644
--- a/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js
+++ b/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js
@@ -35,7 +35,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -125,7 +125,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -146,7 +146,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -167,7 +167,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -191,7 +191,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -265,7 +265,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -273,7 +273,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_householderappealhasid.js b/components/case/summaryTypes/pinswg_householderappealhasid.js
index 26a4d08b..b6dff0ad 100644
--- a/components/case/summaryTypes/pinswg_householderappealhasid.js
+++ b/components/case/summaryTypes/pinswg_householderappealhasid.js
@@ -35,7 +35,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -147,7 +147,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js b/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js
index 2d067aa4..a3a736b8 100644
--- a/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js
+++ b/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js
@@ -35,7 +35,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_ldpid.js b/components/case/summaryTypes/pinswg_ldpid.js
index 0b162e76..bd7ed2dc 100644
--- a/components/case/summaryTypes/pinswg_ldpid.js
+++ b/components/case/summaryTypes/pinswg_ldpid.js
@@ -35,7 +35,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -81,7 +81,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -147,7 +147,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js b/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js
index a7f1cc5a..3accedfc 100644
--- a/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js
+++ b/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js
@@ -35,7 +35,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_maintenanceoflands217id.js b/components/case/summaryTypes/pinswg_maintenanceoflands217id.js
index c359db9a..8ad4672c 100644
--- a/components/case/summaryTypes/pinswg_maintenanceoflands217id.js
+++ b/components/case/summaryTypes/pinswg_maintenanceoflands217id.js
@@ -35,7 +35,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js b/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js
index 9c7f875b..db830b22 100644
--- a/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js
+++ b/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js
@@ -35,7 +35,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -242,7 +242,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -250,7 +250,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_nonvalidationid.js b/components/case/summaryTypes/pinswg_nonvalidationid.js
index b768263f..b18dfc1a 100644
--- a/components/case/summaryTypes/pinswg_nonvalidationid.js
+++ b/components/case/summaryTypes/pinswg_nonvalidationid.js
@@ -35,7 +35,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -80,7 +80,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -101,7 +101,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -125,7 +125,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decisionissued@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_planningappeals78id.js b/components/case/summaryTypes/pinswg_planningappeals78id.js
index 91e5fb8e..b50119fd 100644
--- a/components/case/summaryTypes/pinswg_planningappeals78id.js
+++ b/components/case/summaryTypes/pinswg_planningappeals78id.js
@@ -35,7 +35,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -147,7 +147,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -171,7 +171,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_dicision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_planningconditionss73s79id.js b/components/case/summaryTypes/pinswg_planningconditionss73s79id.js
index a735f2c6..e98c89fb 100644
--- a/components/case/summaryTypes/pinswg_planningconditionss73s79id.js
+++ b/components/case/summaryTypes/pinswg_planningconditionss73s79id.js
@@ -35,7 +35,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_planningobligationappeals106id.js b/components/case/summaryTypes/pinswg_planningobligationappeals106id.js
index 8da3edaf..f1baef0f 100644
--- a/components/case/summaryTypes/pinswg_planningobligationappeals106id.js
+++ b/components/case/summaryTypes/pinswg_planningobligationappeals106id.js
@@ -35,7 +35,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
diff --git a/components/case/summaryTypes/pinswg_rowid.js b/components/case/summaryTypes/pinswg_rowid.js
index 84f94424..6956bc6f 100644
--- a/components/case/summaryTypes/pinswg_rowid.js
+++ b/components/case/summaryTypes/pinswg_rowid.js
@@ -35,7 +35,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -125,7 +125,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -146,7 +146,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -167,7 +167,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -191,7 +191,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -265,7 +265,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -273,7 +273,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/case/summaryTypes/pinswg_transportandworkactid.js b/components/case/summaryTypes/pinswg_transportandworkactid.js
index d0e478e2..4f26083b 100644
--- a/components/case/summaryTypes/pinswg_transportandworkactid.js
+++ b/components/case/summaryTypes/pinswg_transportandworkactid.js
@@ -73,7 +73,7 @@ const Pinswg_transportandworkactid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -122,7 +122,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -145,7 +145,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
diff --git a/components/case/summaryTypes/pinswg_wayleaveid.js b/components/case/summaryTypes/pinswg_wayleaveid.js
index db885366..5d40ef5b 100644
--- a/components/case/summaryTypes/pinswg_wayleaveid.js
+++ b/components/case/summaryTypes/pinswg_wayleaveid.js
@@ -35,7 +35,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -102,7 +102,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -123,7 +123,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -144,7 +144,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -168,7 +168,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -242,7 +242,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -250,7 +250,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
diff --git a/components/elements/index.js b/components/elements/index.js
index 5f3b594b..4f1007cb 100644
--- a/components/elements/index.js
+++ b/components/elements/index.js
@@ -1342,7 +1342,7 @@ const RenderPickList = ({
var dropdownObj = jsonpath({
path: "$..value[?(@.LogicalName=='" + datafieldname + "')]..Options",
json: picklistData,
- sandbox: {},
+ eval: true,
});
dropdownObj = dropdownObj[0];
@@ -1720,7 +1720,7 @@ export const FieldsTranslations = (label) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
- sandbox: {},
+ eval: true,
});
let labelTrans =
@@ -1728,7 +1728,7 @@ export const FieldsTranslations = (label) => {
? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj,
- sandbox: {},
+ eval: true,
})[0]
: label;
@@ -1747,7 +1747,7 @@ const PickListTranslations = (optionValue) => {
? jsonpath({
path: '$..[?(@.value=="' + optionValue + '")].value_cy',
json: pickListLookup,
- sandbox: {},
+ eval: true,
})
: optionValue;
//console.log(optionTrans, optionValue);
@@ -1947,7 +1947,7 @@ const RenderFileUpload = (field) => {
const blobList = jsonpath({
path: "$..[?(@.documentType=='" + field.documentTypeCode + "')]",
json: filelistObj,
- sandbox: {},
+ eval: true,
});
//const blobList = filelistObj;
diff --git a/components/myportal.js b/components/myportal.js
index 9162deb8..1387da38 100644
--- a/components/myportal.js
+++ b/components/myportal.js
@@ -114,7 +114,7 @@ const MyPortal = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: props.accountDetails.accountDetails[
"pinswg_contact_associatedlpa@OData.Community.Display.V1.FormattedValue"
diff --git a/components/myportal/advancedsearch.js b/components/myportal/advancedsearch.js
index 58b95e7e..c699b893 100644
--- a/components/myportal/advancedsearch.js
+++ b/components/myportal/advancedsearch.js
@@ -153,7 +153,7 @@ let AdvancedSearch = (props) => {
.name +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].name ||
t(
@@ -258,7 +258,7 @@ let AdvancedSearch = (props) => {
.value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].value ||
t(
diff --git a/components/myportal/awaitingsubmissionfromblob.js b/components/myportal/awaitingsubmissionfromblob.js
index bca702d2..b327f855 100644
--- a/components/myportal/awaitingsubmissionfromblob.js
+++ b/components/myportal/awaitingsubmissionfromblob.js
@@ -211,7 +211,7 @@ const AwaitingSubmissionFromBlob = (props) => {
).value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: getFormCollectionByID(
showTopThreeArr[key]
@@ -303,7 +303,7 @@ const AwaitingSubmissionFromBlob = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key][
"pinswg_lpaname"
diff --git a/components/myportal/topthree.js b/components/myportal/topthree.js
index 640e9c96..c039c483 100644
--- a/components/myportal/topthree.js
+++ b/components/myportal/topthree.js
@@ -334,7 +334,7 @@ const TopThree = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key][
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -406,7 +406,7 @@ const TopThree = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key][
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
diff --git a/components/myportal/topthree_reps.js b/components/myportal/topthree_reps.js
index c60f87a1..ed48e185 100644
--- a/components/myportal/topthree_reps.js
+++ b/components/myportal/topthree_reps.js
@@ -275,7 +275,7 @@ const TopThree = (props) => {
showTopThreeArr[key].representationType +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key].representationType || ""}
@@ -293,7 +293,7 @@ const TopThree = (props) => {
.representationCapacity +
'" )].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -302,7 +302,7 @@ const TopThree = (props) => {
.representationCapacity +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}).length > 0
? jsonpath({
path:
@@ -311,7 +311,7 @@ const TopThree = (props) => {
.representationCapacity +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key].representationCapacity}
@@ -333,7 +333,7 @@ const TopThree = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: showTopThreeArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
diff --git a/components/myportal/viewall.js b/components/myportal/viewall.js
index 2cb23571..e1536b58 100644
--- a/components/myportal/viewall.js
+++ b/components/myportal/viewall.js
@@ -128,7 +128,7 @@ const ViewAllResults = (props) => {
: item.pinswg_title) +
'")]',
json: searchDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
@@ -484,7 +484,7 @@ const ViewAllResults = (props) => {
resultsArr[key].pinswg_lpaname +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: resultsArr[key].pinswg_lpaname || "N/A"
: ""}
@@ -500,7 +500,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: resultsArr[key][
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -518,7 +518,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: currentView.viewKey == "myRepresentations"
? searchDetailsObj[key].value
@@ -538,7 +538,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: resultsArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
@@ -556,7 +556,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})}
@@ -574,7 +574,7 @@ const ViewAllResults = (props) => {
).value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: getFormCollectionByID(
item.pinswg_appealcasetype
@@ -588,7 +588,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -607,7 +607,7 @@ const ViewAllResults = (props) => {
).value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})[0]
: getFormCollectionByID(
searchDetailsObj[key].appealType
@@ -633,7 +633,7 @@ const ViewAllResults = (props) => {
item.statuscode +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: jsonpath({
path:
@@ -641,7 +641,7 @@ const ViewAllResults = (props) => {
item.statuscode +
'")].value',
json: transLookup,
- sandbox: {},
+ eval: true,
}) || "N/A"
: currentView.viewKey == "myRepresentations"
? repRaisedDate(item.repfile_name) // ? router.locale == "cy"
@@ -675,7 +675,7 @@ const ViewAllResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
diff --git a/components/newappeal/buildcheckrow.js b/components/newappeal/buildcheckrow.js
index 374080bc..514dab18 100644
--- a/components/newappeal/buildcheckrow.js
+++ b/components/newappeal/buildcheckrow.js
@@ -66,7 +66,7 @@ let BuildCheckRow = (props) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
- sandbox: {},
+ eval: true,
});
let labelTrans =
@@ -74,7 +74,7 @@ let BuildCheckRow = (props) => {
? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj,
- sandbox: {},
+ eval: true,
})
: label;
return labelTrans;
@@ -107,7 +107,7 @@ let BuildCheckRow = (props) => {
datafieldname[0].value +
"')]",
json: mandatoryFieldsData,
- sandbox: {},
+ eval: true,
});
var documentTypeCode = xpath.select(
diff --git a/components/newappeal/buildchecksection.js b/components/newappeal/buildchecksection.js
index 519f5c1e..40a24ee2 100644
--- a/components/newappeal/buildchecksection.js
+++ b/components/newappeal/buildchecksection.js
@@ -130,7 +130,7 @@ let BuildCheckSection = (props) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
- sandbox: {},
+ eval: true,
});
let labelTrans =
@@ -138,7 +138,7 @@ let BuildCheckSection = (props) => {
? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj,
- sandbox: {},
+ eval: true,
})
: label;
return labelTrans;
diff --git a/components/newappeal/createCase.js b/components/newappeal/createCase.js
index da9b9aee..73d9d36c 100644
--- a/components/newappeal/createCase.js
+++ b/components/newappeal/createCase.js
@@ -71,7 +71,7 @@ const RenderLPAList = ({
optionsObj[key].name +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].name}
@@ -155,7 +155,7 @@ const RenderAppealTypeList = ({
optionsObj[key].value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].value}
diff --git a/components/pdftemplates/appealRow_pdf.js b/components/pdftemplates/appealRow_pdf.js
index efb4e758..e1f73319 100644
--- a/components/pdftemplates/appealRow_pdf.js
+++ b/components/pdftemplates/appealRow_pdf.js
@@ -151,7 +151,7 @@ export const AppealRow_pdf = (props) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
- sandbox: {},
+ eval: true,
});
let labelTrans = label;
diff --git a/components/search/addresssearchresults.js b/components/search/addresssearchresults.js
index 30918cba..c1f28c16 100644
--- a/components/search/addresssearchresults.js
+++ b/components/search/addresssearchresults.js
@@ -101,7 +101,7 @@ const SearchResults = (props) => {
whichIncident +
"')]",
json: watchedCases,
- sandbox: {},
+ eval: true,
});
return isWatched;
@@ -252,7 +252,7 @@ const SearchResults = (props) => {
'")]',
json: searchDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
return (
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
@@ -486,7 +486,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -509,7 +509,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item["pinswg_appealType"] ||
"N/A"}
@@ -531,7 +531,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
diff --git a/components/search/advancedsearch.js b/components/search/advancedsearch.js
index 8a863dbc..dfdcd744 100644
--- a/components/search/advancedsearch.js
+++ b/components/search/advancedsearch.js
@@ -133,7 +133,7 @@ const RenderCaseStatusList = ({
.statuscode +
'")].value_cy',
json: optionsObj,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].value ||
t(
@@ -258,7 +258,7 @@ let AdvancedSearch = (props) => {
.name +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].name ||
t(
@@ -363,7 +363,7 @@ let AdvancedSearch = (props) => {
.value +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: optionsObj[key].value ||
t(
diff --git a/components/search/dnssearchresults.js b/components/search/dnssearchresults.js
index c8e6965c..e580ad31 100644
--- a/components/search/dnssearchresults.js
+++ b/components/search/dnssearchresults.js
@@ -178,7 +178,7 @@ const DNSSearchResults = (props) => {
whichIncident +
"')]",
json: watchedCases,
- sandbox: {},
+ eval: true,
});
return isWatched;
@@ -318,7 +318,7 @@ const DNSSearchResults = (props) => {
item.title +
'")]',
json: searchDetailsObj,
- sandbox: {},
+ eval: true,
});
detailsObj = detailsObj[0];
@@ -523,7 +523,7 @@ const DNSSearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: detailsObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -546,7 +546,7 @@ const DNSSearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
diff --git a/components/search/searchresults.js b/components/search/searchresults.js
index 52c76863..131c7dfb 100644
--- a/components/search/searchresults.js
+++ b/components/search/searchresults.js
@@ -108,7 +108,7 @@ const SearchResults = (props) => {
"')]",
json: watchedCases,
- sandbox: {},
+ eval: true,
});
return isWatched;
@@ -257,7 +257,7 @@ const SearchResults = (props) => {
item.title +
'")]',
json: searchDetailsObj,
- sandbox: {},
+ eval: true,
});
Object.assign(item, item.pinswg_sipscase);
@@ -488,7 +488,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -511,7 +511,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -534,7 +534,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
- sandbox: {},
+ eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
diff --git a/components/utils/index.js b/components/utils/index.js
index fb846316..a8423d1e 100644
--- a/components/utils/index.js
+++ b/components/utils/index.js
@@ -20,7 +20,7 @@ export const getFormCollection = (formtype) => {
const collectionName = jsonpath({
path: "$..[?(@.LogicalName=='" + formtype + "')]",
json: data,
- sandbox: {},
+ eval: true,
});
return collectionName[0];
};
@@ -29,7 +29,7 @@ export const getFormCollectionByID = (appealTypeID) => {
const collectionName = jsonpath({
path: "$..[?(@.appealTypeID =='" + appealTypeID + "')]",
json: data,
- sandbox: {},
+ eval: true,
});
return collectionName[0];
};
@@ -38,7 +38,7 @@ export const getFormIDByLogicalName = (appealTypeLogicalName) => {
const collectionName = jsonpath({
path: "$..[?(@.LogicalName =='" + appealTypeLogicalName + "')]",
json: data,
- sandbox: {},
+ eval: true,
});
return collectionName[0];
};
@@ -47,7 +47,7 @@ export const getPickListLabel = (data, picklistType, picklistID) => {
const pickListData = jsonpath({
path: "$..[?(@.LogicalName=='" + picklistType + "')]",
json: data,
- sandbox: {},
+ eval: true,
});
const pickListLabel = jsonpath({
@@ -57,7 +57,7 @@ export const getPickListLabel = (data, picklistType, picklistID) => {
"')].Label.LocalizedLabels..Label",
json: pickListData,
- sandbox: {},
+ eval: true,
});
return pickListLabel[0];
};
@@ -66,7 +66,7 @@ export const getRadioLabel = (data, radiotListName, radioListID) => {
const radioListData = jsonpath({
path: "$..[?(@.LogicalName=='" + radiotListName + "')]",
json: data,
- sandbox: {},
+ eval: true,
});
const pickListLabel = jsonpath({
@@ -76,7 +76,7 @@ export const getRadioLabel = (data, radiotListName, radioListID) => {
"')].Label.LocalizedLabels..Label",
json: radioListData,
- sandbox: {},
+ eval: true,
});
return pickListLabel[0];
};
@@ -340,7 +340,7 @@ export const getProgressObj = (
datafieldname[0].value +
"')]",
json: mandatoryFieldsData,
- sandbox: {},
+ eval: true,
});
if (datafieldname[0].value.includes("pinswg_fileUpload")) {
diff --git a/pages/api/endpoint/getbasicsearch_by_address_api.js b/pages/api/endpoint/getbasicsearch_by_address_api.js
index 683121e6..1c423986 100644
--- a/pages/api/endpoint/getbasicsearch_by_address_api.js
+++ b/pages/api/endpoint/getbasicsearch_by_address_api.js
@@ -630,7 +630,7 @@ export default async function ApiProxy(req, res) {
searchResultsObj = jsonpath({
path: "$..[?(@ && @.pinswg_name)]",
json: searchResultsObj,
- sandbox: {},
+ eval: true,
});
searchResultsObj = searchResultsObj.filter((arr) => arr.incidentid != null);
diff --git a/pages/api/endpoint/getmylpacases_api.js b/pages/api/endpoint/getmylpacases_api.js
index 25db7730..97e21095 100644
--- a/pages/api/endpoint/getmylpacases_api.js
+++ b/pages/api/endpoint/getmylpacases_api.js
@@ -51,7 +51,7 @@ export default async function ApiProxy(req, res) {
const lpaGUID = jsonpath({
path: '$..[?(@.name=="' + lpaid + '")]',
json: lpaList,
- sandbox: {},
+ eval: true,
});
//console.log(
diff --git a/pages/myportal/[appealtypes].js b/pages/myportal/[appealtypes].js
index 74d6d1ee..0a705538 100644
--- a/pages/myportal/[appealtypes].js
+++ b/pages/myportal/[appealtypes].js
@@ -79,7 +79,7 @@ let Home = (props) => {
let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr,
- sandbox: {},
+ eval: true,
});
//let optionsTitleObj = [];
diff --git a/pages/newappeal/[appealtypes].js b/pages/newappeal/[appealtypes].js
index e4be195a..a9ebe6ea 100644
--- a/pages/newappeal/[appealtypes].js
+++ b/pages/newappeal/[appealtypes].js
@@ -71,7 +71,7 @@ let Home = (props) => {
let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr,
- sandbox: {},
+ eval: true,
});
//let optionsTitleObj = [];