From 5708db003a9e9e0366689aeb5da7ee43105f7c70 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 20 Jan 2025 16:36:37 +0000 Subject: [PATCH] enf defect 19 --- ...tationLPAQuestionnaireCheck_enforcement.js | 4464 ++++++++--------- 1 file changed, 2170 insertions(+), 2294 deletions(-) diff --git a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js index 98ef2fd1..a4691883 100644 --- a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js +++ b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js @@ -23,1971 +23,16 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {

{t("myrepresentations:enf-section-heading-one")}

- {_.has(repFormData, "procedureType") && ( - <> -
-
- {"4. " + - t( - "myrepresentations:enf-section-question-4" - )} -
-
- {repFormData.procedureType} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.representationOnBehalfOf == "Yes" && ( -
-
- {t( - "case:representation-onbehalfof-details" - )} -
- -
- { - repFormData.representationOnBehalfOf_details - } -
- -
- {/* { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {FieldsTranslations( - rows[0].value - )} - - */} -
-
- )} - - )} - {_.has(repFormData, "enterToView") && ( - <> -
-
- {"5. " + - t( - "myrepresentations:enf-section-question-5" - )} -
- -
- {repFormData.enterToView} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "enterNeighbouringLandToViewSite") && ( - <> -
-
- {"6. " + - t( - "myrepresentations:enf-section-question-6" - )} -
- -
- {repFormData.enterNeighbouringLandToViewSite} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.enterNeighbouringLandToViewSite == - "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- {/* { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {FieldsTranslations( - rows[0].value - )} - - */} -
-
- )} - - )} - {_.has(repFormData, "enterNeighbouringLandAccessRequired") && ( - <> -
-
- {"7. " + - t( - "myrepresentations:enf-section-question-7" - )} -
- -
- { - repFormData.enterNeighbouringLandAccessRequired - } -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.enterNeighbouringLandAccessRequired != - "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "healthAndSafetyIssues") && ( - <> -
-
- {"8. " + - t( - "myrepresentations:enf-section-question-8" - )} -
- -
- {repFormData.healthAndSafetyIssues} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.healthAndSafetyIssues == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "LPAcontactDetails") && ( - <> -
-
- {"9. " + - t( - "myrepresentations:enf-section-question-9" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(1); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - - {/* Section 2 Deemed Application Fee */} - <> -

- {t("myrepresentations:enf-section-heading-two")} -

- {_.has(repFormData, "feePaid") && ( - <> -
-
- {"10. " + - t( - "myrepresentations:enf-section-question-10" - )} -
- -
- {repFormData.feePaid} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(2); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "feeExempt") && ( - <> -
-
- {"11. " + - t( - "myrepresentations:enf-section-question-11" - )} -
- -
- {repFormData.feeExempt} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(2); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - - {/* Section 3 Planning History and Current Status */} - <> -

- {t("myrepresentations:enf-section-heading-three")} -

- {_.has(repFormData, "previousGrantedCerts") && ( - <> -
-
- {"12. " + - t( - "myrepresentations:enf-section-question-12" - )}{" "} -
- -
- {repFormData.previousGrantedCerts} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.previousGrantedCerts == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "stopNoticeServed") && ( - <> -
-
- {"13. " + - t( - "myrepresentations:enf-section-question-13" - )} -
- -
- {repFormData.stopNoticeServed} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.stopNoticeServed == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "relatedCases") && ( - <> -
-
- {"14. " + - t( - "myrepresentations:enf-section-question-14" - )} -
- -
- {repFormData.relatedCases} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.relatedCases == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "previousEnforcement") && ( - <> -
-
- {"15. " + - t( - "myrepresentations:enf-section-question-15" - )} -
- -
- {repFormData.previousEnforcement} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.previousEnforcement == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "subjectArticle4") && ( - <> -
-
- {"16. " + - t( - "myrepresentations:enf-section-question-16" - )} -
- -
- {repFormData.subjectArticle4} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.subjectArticle4 == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "previousPDRRestriction") && ( - <> -
-
- {"17. " + - t( - "myrepresentations:enf-section-question-17" - )} -
- -
- {repFormData.previousPDRRestriction} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.previousPDRRestriction == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(3); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - - {/* Section 4 Supporting Documents */} - <> -

- {t("myrepresentations:enf-section-heading-four")} -

- {_.has(repFormData, "LPAldpAndMap") && ( - <> -
-
- {"18. " + - t( - "myrepresentations:enf-section-question-18" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(4); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "LPAlocalGuidance") && ( - <> -
-
- {"19. " + - t( - "myrepresentations:enf-section-question-19" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(4); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "LPAintentionToSubmitFullStatement") && ( - <> -
-
- {"20. " + - t( - "myrepresentations:enf-section-question-20" - )} -
- -
- {repFormData.LPAintentionToSubmitFullStatement} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(4); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - - {/* Section 5 */} - <> -

- {t("myrepresentations:enf-section-heading-five")} -

- {_.has(repFormData, "AONB") && ( - <> -
-
- {"21. " + - t( - "myrepresentations:enf-section-question-21" - )} -
- -
- {repFormData.AONB} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "ROW") && ( - <> -
-
- {"22. " + - t( - "myrepresentations:enf-section-question-22" - )} -
- -
- {repFormData.ROW} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.ROW == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "conservationArea") && ( - <> -
-
- {"23. " + - t( - "myrepresentations:enf-section-question-23" - )} -
- -
- {repFormData.conservationArea} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.conservationArea == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "affectListedBuilding") && ( - <> -
-
- {"24. " + - t( - "myrepresentations:enf-section-question-24" - )} -
- -
- {repFormData.affectListedBuilding} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.affectListedBuilding == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "TPO") && ( - <> -
-
- {"25. " + - t( - "myrepresentations:enf-section-question-25" - )} -
- -
- {repFormData.affectListedBuilding} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.TPO == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "natureConservationSite") && ( - <> -
-
- {"26. " + - t( - "myrepresentations:enf-section-question-26" - )} -
- -
- {repFormData.natureConservationSite} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.natureConservationSite == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "protectedSpecies") && ( - <> -
-
- {"27. " + - t( - "myrepresentations:enf-section-question-27" - )} -
- -
- {repFormData.protectedSpecies} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.protectedSpecies == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "gypsyTravellerInvolvment") && ( - <> -
-
- {"28. " + - t( - "myrepresentations:enf-section-question-28" - )} -
- -
- {repFormData.gypsyTravellerInvolvment} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - {_.has(repFormData, "floodingIssue") && ( - <> -
-
- {"29. " + - t( - "myrepresentations:enf-section-question-29" - )} -
- -
- {repFormData.floodingIssue} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.floodingIssue == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "governmentDepartmentComments") && ( - <> -
-
- {"30. " + - t( - "myrepresentations:enf-section-question-30" - )} -
- -
- {repFormData.governmentDepartmentComments} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.governmentDepartmentComments == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(5); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - - - {/* Section 6 */} - <> -

- {t("myrepresentations:enf-section-heading-six")} -

- {_.has( - repFormData, - "developmentNotBeginLaterThanFiveYears" - ) && ( - <> -
-
- {t( - "myrepresentations:enf-section-question-31a" - )} -
- -
- { - repFormData.developmentNotBeginLaterThanFiveYears - } -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - - {_.has(repFormData, "developmentCarriedOutInAccordance") && ( - <> -
-
- 31 - {t( - "myrepresentations:enf-section-question-31a" - )} -
- -
- {repFormData.developmentCarriedOutInAccordance} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.developmentCarriedOutInAccordance == - "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "developmentNotTakePlaceBiodiversity") && ( - <> -
-
- 31 - {t( - "myrepresentations:enf-section-question-31b" - )} -
- -
- { - repFormData.developmentNotTakePlaceBiodiversity - } -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- - )} - - {_.has(repFormData, "developmentNotTakePlaceBroadband") && ( - <> -
-
- 31 - {t( - "myrepresentations:enf-section-question-31c" - )} -
- -
- {repFormData.developmentNotTakePlaceBroadband} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.developmentNotTakePlaceBroadband == - "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
- { - repFormData.developmentNotTakePlaceBroadbandEvidence - } -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - {_.has(repFormData, "developmentAnyOtherConditions") && ( - <> -
-
- 32.{" "} - {t("myrepresentations:enf-section-question-32")} -
- -
- {repFormData.developmentAnyOtherConditions} -
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- {repFormData.developmentAnyOtherConditions == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
- -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(6); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} - - - {/* Section 7 Before sending, have you attached or provided a web link to: */} -

- {t("myrepresentations:s78-section-heading-five-sub")} -

- {_.has(repFormData, "copyOfEnforcementNotice") && ( <>
- {"33. " + - t("myrepresentations:enf-section-question-33")} + {"4. " + + t("myrepresentations:enf-section-question-4")}
- {repFormData.copyOfEnforcementNotice} + {repFormData.procedureType}
@@ -1996,7 +41,7 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => { href="#" onClick={() => { setRepresentationSubmit(false); - setShowQuestionnaireSection(7); + setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} @@ -2009,7 +54,101 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.copyOfEnforcementNotice == "No" && ( + {repFormData.representationOnBehalfOf == "Yes" && ( +
+
+ {t("case:representation-onbehalfof-details")} +
+ +
+ {repFormData.representationOnBehalfOf_details} +
+ +
+ {/* { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {FieldsTranslations( + rows[0].value + )} + + */} +
+
+ )} + + + <> +
+
+ {"5. " + + t("myrepresentations:enf-section-question-5")} +
+ +
+ {repFormData.enterToView} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"6. " + + t("myrepresentations:enf-section-question-6")} +
+ +
+ {repFormData.enterNeighbouringLandToViewSite} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.enterNeighbouringLandToViewSite == "Yes" && (
{t( @@ -2021,7 +160,77 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
+ + +
+ {/* { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {FieldsTranslations( + rows[0].value + )} + + */} +
+
+ )} + + + <> +
+
+ {"7. " + + t("myrepresentations:enf-section-question-7")} +
+ +
+ {repFormData.enterNeighbouringLandAccessRequired} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.enterNeighbouringLandAccessRequired != + "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
@@ -2032,7 +241,7 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => { href="#" onClick={() => { setRepresentationSubmit(false); - setShowQuestionnaireSection(7); + setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} @@ -2047,17 +256,1662 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
)} - )} - {_.has(repFormData, "enforcementNoticePlan") && ( + <>
- {"34. " + - t("myrepresentations:enf-section-question-34")} + {"8. " + + t("myrepresentations:enf-section-question-8")}
- {repFormData.enforcementNoticePlan} + {repFormData.healthAndSafetyIssues} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.healthAndSafetyIssues == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"9. " + + t("myrepresentations:enf-section-question-9")} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(1); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + {/* Section 2 Deemed Application Fee */} + <> +

+ {t("myrepresentations:enf-section-heading-two")} +

+ + <> +
+
+ {"10. " + + t("myrepresentations:enf-section-question-10")} +
+ +
+ {repFormData.feePaid} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(2); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"11. " + + t("myrepresentations:enf-section-question-11")} +
+ +
+ {repFormData.feeExempt} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(2); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + {/* Section 3 Planning History and Current Status */} + <> +

+ {t("myrepresentations:enf-section-heading-three")} +

+ + <> +
+
+ {"12. " + + t( + "myrepresentations:enf-section-question-12" + )}{" "} +
+ +
+ {repFormData.previousGrantedCerts} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.previousGrantedCerts == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"13. " + + t("myrepresentations:enf-section-question-13")} +
+ +
+ {repFormData.stopNoticeServed} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.stopNoticeServed == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"14. " + + t("myrepresentations:enf-section-question-14")} +
+ +
+ {repFormData.relatedCases} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.relatedCases == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"15. " + + t("myrepresentations:enf-section-question-15")} +
+ +
+ {repFormData.previousEnforcement} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.previousEnforcement == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"16. " + + t("myrepresentations:enf-section-question-16")} +
+ +
+ {repFormData.subjectArticle4} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.subjectArticle4 == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"17. " + + t("myrepresentations:enf-section-question-17")} +
+ +
+ {repFormData.previousPDRRestriction} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.previousPDRRestriction == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(3); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + {/* Section 4 Supporting Documents */} + <> +

+ {t("myrepresentations:enf-section-heading-four")} +

+ + <> +
+
+ {"18. " + + t("myrepresentations:enf-section-question-18")} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(4); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"19. " + + t("myrepresentations:enf-section-question-19")} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(4); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"20. " + + t("myrepresentations:enf-section-question-20")} +
+ +
+ {repFormData.LPAintentionToSubmitFullStatement} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(4); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + {/* Section 5 */} + <> +

+ {t("myrepresentations:enf-section-heading-five")} +

+ + <> +
+
+ {"21. " + + t("myrepresentations:enf-section-question-21")} +
+ +
+ {repFormData.AONB} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"22. " + + t("myrepresentations:enf-section-question-22")} +
+ +
+ {repFormData.ROW} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.ROW == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"23. " + + t("myrepresentations:enf-section-question-23")} +
+ +
+ {repFormData.conservationArea} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.conservationArea == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"24. " + + t("myrepresentations:enf-section-question-24")} +
+ +
+ {repFormData.affectListedBuilding} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.affectListedBuilding == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"25. " + + t("myrepresentations:enf-section-question-25")} +
+ +
+ {repFormData.affectListedBuilding} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.TPO == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"26. " + + t("myrepresentations:enf-section-question-26")} +
+ +
+ {repFormData.natureConservationSite} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.natureConservationSite == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"27. " + + t("myrepresentations:enf-section-question-27")} +
+ +
+ {repFormData.protectedSpecies} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.protectedSpecies == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"28. " + + t("myrepresentations:enf-section-question-28")} +
+ +
+ {repFormData.gypsyTravellerInvolvment} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ {"29. " + + t("myrepresentations:enf-section-question-29")} +
+ +
+ {repFormData.floodingIssue} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.floodingIssue == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ {"30. " + + t("myrepresentations:enf-section-question-30")} +
+ +
+ {repFormData.governmentDepartmentComments} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.governmentDepartmentComments == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(5); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + + {/* Section 6 */} + <> +

+ {t("myrepresentations:enf-section-heading-six")} +

+ + <> +
+
+ {t("myrepresentations:enf-section-question-31a")} +
+ +
+ {repFormData.developmentNotBeginLaterThanFiveYears} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ 31 + {t("myrepresentations:enf-section-question-31a")} +
+ +
+ {repFormData.developmentCarriedOutInAccordance} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.developmentCarriedOutInAccordance == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ 31 + {t("myrepresentations:enf-section-question-31b")} +
+ +
+ {repFormData.developmentNotTakePlaceBiodiversity} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ + + <> +
+
+ 31 + {t("myrepresentations:enf-section-question-31c")} +
+ +
+ {repFormData.developmentNotTakePlaceBroadband} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.developmentNotTakePlaceBroadband == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+ { + repFormData.developmentNotTakePlaceBroadbandEvidence + } +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + <> +
+
+ 32. {t("myrepresentations:enf-section-question-32")} +
+ +
+ {repFormData.developmentAnyOtherConditions} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.developmentAnyOtherConditions == "Yes" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
+
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(6); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ )} + + + + {/* Section 7 Before sending, have you attached or provided a web link to: */} +

+ {t("myrepresentations:s78-section-heading-five-sub")} +

+ <> +
+
+ {"33. " + + t("myrepresentations:enf-section-question-33")} +
+ +
+ {repFormData.copyOfEnforcementNotice} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.copyOfEnforcementNotice == "No" && ( +
+
+ {t( + "myrepresentations:questionnaire-evidence-label" + )} +
+ +
+
@@ -2079,7 +1933,41 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.enforcementNoticePlan != "Yes" && ( + )} + + + <> +
+
+ {"34. " + + t("myrepresentations:enf-section-question-34")} +
+ +
+ {repFormData.enforcementNoticePlan} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.enforcementNoticePlan != "Yes" && + repFormData.enforcementNoticePlan != null && (
{t( @@ -2116,40 +2004,40 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
)} - - )} - {_.has(repFormData, "listOfNotifiedOfEnforcement") && ( - <> -
-
- {"35. " + - t("myrepresentations:enf-section-question-35")} -
+ -
- {repFormData.enforcementNoticePlan} -
+ <> +
+
+ {"35. " + + t("myrepresentations:enf-section-question-35")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(7); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.enforcementNoticePlan} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- {repFormData.listOfNotifiedOfEnforcement != "Yes" && ( + + + +
+ {repFormData.listOfNotifiedOfEnforcement != "Yes" && + repFormData.enforcementNoticePlan != null && (
{t( @@ -2186,18 +2074,53 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
)} - - )} - {_.has(repFormData, "copyOfLetterOfAppealNotification") && ( - <> + + + <> +
+
+ {"36. " + + t("myrepresentations:enf-section-question-36")} +
+ +
+ {repFormData.copyOfLetterOfAppealNotification} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( + rows[0].value + )} */} + + +
+
+ {repFormData.copyOfLetterOfAppealNotification == "No" && (
- {"36. " + - t("myrepresentations:enf-section-question-36")} + {t( + "myrepresentations:questionnaire-evidence-label" + )}
- {repFormData.copyOfLetterOfAppealNotification} +
@@ -2219,55 +2142,54 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.copyOfLetterOfAppealNotification == "No" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
+ )} + -
-
-
+ <> +
+
+ {"37. " + + t("myrepresentations:enf-section-question-37")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(7); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.lpaEIAOS} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- )} - - )} - {_.has(repFormData, "lpaEIAOS") && ( - <> + + + +
+ {repFormData.lpaEIAOS == "No" && (
- {"37. " + - t("myrepresentations:enf-section-question-37")} + {t( + "myrepresentations:questionnaire-evidence-label" + )}
- {repFormData.lpaEIAOS} +
@@ -2289,55 +2211,54 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.lpaEIAOS == "No" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
+ )} + -
-
-
+ <> +
+
+ {"38. " + + t("myrepresentations:enf-section-question-38")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(7); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.detailsOfOtherAppeals} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- )} - - )} - {_.has(repFormData, "detailsOfOtherAppeals") && ( - <> + + + +
+ {repFormData.detailsOfOtherAppeals == "Yes" && (
- {"38. " + - t("myrepresentations:enf-section-question-38")} + {t( + "myrepresentations:questionnaire-evidence-label" + )}
- {repFormData.detailsOfOtherAppeals} +
@@ -2359,55 +2280,54 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.detailsOfOtherAppeals == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
+ )} + -
-
-
+ <> +
+
+ {"39. " + + t("myrepresentations:enf-section-question-39")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(7); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.detailsOfPreviousAppeals} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- )} - - )} - {_.has(repFormData, "detailsOfPreviousAppeals") && ( - <> + + + +
+ {repFormData.detailsOfPreviousAppeals == "Yes" && (
- {"39. " + - t("myrepresentations:enf-section-question-39")} + {t( + "myrepresentations:questionnaire-evidence-label" + )}
- {repFormData.detailsOfPreviousAppeals} +
@@ -2429,55 +2349,54 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.detailsOfPreviousAppeals == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
+ )} + -
-
-
+ <> +
+
+ {"40. " + + t("myrepresentations:enf-section-question-40")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(7); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.otherRelevantInformation} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(7); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- )} - - )} - {_.has(repFormData, "otherRelevantInformation") && ( - <> + + + +
+ {repFormData.otherRelevantInformation == "Yes" && (
- {"40. " + - t("myrepresentations:enf-section-question-40")} + {t( + "myrepresentations:questionnaire-evidence-label" + )}
- {repFormData.otherRelevantInformation} +
@@ -2486,7 +2405,7 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => { href="#" onClick={() => { setRepresentationSubmit(false); - setShowQuestionnaireSection(7); + setShowQuestionnaireSection(); }} > {t("common:change-link-label")} @@ -2499,152 +2418,109 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
- {repFormData.otherRelevantInformation == "Yes" && ( -
-
- {t( - "myrepresentations:questionnaire-evidence-label" - )} -
+ )} + -
-
-
- -
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( - rows[0].value - )} */} - - -
-
- )} - - )} {/* Section 9 Declaration */} <>

{t("myrepresentations:enf-section-heading-eight")}

- {_.has(repFormData, "signedDate") && ( - <> -
-
- {t( - "myrepresentations:enf-section-question-signed" - )} -
-
- {repFormData.caseOfficer} -
+ <> +
+
+ {t("myrepresentations:enf-section-question-signed")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(9); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.caseOfficer} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(9); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- - )} - {_.has(repFormData, "caseOfficer") && ( - <> -
-
- {t( - "myrepresentations:s78-section-heading-date" - )} -
+ + + +
+ -
- {formatDates(repFormData.signedDate)} -
+ <> +
+
+ {t("myrepresentations:s78-section-question-date")} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(9); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {formatDates(repFormData.signedDate)} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(9); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- - )} - {_.has(repFormData, "onBehalfOfLPA") && ( - <> -
-
- {t( - "myrepresentations:enf-section-question-onbehalf" - )} -
+ + + +
+ -
- {repFormData.onBehalfOfLPA} -
+ <> +
+
+ {t( + "myrepresentations:enf-section-question-onbehalf" + )} +
-
- { - setRepresentationSubmit(false); - setShowQuestionnaireSection(9); - }} - > - {t("common:change-link-label")} - - {" "} - {/* {FieldsTranslations( +
+ {repFormData.onBehalfOfLPA} +
+ +
+ { + setRepresentationSubmit(false); + setShowQuestionnaireSection(9); + }} + > + {t("common:change-link-label")} + + {" "} + {/* {FieldsTranslations( rows[0].value )} */} - - -
-
- - )} + + + +
+ );