From c0dfed60f959e03a9614bb88e8df1cdc5fc4496a Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 9 Jan 2025 16:03:37 +0000 Subject: [PATCH] rep defect 28,29,23,27 --- ...representationLPAQuestionnaireCheck_s78.js | 229 +++++++++++------- 1 file changed, 139 insertions(+), 90 deletions(-) diff --git a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_s78.js b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_s78.js index ed6d590b..01598be3 100644 --- a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_s78.js +++ b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_s78.js @@ -322,119 +322,169 @@ let RepLPAQuestionnaireCheck_s78 = (props) => { )} )} - {_.has(repFormData, "LPAcontactDetails") && ( - <> -
-
- 10. LPA contact for site visit, hearing or inquiry - arrangements: -
-
+ <> +
+
+ 10. LPA contact for site visit, hearing or inquiry + arrangements: +
+ +
+ {_.has(repFormData, "LPAcontactDetails") ? (
-
+ ) : ( + "Not entered" + )} + -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- - )} - {_.has(repFormData, "LPAcaseFileAndReps") && ( - <> -
-
- 11. LPA case file and represen- tations -
+ + + +
+ -
+ <> +
+
+ 11. LPA case file and represen- tations +
+ +
+ {_.has(repFormData, "LPAcaseFileAndReps") ? (
-
+ ) : ( + "Not entered" + )} + -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(2); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(2); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
- - - )} - {_.has(repFormData, "LPAldpAndMap") && ( - <> -
-
- 12. LPA’s adopted Local Development Plan and - Proposals Map -
+ + + +
+ -
+ <> +
+
+ 12. LPA’s adopted Local Development Plan and Proposals + Map +
+ +
+ {_.has(repFormData, "LPAldpAndMap") ? (
-
+ ) : ( + "Not entered" + )} + -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(2); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(2); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
- - - )} + + + + + + + <> +
+
+ 13. {t("myrepresentations:s78-section-question-13")} +
+ +
+ {_.has(repFormData, "LPAlocalGuidance") ? ( +
+ ) : ( + "Not entered" + )} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(2); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + {_.has(repFormData, "LPAintentionToSubmitFullStatement") && ( <>
@@ -472,8 +522,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => { <>
- 15. Is all or part of the site within an Area of - Outstanding Natural Beauty? + 15. {t("myrepresentations:s78-section-question-15")}
@@ -505,7 +554,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => { <>
- 16. {t("myrepresentations:s78-section-question-15")} + 16. {t("myrepresentations:s78-section-question-16")}
@@ -1306,7 +1355,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
26. A copy of the applicant’s certificate confirming that they notified persons with an interest in the - land?* + land?
@@ -1332,7 +1381,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
- {repFormData.copyOfApplicantsCertificate == "Yes" && ( + {repFormData.copyOfApplicantsCertificate == "No" && (
Evidence @@ -1401,7 +1450,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
- {repFormData.advertismentGiven == "Yes" && ( + {repFormData.advertismentGiven == "No" && (
Evidence @@ -1470,7 +1519,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
- {repFormData.copyOfLetterOfAppealNotification == "Yes" && ( + {repFormData.copyOfLetterOfAppealNotification == "No" && (
Evidence