Merge branch 'Development' into SIPS-Development

This commit is contained in:
2025-04-16 08:27:06 +01:00
54 changed files with 266 additions and 264 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(
@@ -746,7 +746,7 @@ const DocumentDetails = (props) => {
incidentid + incidentid +
"')]", "')]",
json: item, json: item,
sandbox: {}, eval: true,
}); });
detailsObj = item; detailsObj = item;
return ( return (
@@ -841,7 +841,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;
+14 -12
View File
@@ -145,7 +145,7 @@ const CaseSummary = (props) => {
whichIncident + whichIncident +
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -185,30 +185,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);
@@ -219,14 +219,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];
@@ -667,14 +667,16 @@ const CaseSummary = (props) => {
</dt> </dt>
<dd className="govuk-summary-list__value"> <dd className="govuk-summary-list__value">
{router.locale == "cy" {router.locale == "cy"
? jsonpath( ? jsonpath({
'$..[?(@.value=="' + path:
'$..[?(@.value=="' +
detailsObj[ detailsObj[
"pinswg_casestage@OData.Community.Display.V1.FormattedValue" "pinswg_casestage@OData.Community.Display.V1.FormattedValue"
] + ] +
'")].value_cy', '")].value_cy',
transLookup json: transLookup,
) 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"
@@ -125,7 +125,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"
@@ -146,7 +146,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"
@@ -167,7 +167,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"
@@ -192,7 +192,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -242,7 +242,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:
@@ -250,7 +250,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -82,7 +82,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"
@@ -103,7 +103,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"
@@ -124,7 +124,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"
@@ -148,7 +148,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"
@@ -222,7 +222,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:
@@ -230,7 +230,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"
@@ -242,7 +242,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"
@@ -305,7 +305,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"
@@ -374,7 +374,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"
@@ -159,7 +159,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"
@@ -182,7 +182,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"
@@ -203,7 +203,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"
@@ -227,7 +227,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"
@@ -301,7 +301,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(
@@ -324,7 +324,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -242,7 +242,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:
@@ -250,7 +250,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"
@@ -159,7 +159,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"
@@ -180,7 +180,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"
@@ -204,7 +204,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"
@@ -278,7 +278,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(
@@ -301,7 +301,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"
@@ -125,7 +125,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"
@@ -146,7 +146,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"
@@ -167,7 +167,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"
@@ -191,7 +191,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"
@@ -265,7 +265,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:
@@ -273,7 +273,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -147,7 +147,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -81,7 +81,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -147,7 +147,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -242,7 +242,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:
@@ -250,7 +250,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"
@@ -80,7 +80,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"
@@ -101,7 +101,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"
@@ -125,7 +125,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -147,7 +147,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"
@@ -171,7 +171,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -125,7 +125,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"
@@ -146,7 +146,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"
@@ -167,7 +167,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"
@@ -191,7 +191,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"
@@ -265,7 +265,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:
@@ -273,7 +273,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"
@@ -122,7 +122,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(
@@ -145,7 +145,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"
@@ -102,7 +102,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"
@@ -123,7 +123,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"
@@ -144,7 +144,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"
@@ -168,7 +168,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"
@@ -242,7 +242,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:
@@ -250,7 +250,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(
@@ -258,7 +258,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(
@@ -363,7 +363,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
@@ -178,7 +178,7 @@ const DNSSearchResults = (props) => {
whichIncident + whichIncident +
"')]", "')]",
json: watchedCases, json: watchedCases,
sandbox: {}, eval: true,
}); });
return isWatched; return isWatched;
@@ -318,7 +318,7 @@ const DNSSearchResults = (props) => {
item.title + item.title +
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
detailsObj = detailsObj[0]; detailsObj = detailsObj[0];
@@ -523,7 +523,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"
@@ -546,7 +546,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;
@@ -257,7 +257,7 @@ const SearchResults = (props) => {
item.title + item.title +
'")]', '")]',
json: searchDetailsObj, json: searchDetailsObj,
sandbox: {}, eval: true,
}); });
Object.assign(item, item.pinswg_sipscase); Object.assign(item, item.pinswg_sipscase);
@@ -488,7 +488,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"
@@ -511,7 +511,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"
@@ -534,7 +534,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")) {
@@ -630,7 +630,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 = [];