enf 17
This commit is contained in:
+49
-37
@@ -4,6 +4,8 @@ import { useRouter } from "next/router";
|
||||
import { useDropzone } from "react-dropzone";
|
||||
import { connect } from "react-redux";
|
||||
import { Field, formValueSelector, reduxForm } from "redux-form";
|
||||
import { getFormCollectionByID } from "../../../../components/utils";
|
||||
|
||||
import {
|
||||
FileUploadField,
|
||||
RenderDatePicker,
|
||||
@@ -124,10 +126,20 @@ let Enforcement_Questionnaire = (props) => {
|
||||
detailsObj.pinswg_siteaddresspostcode}
|
||||
</div>
|
||||
</div>
|
||||
<div className="govuk-form-group">
|
||||
<div className="govuk-label">
|
||||
4. {t("myrepresentations:s78-section-question-4")}:{" "}
|
||||
{
|
||||
getFormCollectionByID(
|
||||
currentView.caseReference.appealType
|
||||
).value
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
label={
|
||||
"4." +
|
||||
"5." +
|
||||
t("myrepresentations:enf-section-question-4")
|
||||
}
|
||||
name="procedureType"
|
||||
@@ -161,7 +173,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
|
||||
<Field
|
||||
label={
|
||||
"5. " +
|
||||
"6. " +
|
||||
t("myrepresentations:enf-section-question-5")
|
||||
}
|
||||
name="enterToView"
|
||||
@@ -196,7 +208,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"6. " +
|
||||
"7. " +
|
||||
t(
|
||||
"myrepresentations:enf-section-question-6"
|
||||
)
|
||||
@@ -225,7 +237,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"7. " +
|
||||
"8. " +
|
||||
t(
|
||||
"myrepresentations:enf-section-question-7"
|
||||
)
|
||||
@@ -254,7 +266,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"8. " +
|
||||
"9. " +
|
||||
t(
|
||||
"myrepresentations:enf-section-question-8"
|
||||
)
|
||||
@@ -278,7 +290,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
type="text"
|
||||
component={RenderRichMultiline}
|
||||
label={
|
||||
"9. " +
|
||||
"10. " +
|
||||
t(
|
||||
"myrepresentations:enf-section-question-9"
|
||||
)
|
||||
@@ -299,7 +311,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
label={
|
||||
"10. " +
|
||||
"11. " +
|
||||
t("myrepresentations:enf-section-question-10")
|
||||
}
|
||||
name="feePaid"
|
||||
@@ -331,7 +343,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"11. " +
|
||||
"12. " +
|
||||
t("myrepresentations:enf-section-question-11")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -368,7 +380,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"12. " +
|
||||
"13. " +
|
||||
t("myrepresentations:enf-section-question-12")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -395,7 +407,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"13. " +
|
||||
"14. " +
|
||||
t("myrepresentations:enf-section-question-13")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -422,7 +434,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"14. " +
|
||||
"15. " +
|
||||
t("myrepresentations:enf-section-question-14")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -449,7 +461,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"15. " +
|
||||
"16. " +
|
||||
t("myrepresentations:enf-section-question-15")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -476,7 +488,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"16. " +
|
||||
"17. " +
|
||||
t("myrepresentations:enf-section-question-16")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -503,7 +515,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"17. " +
|
||||
"18. " +
|
||||
t("myrepresentations:enf-section-question-17")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -528,7 +540,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
label={
|
||||
"18. " +
|
||||
"19. " +
|
||||
t("myrepresentations:enf-section-question-18")
|
||||
}
|
||||
name="LPAldpAndMap"
|
||||
@@ -547,7 +559,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
label={
|
||||
"19. " +
|
||||
"20. " +
|
||||
t("myrepresentations:enf-section-question-19")
|
||||
}
|
||||
name="LPAlocalGuidance"
|
||||
@@ -565,7 +577,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
</div>
|
||||
<Field
|
||||
label={
|
||||
"20. " +
|
||||
"21. " +
|
||||
t("myrepresentations:enf-section-question-20")
|
||||
}
|
||||
name="LPAintentionToSubmitFullStatement"
|
||||
@@ -592,7 +604,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
</h3>
|
||||
<Field
|
||||
label={
|
||||
"21. " +
|
||||
"22. " +
|
||||
t("myrepresentations:enf-section-question-21")
|
||||
}
|
||||
name="AONB"
|
||||
@@ -624,7 +636,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"22. " +
|
||||
"23. " +
|
||||
t("myrepresentations:enf-section-question-22")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -651,7 +663,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"23. " +
|
||||
"24. " +
|
||||
t("myrepresentations:enf-section-question-23")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -678,7 +690,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"24. " +
|
||||
"25. " +
|
||||
t("myrepresentations:enf-section-question-24")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -705,7 +717,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"25. " +
|
||||
"26. " +
|
||||
t("myrepresentations:enf-section-question-25")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -732,7 +744,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"26. " +
|
||||
"27. " +
|
||||
t("myrepresentations:enf-section-question-26")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -759,7 +771,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"27. " +
|
||||
"28. " +
|
||||
t("myrepresentations:enf-section-question-27")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -773,7 +785,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
label={
|
||||
"28. " +
|
||||
"29. " +
|
||||
t("myrepresentations:enf-section-question-28")
|
||||
}
|
||||
name="gypsyTravellerInvolvment"
|
||||
@@ -805,7 +817,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"29. " +
|
||||
"30. " +
|
||||
t("myrepresentations:enf-section-question-29")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -832,7 +844,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"30. " +
|
||||
"31. " +
|
||||
t("myrepresentations:enf-section-question-30")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -854,7 +866,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
{t("myrepresentations:enf-section-heading-six")}
|
||||
</h3>
|
||||
<div className="govuk-form-group govuk-body-m">
|
||||
31. {t("myrepresentations:enf-section-question-31")}
|
||||
32. {t("myrepresentations:enf-section-question-31")}
|
||||
</div>
|
||||
|
||||
<div className="govuk-form-group">
|
||||
@@ -928,7 +940,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"32. " +
|
||||
"33. " +
|
||||
t("myrepresentations:enf-section-question-32")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -969,7 +981,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"33. " +
|
||||
"34. " +
|
||||
t("myrepresentations:enf-section-question-33")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -996,7 +1008,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"34. " +
|
||||
"35. " +
|
||||
t("myrepresentations:enf-section-question-34")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1023,7 +1035,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"35. " +
|
||||
"36. " +
|
||||
t("myrepresentations:enf-section-question-35")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1050,7 +1062,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"36. " +
|
||||
"37. " +
|
||||
t("myrepresentations:enf-section-question-36")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1077,7 +1089,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"37. " +
|
||||
"38. " +
|
||||
t("myrepresentations:enf-section-question-37")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1107,7 +1119,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"38. " +
|
||||
"39. " +
|
||||
t("myrepresentations:enf-section-question-38")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1134,7 +1146,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"39. " +
|
||||
"40. " +
|
||||
t("myrepresentations:enf-section-question-39")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
@@ -1161,7 +1173,7 @@ let Enforcement_Questionnaire = (props) => {
|
||||
component={RenderLPACondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"40. " +
|
||||
"41. " +
|
||||
t("myrepresentations:enf-section-question-40")
|
||||
}
|
||||
conditionalLabel={t(
|
||||
|
||||
Reference in New Issue
Block a user