- {router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
- casesObj[
- "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : casesObj[
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : casesObj[
+ "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
+ ] ||
+ t("case:summary-no-date-entered-label")
+ }
+ />
+
+
+ {t("case:summary-lpa-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ casesObj[
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
- ] || ""}
-
-
-
-
- {t("case:summary-eia-required-label")}
-
-
- {router.locale == "cy"
- ? jsonpath(
- '$..[?(@.value=="' +
- detailsObj[
- "pinswg_eiarequired@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- transLookup
- )
- : detailsObj[
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : casesObj[
+ "_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
+ ] || ""}
+
+
+
+
+ {t("case:summary-eia-required-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath(
+ '$..[?(@.value=="' +
+ detailsObj[
"pinswg_eiarequired@OData.Community.Display.V1.FormattedValue"
- ] ||
- t(
- "case:summary-to-be-confirmed-label"
- )}
-
-
-
-
- {t("case:summary-procedure-label")}
-
-
- {router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
- detailsObj[
- "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : detailsObj[
+ ] +
+ '")].value_cy',
+ transLookup
+ )
+ : detailsObj[
+ "pinswg_eiarequired@OData.Community.Display.V1.FormattedValue"
+ ] ||
+ t("case:summary-to-be-confirmed-label")}
+
+
+
+
+ {t("case:summary-procedure-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ detailsObj[
"pinswg_procedure@OData.Community.Display.V1.FormattedValue"
- ] || ""}
-
-
-
-
- {t("case:summary-type-of-event-label")}
-
-
- {router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
- detailsObj[
- "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : detailsObj[
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : detailsObj[
+ "pinswg_procedure@OData.Community.Display.V1.FormattedValue"
+ ] || ""}
+
+
+
+
+ {t("case:summary-type-of-event-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ detailsObj[
"pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
- ] ||
- t(
- "case:summary-no-information-to-date-label"
- )}
-
-
-
-
- {t("case:summary-status-label")}
-
-
- {router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
- casesObj[
- "statuscode@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : casesObj[
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : detailsObj[
+ "pinswg_typeofevent@OData.Community.Display.V1.FormattedValue"
+ ] ||
+ t(
+ "case:summary-no-information-to-date-label"
+ )}
+
+
+
+
+ {t("case:summary-status-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ casesObj[
"statuscode@OData.Community.Display.V1.FormattedValue"
- ] ||
- t(
- "case:summary-no-date-entered-label"
- )}
-
-
-
-
- {t("case:summary-decision-label")}
-
-
- {router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
- detailsObj[
- "pinswg_dicision@OData.Community.Display.V1.FormattedValue"
- ] +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : detailsObj[
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : casesObj[
+ "statuscode@OData.Community.Display.V1.FormattedValue"
+ ] ||
+ t("case:summary-no-date-entered-label")}
+
+
+
+
+ {t("case:summary-decision-label")}
+
+
+ {router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ detailsObj[
"pinswg_dicision@OData.Community.Display.V1.FormattedValue"
- ] ||
- t(
- "case:summary-no-information-to-date-label"
- )}
+ ] +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : detailsObj[
+ "pinswg_dicision@OData.Community.Display.V1.FormattedValue"
+ ] ||
+ t(
+ "case:summary-no-information-to-date-label"
+ )}
-
- {/*
+
+ {/*
{casesObj.caseDetails
.outcome_document || ""}
*/}
-
-
-
-
- {t("case:summary-decision-date-label")}
-
-
- {_.has(
- detailsObj,
- "pinswg_casedecisiondate"
- )
- ? !_.isEmpty(
- detailsObj.pinswg_casedecisiondate
- )
- ? formatDates(
- detailsObj.pinswg_casedecisiondate
- )
- : t(
- "case:summary-no-date-entered-label"
- )
- : t(
- "case:summary-no-date-entered-label"
- )}
-
-
- {casesObj.numberofchildincidents > 0 && (
-
-
- {t(
- "case:summary-case-link-status-label"
- )}
-
-
- {_.has(casesObj, [
- "numberofchildincidents",
- ])
- ? casesObj.numberofchildincidents >
- 0
- ? t(
- "case:summary-case-link-status-linked"
- )
- : t(
- "case:summary-case-link-status-not-linked"
- )
- : t(
- "case:summary-case-link-status-not-linked"
- )}
-
-
- )}
- {casesObj.numberofchildincidents > 0 ? (
-
-
- {t(
- "case:summary-linked-cases-label"
- )}
-
-
- {linkedCasesList(
- props.currentView
- .linkedCaseReferences
- )}
-
-
- ) : (
- ""
- )}
-
+