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

This commit is contained in:
2025-04-15 17:25:14 +01:00
parent 854530e605
commit 87f0dcd811
55 changed files with 262 additions and 262 deletions
+4 -4
View File
@@ -160,7 +160,7 @@ const DocumentDetails = (props) => {
? jsonpath({
path: '$..[?(@.value=="All")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: "All"}
</option>
@@ -179,7 +179,7 @@ const DocumentDetails = (props) => {
item.pinswg_isharedocumentlocationsLabel +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: item.pinswg_isharedocumentlocationsLabel ||
t(
@@ -735,7 +735,7 @@ const DocumentDetails = (props) => {
incidentid +
"')]",
json: item,
sandbox: {},
eval: true,
});
detailsObj = item;
return (
@@ -830,7 +830,7 @@ const DocumentDetails = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
+8 -8
View File
@@ -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];
@@ -31,7 +31,7 @@ const RepDetails = (props) => {
detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj,
sandbox: {},
eval: true,
});
detailsObj = detailsObj[0];
@@ -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];
@@ -23,7 +23,7 @@ const RepLPADetails = (props) => {
detailsObj = jsonpath({
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
json: setCaseDetailsObj,
sandbox: {},
eval: true,
});
detailsObj = detailsObj[0];
@@ -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];
@@ -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];
+1 -1
View File
@@ -63,7 +63,7 @@ const RepresentationList = (props) => {
incidentid +
"')]",
json: item,
sandbox: {},
eval: true,
});
detailsObj = item;
+9 -9
View File
@@ -138,7 +138,7 @@ const CaseSummary = (props) => {
whichIncident +
"')]",
json: watchedCases,
sandbox: {},
eval: true,
});
return isWatched;
@@ -178,30 +178,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);
@@ -212,14 +212,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];
@@ -405,7 +405,7 @@ const CaseSummary = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_casestage@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -118,7 +118,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -185,7 +185,7 @@ const Pinswg_advertsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_callinss77id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_commonlandid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -243,7 +243,7 @@ const Pinswg_commonlandid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_communityinfrastructurelevyid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -35,7 +35,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -75,7 +75,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -96,7 +96,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -117,7 +117,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -141,7 +141,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -215,7 +215,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -223,7 +223,7 @@ const Pinswg_compulsorypurchaseordersid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
+6 -6
View File
@@ -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,
})
: (
<a
@@ -197,7 +197,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -218,7 +218,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_choiceofprocedure@OData.Community.Display.V1.FormattedValue"
@@ -281,7 +281,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -350,7 +350,7 @@ const Pinswg_dnsid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -135,7 +135,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -158,7 +158,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -179,7 +179,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -203,7 +203,7 @@ const Pinswg_electricityactid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -277,7 +277,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -300,7 +300,7 @@ const Pinswg_electricityactid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_enforcementlistedbuildingconseid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_enforcementnoticeappeals174id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_environmentalpermittingid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -243,7 +243,7 @@ const Pinswg_environmentalpermittingid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
@@ -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"
@@ -135,7 +135,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -156,7 +156,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -180,7 +180,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -254,7 +254,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -277,7 +277,7 @@ const Pinswg_harbourrevisionorderid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
@@ -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"
@@ -118,7 +118,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -184,7 +184,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -258,7 +258,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -266,7 +266,7 @@ const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -140,7 +140,7 @@ const Pinswg_householderappealhasid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
+6 -6
View File
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_ldpid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_listedbuildingandconservationrid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_maintenanceoflands217id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -243,7 +243,7 @@ const Pinswg_miscellaneouscasewordid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
@@ -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"
@@ -94,7 +94,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -115,7 +115,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_nonvalidationid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decisionissued@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -140,7 +140,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -164,7 +164,7 @@ const Pinswg_planningappeals78id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_dicision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_planningconditionss73s79id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_planningobligationappeals106id = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
+9 -9
View File
@@ -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"
@@ -118,7 +118,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -139,7 +139,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -160,7 +160,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -184,7 +184,7 @@ const Pinswg_rowid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -258,7 +258,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -266,7 +266,7 @@ const Pinswg_rowid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
@@ -73,7 +73,7 @@ const Pinswg_transportandworkactid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -98,7 +98,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_recommendation +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_recommendation ||
t(
@@ -121,7 +121,7 @@ const Pinswg_transportandworkactid = (props) => {
detailsObj.pinswg_webaddress +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj.pinswg_webaddress ||
t(
@@ -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"
@@ -95,7 +95,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
@@ -116,7 +116,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
@@ -137,7 +137,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
@@ -161,7 +161,7 @@ const Pinswg_wayleaveid = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"pinswg_decision@OData.Community.Display.V1.FormattedValue"
@@ -235,7 +235,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: jsonpath({
path:
@@ -243,7 +243,7 @@ const Pinswg_wayleaveid = (props) => {
detailsObj.pinswg_relevantauthorityname +
'")].value',
json: transLookup,
sandbox: {},
eval: true,
}) ||
t(
"case:summary-no-date-entered-label"
+5 -5
View File
@@ -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;
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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(
@@ -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"
+2 -2
View File
@@ -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"
+5 -5
View File
@@ -275,7 +275,7 @@ const TopThree = (props) => {
showTopThreeArr[key].representationType +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: showTopThreeArr[key].representationType || ""}
</div>
@@ -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}
</div>
@@ -333,7 +333,7 @@ const TopThree = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: showTopThreeArr[key][
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
+12 -12
View File
@@ -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,
})}
</dd>
<dd className="govuk-summary-list__value govuk-!-font-size-16">
@@ -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"
+3 -3
View File
@@ -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(
+2 -2
View File
@@ -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;
+2 -2
View File
@@ -71,7 +71,7 @@ const RenderLPAList = ({
optionsObj[key].name +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: optionsObj[key].name}
</option>
@@ -155,7 +155,7 @@ const RenderAppealTypeList = ({
optionsObj[key].value +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: optionsObj[key].value}
</option>
+1 -1
View File
@@ -151,7 +151,7 @@ export const AppealRow_pdf = (props) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
sandbox: {},
eval: true,
});
let labelTrans = label;
+6 -6
View File
@@ -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"
+3 -3
View File
@@ -133,7 +133,7 @@ const RenderCaseStatusList = ({
.statuscode +
'")].value_cy',
json: optionsObj,
sandbox: {},
eval: true,
})
: optionsObj[key].value ||
t(
@@ -248,7 +248,7 @@ let AdvancedSearch = (props) => {
.name +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: optionsObj[key].name ||
t(
@@ -353,7 +353,7 @@ let AdvancedSearch = (props) => {
.value +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: optionsObj[key].value ||
t(
+4 -4
View File
@@ -174,7 +174,7 @@ const DNSSearchResults = (props) => {
whichIncident +
"')]",
json: watchedCases,
sandbox: {},
eval: true,
});
return isWatched;
@@ -303,7 +303,7 @@ const DNSSearchResults = (props) => {
item.title +
'")]',
json: searchDetailsObj,
sandbox: {},
eval: true,
});
detailsObj = detailsObj[0];
@@ -466,7 +466,7 @@ const DNSSearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: detailsObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -490,7 +490,7 @@ const DNSSearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
+5 -5
View File
@@ -108,7 +108,7 @@ const SearchResults = (props) => {
"')]",
json: watchedCases,
sandbox: {},
eval: true,
});
return isWatched;
@@ -248,7 +248,7 @@ const SearchResults = (props) => {
item.title +
'")]',
json: searchDetailsObj,
sandbox: {},
eval: true,
});
detailsObj = detailsObj[0] || {};
@@ -445,7 +445,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: item[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: item[
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
@@ -491,7 +491,7 @@ const SearchResults = (props) => {
] +
'")].value_cy',
json: transLookup,
sandbox: {},
eval: true,
})
: item[
"statuscode@OData.Community.Display.V1.FormattedValue"
+8 -8
View File
@@ -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")) {
@@ -472,7 +472,7 @@ export default async function ApiProxy(req, res) {
searchResultsObj = jsonpath({
path: "$..[?(@ && @.pinswg_name)]",
json: searchResultsObj,
sandbox: {},
eval: true,
});
const getIncidentResultsObj = await Promise.all(
@@ -564,7 +564,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);
+1 -1
View File
@@ -51,7 +51,7 @@ export default async function ApiProxy(req, res) {
const lpaGUID = jsonpath({
path: '$..[?(@.name=="' + lpaid + '")]',
json: lpaList,
sandbox: {},
eval: true,
});
//console.log(
+1 -1
View File
@@ -79,7 +79,7 @@ let Home = (props) => {
let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr,
sandbox: {},
eval: true,
});
//let optionsTitleObj = [];
+1 -1
View File
@@ -71,7 +71,7 @@ let Home = (props) => {
let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr,
sandbox: {},
eval: true,
});
//let optionsTitleObj = [];