Merged PR 1563: changes sandbox: {} to eval: true, caused errors in evaluated queries

changes sandbox: {} to eval: true, caused errors in evaluated queries

Related work items: #12956
This commit is contained in:
Robert Bond
2025-04-15 16:30:28 +00:00
55 changed files with 262 additions and 262 deletions
+4 -4
View File
@@ -160,7 +160,7 @@ const DocumentDetails = (props) => {
? jsonpath({ ? jsonpath({
path: '$..[?(@.value=="All")].value_cy', path: '$..[?(@.value=="All")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: "All"} : "All"}
</option> </option>
@@ -179,7 +179,7 @@ const DocumentDetails = (props) => {
item.pinswg_isharedocumentlocationsLabel + item.pinswg_isharedocumentlocationsLabel +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item.pinswg_isharedocumentlocationsLabel || : item.pinswg_isharedocumentlocationsLabel ||
t( t(
@@ -735,7 +735,7 @@ const DocumentDetails = (props) => {
incidentid + incidentid +
"')]", "')]",
json: item, json: item,
sandbox: {}, eval: true,
}); });
detailsObj = item; detailsObj = item;
return ( return (
@@ -830,7 +830,7 @@ const DocumentDetails = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue" "pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
+8 -8
View File
@@ -212,18 +212,18 @@ let MakeRepresentation = (props) => {
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.title=="' + caseReference + '")]', path: '$..[?(@.title=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})) }))
: currentType == "watchedCases" : currentType == "watchedCases"
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.ticketnumber=="' + caseReference + '")]', path: '$..[?(@.ticketnumber=="' + caseReference + '")]',
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
})) }))
: (casesObj = jsonpath({ : (casesObj = jsonpath({
path: '$..[?(@.reference=="' + caseReference + '")]', path: '$..[?(@.reference=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})); }));
casesObj = Object.assign({}, ...casesObj); casesObj = Object.assign({}, ...casesObj);
@@ -271,7 +271,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseResultsObj, json: setCaseResultsObj,
sandbox: {}, eval: true,
}); });
resultsObj = resultsObj[0]; resultsObj = resultsObj[0];
@@ -282,7 +282,7 @@ let MakeRepresentation = (props) => {
path: path:
'$..[?(@.repfile_name =="' + router.query.created + '")]', '$..[?(@.repfile_name =="' + router.query.created + '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -290,7 +290,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -298,7 +298,7 @@ let MakeRepresentation = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -945,7 +945,7 @@ let MakeRepresentation = (props) => {
detailsObj = jsonpath({ detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]', path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -31,7 +31,7 @@ const RepDetails = (props) => {
detailsObj = jsonpath({ detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]', path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -182,7 +182,7 @@ let RepLPA = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
let setCaseResultssObj = router.query.hasOwnProperty("state") let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -201,7 +201,7 @@ let RepLPA = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseResultssObj, json: setCaseResultssObj,
sandbox: {}, eval: true,
}); });
resultsObj = resultsObj[0]; resultsObj = resultsObj[0];
@@ -23,7 +23,7 @@ const RepLPADetails = (props) => {
detailsObj = jsonpath({ detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]', path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -64,7 +64,7 @@ let Enforcement_Questionnaire = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseDetailsObj, json: setCaseDetailsObj,
sandbox: {}, eval: true,
}); });
let setCaseResultssObj = router.query.hasOwnProperty("state") let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -87,7 +87,7 @@ let Enforcement_Questionnaire = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseResultssObj, json: setCaseResultssObj,
sandbox: {}, eval: true,
}); });
resultsObj = resultsObj[0]; resultsObj = resultsObj[0];
@@ -66,7 +66,7 @@ let S78_Questionnaire = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseResultssObj, json: setCaseResultssObj,
sandbox: {}, eval: true,
}); });
let setCaseResultssObj = router.query.hasOwnProperty("state") let setCaseResultssObj = router.query.hasOwnProperty("state")
@@ -95,7 +95,7 @@ let S78_Questionnaire = (props) => {
currentView.caseReference.currentReference + currentView.caseReference.currentReference +
'")]', '")]',
json: setCaseResultssObj, json: setCaseResultssObj,
sandbox: {}, eval: true,
}); });
resultsObj = resultsObj[0]; resultsObj = resultsObj[0];
+1 -1
View File
@@ -63,7 +63,7 @@ const RepresentationList = (props) => {
incidentid + incidentid +
"')]", "')]",
json: item, json: item,
sandbox: {}, eval: true,
}); });
detailsObj = item; detailsObj = item;
+9 -9
View File
@@ -138,7 +138,7 @@ const CaseSummary = (props) => {
whichIncident + whichIncident +
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -178,30 +178,30 @@ const CaseSummary = (props) => {
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.title=="' + caseReference + '")]', path: '$..[?(@.title=="' + caseReference + '")]',
json: searchResultsObj, json: searchResultsObj,
sandbox: {}, eval: true,
})) }))
: currentType == "watchedCases" : currentType == "watchedCases"
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.pinswg_title=="' + caseReference + '")]', path: '$..[?(@.pinswg_title=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})) }))
: currentType == "myCases" : currentType == "myCases"
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.pinswg_title=="' + caseReference + '")]', path: '$..[?(@.pinswg_title=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})) }))
: currentType == "directResultsObj" : currentType == "directResultsObj"
? (casesObj = jsonpath({ ? (casesObj = jsonpath({
path: '$..[?(@.ticketnumber=="' + caseReference + '")]', path: '$..[?(@.ticketnumber=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})) }))
: (casesObj = jsonpath({ : (casesObj = jsonpath({
path: '$..[?(@.reference=="' + caseReference + '")]', path: '$..[?(@.reference=="' + caseReference + '")]',
json: setCaseQueryObj, json: setCaseQueryObj,
sandbox: {}, eval: true,
})); }));
casesObj = Object.assign({}, ...casesObj); casesObj = Object.assign({}, ...casesObj);
@@ -212,14 +212,14 @@ const CaseSummary = (props) => {
? (detailsObj = jsonpath({ ? (detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]', path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
})) }))
: currentType == "directResultsObj" : currentType == "directResultsObj"
? (detailsObj = setCaseDetailsObj[0].value[0]) ? (detailsObj = setCaseDetailsObj[0].value[0])
: (detailsObj = jsonpath({ : (detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]', path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
jsopn: setCaseDetailsObj, jsopn: setCaseDetailsObj,
sandbox: {}, eval: true,
})); }));
detailsObj = typeof detailsObj == "object" ? detailsObj : detailsObj[0]; detailsObj = typeof detailsObj == "object" ? detailsObj : detailsObj[0];
@@ -405,7 +405,7 @@ const CaseSummary = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_casestage@OData.Community.Display.V1.FormattedValue" "pinswg_casestage@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_speacialistcaseprocess@OData.Community.Display.V1.FormattedValue" "pinswg_speacialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -118,7 +118,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -185,7 +185,7 @@ const Pinswg_advertsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_callinss77id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_commonlandid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -243,7 +243,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
@@ -35,7 +35,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -75,7 +75,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -96,7 +96,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -117,7 +117,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -141,7 +141,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -215,7 +215,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -223,7 +223,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
+6 -6
View File
@@ -131,7 +131,7 @@ const Pinswg_dnsid = (props) => {
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -157,7 +157,7 @@ const Pinswg_dnsid = (props) => {
detailsObj.pinswg_webaddress + detailsObj.pinswg_webaddress +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: ( : (
<a <a
@@ -197,7 +197,7 @@ const Pinswg_dnsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -218,7 +218,7 @@ const Pinswg_dnsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_choiceofprocedure@OData.Community.Display.V1.FormattedValue" "pinswg_choiceofprocedure@OData.Community.Display.V1.FormattedValue"
@@ -281,7 +281,7 @@ const Pinswg_dnsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -350,7 +350,7 @@ const Pinswg_dnsid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -73,7 +73,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -97,7 +97,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -135,7 +135,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -158,7 +158,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -179,7 +179,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -203,7 +203,7 @@ const Pinswg_electricityactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -277,7 +277,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_recommendation + detailsObj.pinswg_recommendation +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_recommendation || : detailsObj.pinswg_recommendation ||
t( t(
@@ -300,7 +300,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_webaddress + detailsObj.pinswg_webaddress +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_webaddress || : detailsObj.pinswg_webaddress ||
t( t(
@@ -35,7 +35,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -243,7 +243,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
@@ -73,7 +73,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -97,7 +97,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -135,7 +135,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -156,7 +156,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -180,7 +180,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -254,7 +254,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_recommendation + detailsObj.pinswg_recommendation +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_recommendation || : detailsObj.pinswg_recommendation ||
t( t(
@@ -277,7 +277,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_webaddress + detailsObj.pinswg_webaddress +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_webaddress || : detailsObj.pinswg_webaddress ||
t( t(
@@ -35,7 +35,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue" "pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -118,7 +118,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -184,7 +184,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -258,7 +258,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -266,7 +266,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
@@ -35,7 +35,7 @@ const Pinswg_householderappealhasid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_householderappealhasid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_householderappealhasid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_householderappealhasid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -140,7 +140,7 @@ const Pinswg_householderappealhasid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
+6 -6
View File
@@ -35,7 +35,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_ldpid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -243,7 +243,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
@@ -35,7 +35,7 @@ const Pinswg_nonvalidationid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_nonvalidationid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -94,7 +94,7 @@ const Pinswg_nonvalidationid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -115,7 +115,7 @@ const Pinswg_nonvalidationid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_nonvalidationid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decisionissued@OData.Community.Display.V1.FormattedValue" "pinswg_decisionissued@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -140,7 +140,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -164,7 +164,7 @@ const Pinswg_planningappeals78id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_dicision@OData.Community.Display.V1.FormattedValue" "pinswg_dicision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
+9 -9
View File
@@ -35,7 +35,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -60,7 +60,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue" "pinswg_specialistcaseprocess@OData.Community.Display.V1.FormattedValue"
@@ -82,7 +82,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -118,7 +118,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -184,7 +184,7 @@ const Pinswg_rowid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -258,7 +258,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -266,7 +266,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
@@ -73,7 +73,7 @@ const Pinswg_transportandworkactid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -98,7 +98,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_recommendation + detailsObj.pinswg_recommendation +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_recommendation || : detailsObj.pinswg_recommendation ||
t( t(
@@ -121,7 +121,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_webaddress + detailsObj.pinswg_webaddress +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj.pinswg_webaddress || : detailsObj.pinswg_webaddress ||
t( t(
@@ -35,7 +35,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -59,7 +59,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -95,7 +95,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue" "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue" "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: casesObj[ : casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_wayleaveid = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue" "pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -243,7 +243,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname + detailsObj.pinswg_relevantauthorityname +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || }) ||
t( t(
"case:summary-no-date-entered-label" "case:summary-no-date-entered-label"
+5 -5
View File
@@ -1342,7 +1342,7 @@ const RenderPickList = ({
var dropdownObj = jsonpath({ var dropdownObj = jsonpath({
path: "$..value[?(@.LogicalName=='" + datafieldname + "')]..Options", path: "$..value[?(@.LogicalName=='" + datafieldname + "')]..Options",
json: picklistData, json: picklistData,
sandbox: {}, eval: true,
}); });
dropdownObj = dropdownObj[0]; dropdownObj = dropdownObj[0];
@@ -1720,7 +1720,7 @@ export const FieldsTranslations = (label) => {
let formObj = jsonpath({ let formObj = jsonpath({
path: "$['" + appealtypes + "']", path: "$['" + appealtypes + "']",
json: fieldLookup, json: fieldLookup,
sandbox: {}, eval: true,
}); });
let labelTrans = let labelTrans =
@@ -1728,7 +1728,7 @@ export const FieldsTranslations = (label) => {
? jsonpath({ ? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy', path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj, json: formObj,
sandbox: {}, eval: true,
})[0] })[0]
: label; : label;
@@ -1747,7 +1747,7 @@ const PickListTranslations = (optionValue) => {
? jsonpath({ ? jsonpath({
path: '$..[?(@.value=="' + optionValue + '")].value_cy', path: '$..[?(@.value=="' + optionValue + '")].value_cy',
json: pickListLookup, json: pickListLookup,
sandbox: {}, eval: true,
}) })
: optionValue; : optionValue;
//console.log(optionTrans, optionValue); //console.log(optionTrans, optionValue);
@@ -1947,7 +1947,7 @@ const RenderFileUpload = (field) => {
const blobList = jsonpath({ const blobList = jsonpath({
path: "$..[?(@.documentType=='" + field.documentTypeCode + "')]", path: "$..[?(@.documentType=='" + field.documentTypeCode + "')]",
json: filelistObj, json: filelistObj,
sandbox: {}, eval: true,
}); });
//const blobList = filelistObj; //const blobList = filelistObj;
+1 -1
View File
@@ -114,7 +114,7 @@ const MyPortal = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: props.accountDetails.accountDetails[ : props.accountDetails.accountDetails[
"pinswg_contact_associatedlpa@OData.Community.Display.V1.FormattedValue" "pinswg_contact_associatedlpa@OData.Community.Display.V1.FormattedValue"
+2 -2
View File
@@ -153,7 +153,7 @@ let AdvancedSearch = (props) => {
.name + .name +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].name || : optionsObj[key].name ||
t( t(
@@ -258,7 +258,7 @@ let AdvancedSearch = (props) => {
.value + .value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].value || : optionsObj[key].value ||
t( t(
@@ -211,7 +211,7 @@ const AwaitingSubmissionFromBlob = (props) => {
).value + ).value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: getFormCollectionByID( : getFormCollectionByID(
showTopThreeArr[key] showTopThreeArr[key]
@@ -303,7 +303,7 @@ const AwaitingSubmissionFromBlob = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key][ : showTopThreeArr[key][
"pinswg_lpaname" "pinswg_lpaname"
+2 -2
View File
@@ -334,7 +334,7 @@ const TopThree = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key][ : showTopThreeArr[key][
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -406,7 +406,7 @@ const TopThree = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key][ : showTopThreeArr[key][
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
+5 -5
View File
@@ -275,7 +275,7 @@ const TopThree = (props) => {
showTopThreeArr[key].representationType + showTopThreeArr[key].representationType +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key].representationType || ""} : showTopThreeArr[key].representationType || ""}
</div> </div>
@@ -293,7 +293,7 @@ const TopThree = (props) => {
.representationCapacity + .representationCapacity +
'" )].value_cy', '" )].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -302,7 +302,7 @@ const TopThree = (props) => {
.representationCapacity + .representationCapacity +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}).length > 0 }).length > 0
? jsonpath({ ? jsonpath({
path: path:
@@ -311,7 +311,7 @@ const TopThree = (props) => {
.representationCapacity + .representationCapacity +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key].representationCapacity} : showTopThreeArr[key].representationCapacity}
</div> </div>
@@ -333,7 +333,7 @@ const TopThree = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: showTopThreeArr[key][ : showTopThreeArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue" "_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
+12 -12
View File
@@ -128,7 +128,7 @@ const ViewAllResults = (props) => {
: item.pinswg_title) + : item.pinswg_title) +
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -484,7 +484,7 @@ const ViewAllResults = (props) => {
resultsArr[key].pinswg_lpaname + resultsArr[key].pinswg_lpaname +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: resultsArr[key].pinswg_lpaname || "N/A" : resultsArr[key].pinswg_lpaname || "N/A"
: ""} : ""}
@@ -500,7 +500,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: resultsArr[key][ : resultsArr[key][
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -518,7 +518,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: currentView.viewKey == "myRepresentations" : currentView.viewKey == "myRepresentations"
? searchDetailsObj[key].value ? searchDetailsObj[key].value
@@ -538,7 +538,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: resultsArr[key][ : resultsArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue" "_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
@@ -556,7 +556,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
})} })}
</dd> </dd>
<dd className="govuk-summary-list__value govuk-!-font-size-16"> <dd className="govuk-summary-list__value govuk-!-font-size-16">
@@ -574,7 +574,7 @@ const ViewAllResults = (props) => {
).value + ).value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: getFormCollectionByID( : getFormCollectionByID(
item.pinswg_appealcasetype item.pinswg_appealcasetype
@@ -588,7 +588,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -607,7 +607,7 @@ const ViewAllResults = (props) => {
).value + ).value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
})[0] })[0]
: getFormCollectionByID( : getFormCollectionByID(
searchDetailsObj[key].appealType searchDetailsObj[key].appealType
@@ -633,7 +633,7 @@ const ViewAllResults = (props) => {
item.statuscode + item.statuscode +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: jsonpath({ : jsonpath({
path: path:
@@ -641,7 +641,7 @@ const ViewAllResults = (props) => {
item.statuscode + item.statuscode +
'")].value', '")].value',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) || "N/A" }) || "N/A"
: currentView.viewKey == "myRepresentations" : currentView.viewKey == "myRepresentations"
? repRaisedDate(item.repfile_name) // ? router.locale == "cy" ? repRaisedDate(item.repfile_name) // ? router.locale == "cy"
@@ -675,7 +675,7 @@ const ViewAllResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
+3 -3
View File
@@ -66,7 +66,7 @@ let BuildCheckRow = (props) => {
let formObj = jsonpath({ let formObj = jsonpath({
path: "$['" + appealtypes + "']", path: "$['" + appealtypes + "']",
json: fieldLookup, json: fieldLookup,
sandbox: {}, eval: true,
}); });
let labelTrans = let labelTrans =
@@ -74,7 +74,7 @@ let BuildCheckRow = (props) => {
? jsonpath({ ? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy', path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj, json: formObj,
sandbox: {}, eval: true,
}) })
: label; : label;
return labelTrans; return labelTrans;
@@ -107,7 +107,7 @@ let BuildCheckRow = (props) => {
datafieldname[0].value + datafieldname[0].value +
"')]", "')]",
json: mandatoryFieldsData, json: mandatoryFieldsData,
sandbox: {}, eval: true,
}); });
var documentTypeCode = xpath.select( var documentTypeCode = xpath.select(
+2 -2
View File
@@ -130,7 +130,7 @@ let BuildCheckSection = (props) => {
let formObj = jsonpath({ let formObj = jsonpath({
path: "$['" + appealtypes + "']", path: "$['" + appealtypes + "']",
json: fieldLookup, json: fieldLookup,
sandbox: {}, eval: true,
}); });
let labelTrans = let labelTrans =
@@ -138,7 +138,7 @@ let BuildCheckSection = (props) => {
? jsonpath({ ? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy', path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj, json: formObj,
sandbox: {}, eval: true,
}) })
: label; : label;
return labelTrans; return labelTrans;
+2 -2
View File
@@ -71,7 +71,7 @@ const RenderLPAList = ({
optionsObj[key].name + optionsObj[key].name +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].name} : optionsObj[key].name}
</option> </option>
@@ -155,7 +155,7 @@ const RenderAppealTypeList = ({
optionsObj[key].value + optionsObj[key].value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].value} : optionsObj[key].value}
</option> </option>
+1 -1
View File
@@ -151,7 +151,7 @@ export const AppealRow_pdf = (props) => {
let formObj = jsonpath({ let formObj = jsonpath({
path: "$['" + appealtypes + "']", path: "$['" + appealtypes + "']",
json: fieldLookup, json: fieldLookup,
sandbox: {}, eval: true,
}); });
let labelTrans = label; let labelTrans = label;
+6 -6
View File
@@ -101,7 +101,7 @@ const SearchResults = (props) => {
whichIncident + whichIncident +
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -252,7 +252,7 @@ const SearchResults = (props) => {
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
return ( return (
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue" "_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
@@ -486,7 +486,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -509,7 +509,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item["pinswg_appealType"] || : item["pinswg_appealType"] ||
"N/A"} "N/A"}
@@ -531,7 +531,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
+3 -3
View File
@@ -133,7 +133,7 @@ const RenderCaseStatusList = ({
.statuscode + .statuscode +
'")].value_cy', '")].value_cy',
json: optionsObj, json: optionsObj,
sandbox: {}, eval: true,
}) })
: optionsObj[key].value || : optionsObj[key].value ||
t( t(
@@ -248,7 +248,7 @@ let AdvancedSearch = (props) => {
.name + .name +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].name || : optionsObj[key].name ||
t( t(
@@ -353,7 +353,7 @@ let AdvancedSearch = (props) => {
.value + .value +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: optionsObj[key].value || : optionsObj[key].value ||
t( t(
+4 -4
View File
@@ -174,7 +174,7 @@ const DNSSearchResults = (props) => {
whichIncident + whichIncident +
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -303,7 +303,7 @@ const DNSSearchResults = (props) => {
item.title + item.title +
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -466,7 +466,7 @@ const DNSSearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: detailsObj[ : detailsObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -490,7 +490,7 @@ const DNSSearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
+5 -5
View File
@@ -108,7 +108,7 @@ const SearchResults = (props) => {
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -248,7 +248,7 @@ const SearchResults = (props) => {
item.title + item.title +
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0] || {}; detailsObj = detailsObj[0] || {};
@@ -445,7 +445,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue" "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue" "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -491,7 +491,7 @@ const SearchResults = (props) => {
] + ] +
'")].value_cy', '")].value_cy',
json: transLookup, json: transLookup,
sandbox: {}, eval: true,
}) })
: item[ : item[
"statuscode@OData.Community.Display.V1.FormattedValue" "statuscode@OData.Community.Display.V1.FormattedValue"
+8 -8
View File
@@ -20,7 +20,7 @@ export const getFormCollection = (formtype) => {
const collectionName = jsonpath({ const collectionName = jsonpath({
path: "$..[?(@.LogicalName=='" + formtype + "')]", path: "$..[?(@.LogicalName=='" + formtype + "')]",
json: data, json: data,
sandbox: {}, eval: true,
}); });
return collectionName[0]; return collectionName[0];
}; };
@@ -29,7 +29,7 @@ export const getFormCollectionByID = (appealTypeID) => {
const collectionName = jsonpath({ const collectionName = jsonpath({
path: "$..[?(@.appealTypeID =='" + appealTypeID + "')]", path: "$..[?(@.appealTypeID =='" + appealTypeID + "')]",
json: data, json: data,
sandbox: {}, eval: true,
}); });
return collectionName[0]; return collectionName[0];
}; };
@@ -38,7 +38,7 @@ export const getFormIDByLogicalName = (appealTypeLogicalName) => {
const collectionName = jsonpath({ const collectionName = jsonpath({
path: "$..[?(@.LogicalName =='" + appealTypeLogicalName + "')]", path: "$..[?(@.LogicalName =='" + appealTypeLogicalName + "')]",
json: data, json: data,
sandbox: {}, eval: true,
}); });
return collectionName[0]; return collectionName[0];
}; };
@@ -47,7 +47,7 @@ export const getPickListLabel = (data, picklistType, picklistID) => {
const pickListData = jsonpath({ const pickListData = jsonpath({
path: "$..[?(@.LogicalName=='" + picklistType + "')]", path: "$..[?(@.LogicalName=='" + picklistType + "')]",
json: data, json: data,
sandbox: {}, eval: true,
}); });
const pickListLabel = jsonpath({ const pickListLabel = jsonpath({
@@ -57,7 +57,7 @@ export const getPickListLabel = (data, picklistType, picklistID) => {
"')].Label.LocalizedLabels..Label", "')].Label.LocalizedLabels..Label",
json: pickListData, json: pickListData,
sandbox: {}, eval: true,
}); });
return pickListLabel[0]; return pickListLabel[0];
}; };
@@ -66,7 +66,7 @@ export const getRadioLabel = (data, radiotListName, radioListID) => {
const radioListData = jsonpath({ const radioListData = jsonpath({
path: "$..[?(@.LogicalName=='" + radiotListName + "')]", path: "$..[?(@.LogicalName=='" + radiotListName + "')]",
json: data, json: data,
sandbox: {}, eval: true,
}); });
const pickListLabel = jsonpath({ const pickListLabel = jsonpath({
@@ -76,7 +76,7 @@ export const getRadioLabel = (data, radiotListName, radioListID) => {
"')].Label.LocalizedLabels..Label", "')].Label.LocalizedLabels..Label",
json: radioListData, json: radioListData,
sandbox: {}, eval: true,
}); });
return pickListLabel[0]; return pickListLabel[0];
}; };
@@ -340,7 +340,7 @@ export const getProgressObj = (
datafieldname[0].value + datafieldname[0].value +
"')]", "')]",
json: mandatoryFieldsData, json: mandatoryFieldsData,
sandbox: {}, eval: true,
}); });
if (datafieldname[0].value.includes("pinswg_fileUpload")) { if (datafieldname[0].value.includes("pinswg_fileUpload")) {
@@ -472,7 +472,7 @@ export default async function ApiProxy(req, res) {
searchResultsObj = jsonpath({ searchResultsObj = jsonpath({
path: "$..[?(@ && @.pinswg_name)]", path: "$..[?(@ && @.pinswg_name)]",
json: searchResultsObj, json: searchResultsObj,
sandbox: {}, eval: true,
}); });
const getIncidentResultsObj = await Promise.all( const getIncidentResultsObj = await Promise.all(
@@ -564,7 +564,7 @@ export default async function ApiProxy(req, res) {
searchResultsObj = jsonpath({ searchResultsObj = jsonpath({
path: "$..[?(@ && @.pinswg_name)]", path: "$..[?(@ && @.pinswg_name)]",
json: searchResultsObj, json: searchResultsObj,
sandbox: {}, eval: true,
}); });
searchResultsObj = searchResultsObj.filter((arr) => arr.incidentid != null); searchResultsObj = searchResultsObj.filter((arr) => arr.incidentid != null);
+1 -1
View File
@@ -51,7 +51,7 @@ export default async function ApiProxy(req, res) {
const lpaGUID = jsonpath({ const lpaGUID = jsonpath({
path: '$..[?(@.name=="' + lpaid + '")]', path: '$..[?(@.name=="' + lpaid + '")]',
json: lpaList, json: lpaList,
sandbox: {}, eval: true,
}); });
//console.log( //console.log(
+1 -1
View File
@@ -79,7 +79,7 @@ let Home = (props) => {
let selectedObj = jsonpath({ let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]", path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr, json: optionsStr,
sandbox: {}, eval: true,
}); });
//let optionsTitleObj = []; //let optionsTitleObj = [];
+1 -1
View File
@@ -71,7 +71,7 @@ let Home = (props) => {
let selectedObj = jsonpath({ let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]", path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr, json: optionsStr,
sandbox: {}, eval: true,
}); });
//let optionsTitleObj = []; //let optionsTitleObj = [];