import _ from "lodash"; import useTranslation from "next-translate/useTranslation"; import { formatDates } from "../../../utils"; let RepLPAQuestionnaireCheck_s78 = (props) => { let { t } = useTranslation(); const { formObj, currentView, setSubmitBack, showQuestionnaireSection, setShowQuestionnaireSection, setRepresentationSubmit, questionnaireCount, } = props; const repFormData = formObj.representationForm.values; return ( <> {showQuestionnaireSection} {_.has(repFormData, "procedureType") && ( <>
5. Which procedure do you consider the appeal should follow?
{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}
{ setSubmitBack(); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "enterToView") && ( <>
6. Will the Inspector need to enter the appeal site/property?{" "}
{repFormData.enterToView}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "enterNeighbouringLandToViewSite") && ( <>
7. Do you consider that the Inspector needs to enter neighbouring private land/property to view the site?
{repFormData.enterNeighbouringLandToViewSite}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.enterNeighbouringLandToViewSite == "Yes" && (
{t("case:representation-onbehalfof-details")}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "enterNeighbouringLandAccessRequired") && ( <>
8. If access to private land/buildings is required, are you content for the Inspector to visit the site on an ‘access required’ basis, with only the landowner or their representative present?
{repFormData.enterNeighbouringLandAccessRequired}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.enterNeighbouringLandAccessRequired == "No" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "healthAndSafetyIssues") && ( <>
9. Are you aware of any health and safety issues which would need to be considered when the Inspector visits the site?
{repFormData.healthAndSafetyIssues}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.healthAndSafetyIssues == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(1); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} <>
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( rows[0].value )} */}
<>
11. LPA case file and represen- tations
{_.has(repFormData, "LPAcaseFileAndReps") ? (
) : ( "Not entered" )}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(2); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
<>
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( 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") && ( <>
14. If applicable, do you intend to submit a full statement at the 4-week stage?
{repFormData.LPAintentionToSubmitFullStatement}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(2); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "AONB") && ( <>
15. {t("myrepresentations:s78-section-question-15")}
{repFormData.AONB}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "ROW") && ( <>
16. {t("myrepresentations:s78-section-question-16")}
{repFormData.ROW}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.ROW == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "conservationArea") && ( <>
17. Is all or part of the site within a Conservation Area?
{repFormData.conservationArea}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.conservationArea == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "affectListedBuilding") && ( <>
18. Would the proposal involve works to, or affect the setting of, a listed building, Scheduled Monument or other designated historic asset?
{repFormData.affectListedBuilding}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.affectListedBuilding == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "TPO") && ( <>
19. Is any part of the site subject to a Tree Preservation Order?
{repFormData.affectListedBuilding}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.TPO == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "natureConservationSite") && ( <>
20. Is the site within or likely to affect an International or National Designated Site for nature conservation (as defined in Planning Policy Wales)?
{repFormData.natureConservationSite}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.natureConservationSite == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "protectedSpecies") && ( <>
21. Are any protected species likely to be affected by the proposal?
{repFormData.protectedSpecies}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.protectedSpecies == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "gypsyTravellerInvolvment") && ( <>
22. Does the case involve persons claiming Gypsy/Traveller status, whether or not this is accepted by the LPA?
{repFormData.gypsyTravellerInvolvment}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "governmentDepartmentComments") && ( <>
23. Have you received comments or directions from any government department/agency or statutory undertaker, including in response to a statutory notification or consultation?
{repFormData.governmentDepartmentComments}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.governmentDepartmentComments == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(3); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "developmentNotBeginLaterThanFiveYears") && ( <>
24a. The development shall begin not later than five years from the date of this decision.
{repFormData.developmentNotBeginLaterThanFiveYears}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "developmentCarriedOutInAccordance") && ( <>
24b. The development shall be carried out in accordance with the following approved plans and documents: ............................ Reason: To ensure the development is carried out in accordance with the approved documents, plans and drawings submitted with the application.
{repFormData.developmentCarriedOutInAccordance}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.developmentCarriedOutInAccordance == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "developmentNotTakePlaceBiodiversity") && ( <>
24c. No development shall take place until a scheme for biodiversity enhancement has been submitted to and agreed in writing by the local planning authority. Development shall be carried out in accordance with the approved details.
{repFormData.developmentNotTakePlaceBiodiversity}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "developmentNotTakePlaceBroadband") && ( <>
24d. No development shall take place until a scheme to enable the provision of gigabit capable broadband infrastructure from the site boundary to the dwellings/buildings hereby permitted has been submitted to and agreed in writing by the local planning authority. Development shall be carried out in accordance with the approved details. Reason: To support the roll-out of digital communications infrastructure across Wales in accordance with Policy 13 of Future Wales.
{repFormData.developmentNotTakePlaceBroadband}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.developmentNotTakePlaceBroadband == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "developmentAnyOtherConditions") && ( <>
25. Do you consider other conditions, or amended versions of the above standard conditions, to be necessary?
{repFormData.developmentAnyOtherConditions}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.developmentAnyOtherConditions == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(4); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "copyOfApplicantsCertificate") && ( <>
26. A copy of the applicant’s certificate confirming that they notified persons with an interest in the land?
{repFormData.copyOfApplicantsCertificate}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.copyOfApplicantsCertificate == "No" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "advertismentGiven") && ( <>
27. Evidence of any publicity given to the application, including site notices and local advertisement?
{repFormData.advertismentGiven}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.advertismentGiven == "No" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "copyOfLetterOfAppealNotification") && ( <>
28. A copy of the letter with which you notified people of the appeal AND a list of the people you notified?
{repFormData.copyOfLetterOfAppealNotification}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.copyOfLetterOfAppealNotification == "No" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "lpaEIAOS") && ( <>
29. The LPA’s Environmental Impact Assessment Screening Opinion, if applicable?
{repFormData.lpaEIAOS}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.lpaEIAOS == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "advertismentConsentDiscontinuanceNotice") && ( <>
30. Advertisement consent proposals only: A true copy of the Discontinuance Notice (if one has been issued)?
{ repFormData.advertismentConsentDiscontinuanceNotice }
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.lpaEIAOS == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "detailsOfOtherAppeals") && ( <>
31. Details of other appeals or applications relating to the site, or a nearby site, which are still being considered by PEDW or the Welsh Ministers?
{repFormData.detailsOfOtherAppeals}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.detailsOfOtherAppeals == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "detailsOfPreviousAppeals") && ( <>
32. Details of any previous appeal decision relating to the site or a nearby site referred to by the LPA or applicant?
{repFormData.detailsOfPreviousAppeals}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.detailsOfPreviousAppeals == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "otherRelevantInformation") && ( <>
33. Any other relevant information that we should know about?
{repFormData.otherRelevantInformation}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
{repFormData.otherRelevantInformation == "Yes" && (
Evidence
{ setRepresentationSubmit(false); setShowQuestionnaireSection(5); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} )} {_.has(repFormData, "signedDate") && ( <>
Signed
{repFormData.caseOfficer}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(7); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "caseOfficer") && ( <>
Date
{formatDates(repFormData.signedDate)}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(7); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} {_.has(repFormData, "onBehalfOfLPA") && ( <>
On behalf of
{repFormData.onBehalfOfLPA}
{ setRepresentationSubmit(false); setShowQuestionnaireSection(7); }} > {t("common:change-link-label")} {" "} {/* {FieldsTranslations( rows[0].value )} */}
)} ); }; export default RepLPAQuestionnaireCheck_s78;