943 lines
45 KiB
JavaScript
943 lines
45 KiB
JavaScript
import Link from "next/link";
|
||
import { useRouter } from "next/router";
|
||
import useTranslation from "next-translate/useTranslation";
|
||
import { connect } from "react-redux";
|
||
import { Field, reduxForm, formValueSelector } from "redux-form";
|
||
import {
|
||
RenderPickList,
|
||
RenderTextfield,
|
||
RenderRadioList,
|
||
RenderMultiline,
|
||
RenderCondtionalRadioList,
|
||
RenderLPACondtionalRadioList,
|
||
FileUploadField,
|
||
RenderRichMultiline,
|
||
RenderDatePicker,
|
||
} from "../representationElements";
|
||
import {
|
||
setRepresentationCapacity,
|
||
setRepresentationSubmit,
|
||
} from "../../../../store/currentView/action";
|
||
import { useDropzone } from "react-dropzone";
|
||
import { select } from "xpath";
|
||
import jsonpath from "jsonpath";
|
||
|
||
let Enforcement_Questionnaire = (props) => {
|
||
let { t } = useTranslation();
|
||
|
||
const router = useRouter();
|
||
const { locale } = router;
|
||
const {
|
||
formObj,
|
||
appellantApplicantRepresentationArr,
|
||
setRepresentationCapacity,
|
||
setRepresentationSubmit,
|
||
currentView,
|
||
procedureTypeValue,
|
||
onBehalfOfLPA,
|
||
} = props;
|
||
const { acceptedFiles, getRootProps, getInputProps } = useDropzone();
|
||
const files = acceptedFiles.map((file) => (
|
||
<li key={file.path}>
|
||
{file.path} - {file.size} bytes
|
||
</li>
|
||
));
|
||
const required = (value) => (value ? undefined : "Required");
|
||
|
||
let setCaseDetailsObj = router.query.hasOwnProperty("state")
|
||
? router.query.state == "edit"
|
||
? props.props.myRepresentations.myRepresentations
|
||
: props.props.searchResultsObj.searchDetailsObj
|
||
: props.props.searchResultsObj.searchDetailsObj;
|
||
|
||
var detailsObj = {};
|
||
|
||
detailsObj = jsonpath.query(
|
||
setCaseDetailsObj,
|
||
'$..[?(@.pinswg_name=="' +
|
||
currentView.caseReference.currentReference +
|
||
'")]'
|
||
);
|
||
|
||
let setCaseResultssObj = router.query.hasOwnProperty("state")
|
||
? router.query.state == "edit"
|
||
? props.props.myRepresentations.myRepresentations
|
||
: props.props.searchResultsObj.searchResultsObj
|
||
: props.props.searchResultsObj.searchResultsObj;
|
||
|
||
detailsObj = detailsObj[0];
|
||
|
||
var resultsObj = {};
|
||
|
||
resultsObj = jsonpath.query(
|
||
setCaseResultssObj,
|
||
'$..[?(@.ticketnumber=="' +
|
||
currentView.caseReference.currentReference +
|
||
'")]'
|
||
);
|
||
resultsObj = resultsObj[0];
|
||
|
||
return (
|
||
<>
|
||
<fieldset
|
||
className="govuk-fieldset"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">
|
||
Enforcement_Questionnaire Appeal procedure and site visit{" "}
|
||
</h3>
|
||
<div className="govuk-form-group">
|
||
<div className="govuk-label">
|
||
1. PEDW Reference:{" "}
|
||
{currentView.caseReference.currentReference}
|
||
</div>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<div className="govuk-label">
|
||
2. LPA reference: {resultsObj.pinswg_lpareference}
|
||
</div>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<div className="govuk-label">
|
||
3. Site Address:{" "}
|
||
{detailsObj.pinswg_siteaddressline1 +
|
||
" " +
|
||
detailsObj.pinswg_siteaddressline2 +
|
||
" " +
|
||
detailsObj.pinswg_siteaddresstown +
|
||
" " +
|
||
detailsObj.pinswg_siteaddresspostcode}
|
||
</div>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
label="4. Which procedure do you consider the appeal should follow?"
|
||
name="procedureType"
|
||
optionsArr={[
|
||
"Written representations",
|
||
"Hearing",
|
||
"Inquiry",
|
||
]}
|
||
id="procedureType"
|
||
component={RenderPickList}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
|
||
{(procedureTypeValue == "Hearing" ||
|
||
procedureTypeValue == "Inquiry") && (
|
||
<Field
|
||
label="If Hearing or Inquiry, provide reasons here for why you consider this to be justified. If you consider an Inquiry is necessary, please state your estimated number of sitting days."
|
||
name="procedureTypeEvidence"
|
||
id="procedureTypeEvidence"
|
||
component={RenderMultiline}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30 govuk-!-margin-bottom-9"
|
||
aria-describedby={props.name + "-hint"}
|
||
richText="false"
|
||
/>
|
||
)}
|
||
|
||
<Field
|
||
label="5. Will the Inspector need to enter the appeal site/property?"
|
||
name="enterToView"
|
||
id="enterToView"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="enterNeighbouringLandToViewSite"
|
||
datafieldname="enterNeighbouringLandToViewSite"
|
||
options={["Yes", "No"]}
|
||
id="enterNeighbouringLandToViewSite"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"6. Do you consider that the Inspector needs to enter neighbouring private land/property to view the site?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, give reasons and provide the neighbouring site address. If you have them, provide the contact details of the landowner in an attachment."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="enterNeighbouringLandAccessRequired"
|
||
datafieldname="enterNeighbouringLandAccessRequired"
|
||
options={["Yes", "No"]}
|
||
id="enterNeighbouringLandAccessRequired"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"7. 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?"
|
||
}
|
||
conditionalLabel={
|
||
"If No, give reasons for why you consider an Accompanied Site Visit to be necessary"
|
||
}
|
||
optionSelect={"No"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="healthAndSafetyIssues"
|
||
datafieldname="healthAndSafetyIssues"
|
||
options={["Yes", "No"]}
|
||
id="healthAndSafetyIssues"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"8. Are you aware of any health and safety issues which would need to be considered when the Inspector visits the site?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, describe the health and safety issues to be considered"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
className="govuk-input govuk-!-width-three-quarters"
|
||
id="LPAcontactDetails"
|
||
name="LPAcontactDetails"
|
||
value="email"
|
||
data-aria-controls="LPAcontactDetails"
|
||
type="text"
|
||
component={RenderRichMultiline}
|
||
label="9. LPA contact for site visit, hearing or inquiry arrangements:"
|
||
/>
|
||
</div>
|
||
</div>
|
||
</fieldset>
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">Deemed Applicaton Fee </h3>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
label="10. Has the local planning authority received the correct fee payable in relation to this appeal for the deemed planning application/ground (a) to be considered?"
|
||
name="feePaid"
|
||
id="feePaid"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="feeExempt"
|
||
datafieldname="feeExempt"
|
||
options={["Yes", "No"]}
|
||
id="feeExempt"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={"11. Is the appeal fee exempt?"}
|
||
conditionalLabel={"If Yes, please explain"}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">
|
||
Planning History and Current Status
|
||
</h3>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="previousGrantedCerts"
|
||
datafieldname="previousGrantedCerts"
|
||
options={["Yes", "No"]}
|
||
id="previousGrantedCerts"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"12. Have any planning permissions or lawful development certificates been granted previously in respect of the development or on the site?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please submit any documents necessary for its interpretation and list here. E.g. Decision Notice, Relevant Plans, etc."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="stopNoticeServed"
|
||
datafieldname="stopNoticeServed"
|
||
options={["Yes", "No"]}
|
||
id="stopNoticeServed"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"13. Has a Stop Notice been served in addition to the Enforcement Notice?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please submit a copy of the Stop Notice and record any relevant information here."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="relatedCases"
|
||
datafieldname="relatedCases"
|
||
options={["Yes", "No"]}
|
||
id="relatedCases"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"14. Are there any related cases (e.g. appeals under s78 of the Town and Country Planning Act 1990) which are currently or have previously been before the Welsh Ministers?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please provide details here, including appeal reference numbers."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="previousEnforcement"
|
||
datafieldname="previousEnforcement"
|
||
options={["Yes", "No"]}
|
||
id="previousEnforcement"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"15. Has there been any previous enforcement action on the site?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please provide details and submit any relevant documents, listing them here."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="subjectArticle4"
|
||
datafieldname="subjectArticle4"
|
||
options={["Yes", "No"]}
|
||
id="subjectArticle4"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"16. Is the site subject to an Article 4 Direction?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please provide details and submit a copy of the relevant Direction."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="previousPDRRestriction"
|
||
datafieldname="previousPDRRestriction"
|
||
options={["Yes", "No"]}
|
||
id="previousPDRRestriction"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"17. Have permitted development rights been restricted by any previous planning condition?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, please provide details and submit any relevant documents, listing them here."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">Supporting documents </h3>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
label="18. LPA’s adopted local development plan and Proposals Map:"
|
||
name="LPAldpAndMap"
|
||
id="LPAldpAndMap"
|
||
component={RenderMultiline}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
richText="false"
|
||
hint="Insert weblinks to the Written Statement of the adopted LDP/UDP, and the accompanying Proposals Map (including map key). Alternatively, list relevant policies here and attach excerpts."
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
label="19. Adopted local guidance relevant to the proposal"
|
||
name="LPAlocalGuidance"
|
||
id="LPAlocalGuidance"
|
||
component={RenderMultiline}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
richText="false"
|
||
hint="Insert weblink(s) to any relevant any local guidance (e.g. Supplementary Planning Guidance, Conservation Area appraisals) which the LPA considers relevant, specifying the document name before the web link. Alternatively, list the relevant guidance and attach copies/excerpts."
|
||
/>
|
||
</div>
|
||
<Field
|
||
label="20. If applicable, do you intend to submit a full statement at the 4- week stage?"
|
||
name="LPAintentionToSubmitFullStatement"
|
||
id="LPAintentionToSubmitFullStatement"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
</fieldset>
|
||
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">Statutory considerations</h3>
|
||
<Field
|
||
label="21. Is all or part of the site within an Area of Outstanding Natural Beauty?"
|
||
name="AONB"
|
||
id="AONB"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="ROW"
|
||
datafieldname="ROW"
|
||
options={["Yes", "No"]}
|
||
id="ROW"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"22. Does the site include any public rights of way?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, attach or insert a link to the definitive map and statement for the local area"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="conservationArea"
|
||
datafieldname="conservationArea"
|
||
options={["Yes", "No"]}
|
||
id="conservationArea"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"23. Is all or part of the site within a Conservation Area?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, attach or insert links to a plan showing the Conservation Area boundary"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="affectListedBuilding"
|
||
datafieldname="affectListedBuilding"
|
||
options={["Yes", "No"]}
|
||
id="affectListedBuilding"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"24. Would the proposal involve works to, or affect the setting of, a listed building, Scheduled Monument or other designated historic asset?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, attach or insert links to the listing description(s) and location plan"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="TPO"
|
||
datafieldname="TPO"
|
||
options={["Yes", "No"]}
|
||
id="TPO"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"25. Is any part of the site subject to a Tree Preservation Order?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, attach or insert links to the relevant plan and details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="natureConservationSite"
|
||
datafieldname="natureConservationSite"
|
||
options={["Yes", "No"]}
|
||
id="natureConservationSite"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"26. Is the site within or likely to affect an International or National Designated Site for nature conservation (as defined in Planning Policy Wales)?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, specify the name and attach any relevant details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="protectedSpecies"
|
||
datafieldname="protectedSpecies"
|
||
options={["Yes", "No"]}
|
||
id="protectedSpecies"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"27. Are any protected species likely to be affected by the proposal?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, specify which and attach any relevant details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
label="28. Does the case involve persons claiming Gypsy/Traveller status, whether or not this is accepted by the LPA?"
|
||
name="gypsyTravellerInvolvment"
|
||
id="gypsyTravellerInvolvment"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="floodingIssue"
|
||
datafieldname="floodingIssue"
|
||
options={["Yes", "No"]}
|
||
id="floodingIssue"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={"29. Is flooding an issue?"}
|
||
conditionalLabel={
|
||
"If Yes, please specify and attach any relevant details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="governmentDepartmentComments"
|
||
datafieldname="governmentDepartmentComments"
|
||
options={["Yes", "No"]}
|
||
id="governmentDepartmentComments"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"30. Have you received comments or directions from any government department/agency or statutory undertaker, including in response to a statutory notification or consultation?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, specify which and attach any relevant details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">Suggested conditions</h3>
|
||
<div className="govuk-form-group govuk-body-m">
|
||
31. If there is an appeal on ground (a), review the
|
||
following standard conditions and advise whether they would
|
||
be necessary if permission is granted:
|
||
</div>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="developmentCarriedOutInAccordance"
|
||
datafieldname="developmentCarriedOutInAccordance"
|
||
options={["Yes", "No"]}
|
||
id="developmentCarriedOutInAccordance"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"a) 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."
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, list the approved plans, documents and drawings here or list them in an attached document"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<Field
|
||
label="b) 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.
|
||
Reason: In the interests of maintaining and enhancing biodiversity, in accordance with Future Wales Policy 9."
|
||
name="developmentNotTakePlaceBiodiversity"
|
||
id="developmentNotTakePlaceBiodiversity"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
<Field
|
||
label="c) 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."
|
||
name="developmentNotTakePlaceBroadband"
|
||
id="developmentNotTakePlaceBroadband"
|
||
component={RenderRadioList}
|
||
options={["Yes", "No"]}
|
||
type="text"
|
||
rows="5"
|
||
className="govuk-textarea govuk-input--width-30"
|
||
aria-describedby={props.name + "-hint"}
|
||
/>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="developmentAnyOtherConditions"
|
||
datafieldname="developmentAnyOtherConditions"
|
||
options={["Yes", "No"]}
|
||
id="developmentAnyOtherConditions"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"32. Do you consider other conditions, or amended versions of the above standard conditions, to be necessary?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, list them here or in an attached document. Include reasons and relevant development plan policies. If you intend to send suggested conditions alongside your 4 week statement, state this here."
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">
|
||
Before sending, have you attached or provided a web link to:
|
||
</h3>
|
||
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="copyOfEnforcementNotice"
|
||
datafieldname="copyOfEnforcementNotice"
|
||
options={["Yes", "No"]}
|
||
id="copyOfEnforcementNotice"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={"33. A true copy of the enforcement notice?"}
|
||
conditionalLabel={
|
||
"Insert weblink here if available online. If No, give reasons"
|
||
}
|
||
optionSelect={"No"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="enforcementNoticePlan"
|
||
datafieldname="enforcementNoticePlan"
|
||
options={["Yes", "No"]}
|
||
id="enforcementNoticePlan"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={"34. The enforcement notice plan."}
|
||
conditionalLabel={
|
||
"Insert weblink here if available online. If No, give reasons"
|
||
}
|
||
optionSelect={"No"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="listOfNotifiedOfEnforcement"
|
||
datafieldname="listOfNotifiedOfEnforcement"
|
||
options={["Yes", "No"]}
|
||
id="listOfNotifiedOfEnforcement"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"35. A list of those served with the enforcement notice."
|
||
}
|
||
conditionalLabel={
|
||
"Insert weblink here if available online. If No, give reasons"
|
||
}
|
||
optionSelect={"No"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="copyOfLetterOfAppealNotification"
|
||
datafieldname="copyOfLetterOfAppealNotification"
|
||
options={["Yes", "No"]}
|
||
id="copyOfLetterOfAppealNotification"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"36. A copy of the letter with which you notified people of the appeal AND a list of the people you notified?"
|
||
}
|
||
conditionalLabel={
|
||
"Insert weblink here if available online. If No, give reasons"
|
||
}
|
||
optionSelect={"No"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="lpaEIAOS"
|
||
datafieldname="lpaEIAOS"
|
||
options={["Yes", "No"]}
|
||
id="lpaEIAOS"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"37. The LPA’s Environmental Impact Assessment Screening Opinion and ‘Regulation 45 Notice’*, if applicable?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, insert weblink or attach a copy of the Screening Opinion and any related correspondences"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="detailsOfOtherAppeals"
|
||
datafieldname="detailsOfOtherAppeals"
|
||
options={["Yes", "No"]}
|
||
id="detailsOfOtherAppeals"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"38. 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?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, provide reference numbers and, if applicable, attach or insert links to relevant documents"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="detailsOfPreviousAppeals"
|
||
datafieldname="detailsOfPreviousAppeals"
|
||
options={["Yes", "No"]}
|
||
id="detailsOfPreviousAppeals"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"39. Details of any previous appeal decision relating to the site or a nearby site referred to by the LPA or applicant?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, provide the reference number(s) and address(es) and attach or insert links to the decision(s) and any relevant application documents"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
name="otherRelevantInformation"
|
||
datafieldname="otherRelevantInformation"
|
||
options={["Yes", "No"]}
|
||
id="otherRelevantInformation"
|
||
className="govuk-radios__input"
|
||
errorMsg={t("newappeal:select-an-option-label")}
|
||
component={RenderLPACondtionalRadioList}
|
||
validate={[required]}
|
||
legend={
|
||
"40. Any other relevant information that we should know about?"
|
||
}
|
||
conditionalLabel={
|
||
"If Yes, provide a brief description and attach or insert links to the relevant details"
|
||
}
|
||
optionSelect={"Yes"}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
<h3 className="govuk-heading-s ">Declaration</h3>
|
||
<div className="govuk-form-group">
|
||
<Field
|
||
className="govuk-input govuk-!-width-one-half"
|
||
id="caseOfficer"
|
||
name="caseOfficer"
|
||
data-aria-controls="caseOfficer"
|
||
type="text"
|
||
component={RenderTextfield}
|
||
label="Signed"
|
||
validate={[required]}
|
||
/>
|
||
</div>
|
||
|
||
<div className="govuk-form-group">
|
||
{onBehalfOfLPA} seww
|
||
<Field
|
||
className="govuk-input govuk-!-width-one-half"
|
||
id="onBehalfOfLPA"
|
||
name="onBehalfOfLPA"
|
||
data-aria-controls="caseOfficer"
|
||
type="text"
|
||
component={RenderTextfield}
|
||
label="On behalf of"
|
||
validate={[required]}
|
||
/>
|
||
</div>
|
||
<Field
|
||
name="signedDate"
|
||
id="signedDate"
|
||
label="Date"
|
||
component={RenderDatePicker}
|
||
validate={[required]}
|
||
errorMsg="Select a date"
|
||
dateStart="0"
|
||
dateEnd="1-y"
|
||
/>
|
||
</fieldset>
|
||
|
||
<fieldset
|
||
className="govuk-fieldset govuk-!-margin-top-9"
|
||
aria-describedby="commentBox-hint"
|
||
>
|
||
{" "}
|
||
<div className="govuk-form-group govuk-!-margin-bottom-9">
|
||
<FileUploadField
|
||
name={"representationDocuments"}
|
||
label={"Add your files"}
|
||
ticketnumber={props.props.caseReference}
|
||
hint={"sdsd"}
|
||
fileList={[]}
|
||
setFilesForRepresentation={[]}
|
||
containerID={props.containerID}
|
||
/>
|
||
</div>
|
||
</fieldset>
|
||
</>
|
||
);
|
||
};
|
||
|
||
//export default Enforcement_Questionnaire;
|
||
|
||
const selector = formValueSelector("representationForm"); // <-- same as form name
|
||
|
||
Enforcement_Questionnaire = connect((state) => {
|
||
const representationTypeValue = selector(state, "representationType");
|
||
const procedureTypeValue = selector(state, "procedureType");
|
||
|
||
return {
|
||
procedureTypeValue,
|
||
representationTypeValue,
|
||
};
|
||
})(Enforcement_Questionnaire);
|
||
|
||
const mapStateToProps = (state, props) => {
|
||
console.log();
|
||
return {
|
||
search: state.search,
|
||
searchResultsObj: state.searchResultsObj,
|
||
formData: state.formData,
|
||
appealType: state.appealType,
|
||
currentView: state.currentView,
|
||
myRepresentations: state.myRepresentations,
|
||
initialValues: state.currentView.caseReference.repDetails,
|
||
};
|
||
};
|
||
|
||
export default connect(mapStateToProps)(
|
||
reduxForm({
|
||
form: "representationForm",
|
||
enableReinitialize: true,
|
||
destroyOnUnmount: false,
|
||
})(Enforcement_Questionnaire)
|
||
);
|