From cd750a922881872ad3d13d0185cca2ba74d27369 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 20 Mar 2025 11:22:41 +0000 Subject: [PATCH] 14768 Project type on Sips summary --- .../case/summaryTypes/pinswg_sipscase.js | 57 +++++++++++-------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/components/case/summaryTypes/pinswg_sipscase.js b/components/case/summaryTypes/pinswg_sipscase.js index 8ae252fe..0dc78ba5 100644 --- a/components/case/summaryTypes/pinswg_sipscase.js +++ b/components/case/summaryTypes/pinswg_sipscase.js @@ -106,6 +106,34 @@ const Pinswg_sipscase = (props) => { + {hasValidKey( + detailsObj, + "_pinswg_projecttype_value" + ) && ( +
+
+ Project Type +
+
+ {router.locale == "cy" + ? jsonpath( + '$..[?(@.value=="' + + detailsObj[ + "_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue" + ] + + '")].value_cy', + transLookup + ) + : detailsObj[ + "_pinswg_projecttype_value@OData.Community.Display.V1.FormattedValue" + ] || + t( + "case:summary-no-date-entered-label" + )} +
+
+ )} + {detailsObj.pinswg_webaddress != null && (
@@ -193,30 +221,7 @@ const Pinswg_sipscase = (props) => { )}
-
-
- {t( - "case:summary-eia-required-label" - )} -
-
- {router.locale == "cy" - ? jsonpath( - '$..[?(@.value=="' + - detailsObj[ - "pinswg_eiarequired@OData.Community.Display.V1.FormattedValue" - ] + - '")].value_cy', - transLookup - ) - : detailsObj[ - "pinswg_eiarequired@OData.Community.Display.V1.FormattedValue" - ] || - t( - "case:summary-to-be-confirmed-label" - )} -
-
+ {/*
{t("case:summary-status-label")} @@ -642,7 +647,9 @@ const Pinswg_sipscase = (props) => { ) && (
- EIA required + {t( + "case:summary-eia-required-label" + )}
{_.has(