diff --git a/components/case/representation/index.js b/components/case/representation/index.js
index f4d482bd..55684919 100644
--- a/components/case/representation/index.js
+++ b/components/case/representation/index.js
@@ -111,8 +111,8 @@ let MakeRepresentation = (props) => {
const repDate = new Date();
- let day = repDate.getDate();
- let month = repDate.getMonth() + 1;
+ let day = ("0" + repDate.getDate()).slice(-2);
+ let month = ("0" + repDate.getMonth() + 1).slice(-2);
let year = repDate.getFullYear();
switch (values.representationCapacity) {
diff --git a/components/case/representation/representationCompleteSubmit.js b/components/case/representation/representationCompleteSubmit.js
index 0a3c45ae..6e8cc68d 100644
--- a/components/case/representation/representationCompleteSubmit.js
+++ b/components/case/representation/representationCompleteSubmit.js
@@ -509,9 +509,9 @@ const RepCompleteSubmit = (props) => {
className="govuk-button"
data-module="govuk-button"
onClick={() => {
- setRepresentationSubmitConfirmation(
- true
- );
+ // setRepresentationSubmitConfirmation(
+ // true
+ // );
setRepresentationSubmit(true);
}}
>
diff --git a/components/case/representation/representationElements.js b/components/case/representation/representationElements.js
index 307c836a..bace3666 100644
--- a/components/case/representation/representationElements.js
+++ b/components/case/representation/representationElements.js
@@ -288,7 +288,7 @@ export const RenderCondtionalRadioList = ({
e.g. "Owners of Numbers 1-5 High Street", or "Mr and Mrs
- Smith" or "The executors of Mr Evans" estate"
+ Smith" or "The executors of Mr Evans' estate"
{Object.keys(options).map((key, index) => (
@@ -341,6 +341,7 @@ export const RenderCondtionalRadioList = ({
name={id + "_details"}
component="input"
type="text"
+ validate={[required]}
/>
@@ -401,7 +402,10 @@ export const RenderLPACondtionalRadioList = ({
{typeof custom.hint != undefined && (
-
+
{t(custom.hint)}
)}
@@ -1042,7 +1046,7 @@ export const RenderFileUpload = (field) => {
return (
<>
{
{t(
"myrepresentations:fileupload-drop-label"
)}
- (Max 500MB)
+ (Max 50 MB)
(
diff --git a/components/case/representation/representationLPA.js b/components/case/representation/representationLPA.js
index 2edf9771..9b54a752 100644
--- a/components/case/representation/representationLPA.js
+++ b/components/case/representation/representationLPA.js
@@ -17,6 +17,12 @@ import RepresentationProgress_s78 from "./representationProgress/representationP
import Enforcement_Questionnaire from "./representationQuestionnaires/representationLPAQuestionnaire_enforcement";
import S78_Questionnaire from "./representationQuestionnaires/representationLPAQuestionnaire_s78";
+import {
+ setRepresentationCapacity,
+ setRepresentationSubmit,
+ setFilesForRepresentations,
+} from "../../../store/currentView/action";
+
let RepLPA = (props) => {
let { t } = useTranslation();
const router = useRouter();
@@ -39,6 +45,7 @@ let RepLPA = (props) => {
updateRepresentation,
setSavingStatus,
savingStatus,
+ setFilesForRepresentations,
} = props;
const { acceptedFiles, getRootProps, getInputProps } = useDropzone();
@@ -363,7 +370,9 @@ let RepLPA = (props) => {
].values.filesList) ||
[]
}
- setFilesForRepresentation={[]}
+ setFilesForRepresentations={
+ setFilesForRepresentations
+ }
containerID={
props.props.props.accountDetails
.containerID
@@ -583,6 +592,10 @@ RepLPA = connect((state) => {
const mapDispatchToProps = (dispatch) => ({
updateField: (form, field, newValue) =>
dispatch(change(form, field, newValue)),
+
+ setFilesForRepresentations: (fileList) => {
+ dispatch(setFilesForRepresentations(fileList));
+ },
});
const mapStateToProps = (state, props) => {
diff --git a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js
index c637919a..8b0dcd82 100644
--- a/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js
+++ b/components/case/representation/representationQuestionnairesCheck/representationLPAQuestionnaireCheck_enforcement.js
@@ -375,7 +375,7 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
<>
- 10. Has the local planning authority received
+ 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?
diff --git a/components/elements/index.js b/components/elements/index.js
index 7f000d7c..ebcbbcb2 100644
--- a/components/elements/index.js
+++ b/components/elements/index.js
@@ -2001,7 +2001,7 @@ const RenderFileUpload = (field) => {
<>
{
{t(
"newappeal:new-appeal-fileupload-drop-label"
)}{" "}
- (Max 500MB)
+ (Max 50 MB)
(
@@ -2287,6 +2287,8 @@ const RenderSubFields = ({ fields, meta: { touched, error }, ...custom }) => {
const required = (value) =>
value ? undefined : t("newappeal:is-required-label");
+ //fields.push({});
+ fields.length == 0 && fields.push({});
return (
{fields.map((member, index) => (
@@ -2342,7 +2344,7 @@ const RenderSubFields = ({ fields, meta: { touched, error }, ...custom }) => {
onClick={() => fields.push({})}
>
{subTitle == "owners"
- ? "Add Owner"
+ ? t("newappeal:new-appeal-add-owner-label")
: t("newappeal:new-appeal-add-tenant-label")}
)}
diff --git a/components/pdftemplates/enforcement_pdf.js b/components/pdftemplates/enforcement_pdf.js
index 9e2ce2c2..fc3b7031 100644
--- a/components/pdftemplates/enforcement_pdf.js
+++ b/components/pdftemplates/enforcement_pdf.js
@@ -431,7 +431,7 @@ export const EnforcementQuestionnaire_pdf = ({ docProps }) => {
10.
- Has the local planning authority
+ Has the Local Planning Authority
received the correct fee payable in
relation to this appeal for the deemed
planning application/ground (a) to be
@@ -1091,7 +1091,7 @@ export const EnforcementQuestionnaire_pdf = ({ docProps }) => {
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
+ Local Planning Authority. Development shall
be carried out in accordance with the
approved details. Reason: In the interests
of maintaining and enhancing biodiversity,
diff --git a/data/forms/enforcementlistedbuildingconservationap.js b/data/forms/enforcementlistedbuildingconservationap.js
index 07f273f3..d56bcb0a 100644
--- a/data/forms/enforcementlistedbuildingconservationap.js
+++ b/data/forms/enforcementlistedbuildingconservationap.js
@@ -2070,7 +2070,7 @@ const EnforcementListedBuildingConservationapForm = (props) => {
condition of the land from
adversely affecting the amenity
of any part of the area of the
- local planning authority who
+ Local Planning Authority who
served the notice, or of any
adjoining area.
diff --git a/data/forms/enforcementnoticeappeals174.js b/data/forms/enforcementnoticeappeals174.js
index 15e199e4..84ebeba2 100644
--- a/data/forms/enforcementnoticeappeals174.js
+++ b/data/forms/enforcementnoticeappeals174.js
@@ -2071,7 +2071,7 @@ const EnforcementNoticeAppeals174Form = (props) => {
condition of the land from
adversely affecting the amenity
of any part of the area of the
- local planning authority who
+ Local Planning Authority who
served the notice, or of any
adjoining area.
diff --git a/data/forms/maintenanceoflands217.js b/data/forms/maintenanceoflands217.js
index 0fedf59b..547de635 100644
--- a/data/forms/maintenanceoflands217.js
+++ b/data/forms/maintenanceoflands217.js
@@ -2001,7 +2001,7 @@ const MaintenanceOfLands217Form = (props) => {
condition of the land from
adversely affecting the amenity
of any part of the area of the
- local planning authority who
+ Local Planning Authority who
served the notice, or of any
adjoining area.
diff --git a/data/picklistLookups.json b/data/picklistLookups.json
index c0e6634b..4fc27598 100644
--- a/data/picklistLookups.json
+++ b/data/picklistLookups.json
@@ -1111,7 +1111,7 @@
"value_cy": "Echdynnu/Archwilio Mwynau (gan gynnwys archwilio Daearegol)"
},
{
- "value": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "value": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"value_cy": "MOL - (a) nad yw cyflwr y tir y mae'r rhybudd yn ymwneud ag ef yn effeithio'n andwyol ar amwynder unrhyw ran o ardal yr awdurdod cynllunio lleol a gyflwynodd yr hysbysiad, nac unrhyw ardal gyfagos."
},
{
@@ -1119,7 +1119,7 @@
"value_cy": "MOL - (b) bod cyflwr y tir y mae'r rhybudd yn ymwneud ag ef yn briodoladwy i, ac yn arwain at gwrs arferol digwyddiadau o ganlyniad i, gynnal gweithrediadau neu ddefnydd o dir nad yw'n mynd yn groes i Ran III."
},
{
- "value": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "value": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"value_cy": "MOL - (c) bod gofynion yr hysbysiad yn fwy na'r hyn sy'n angenrheidiol i atal cyflwr y tir rhag effeithio'n andwyol ar amwynder unrhyw ran o ardal yr awdurdod cynllunio lleol a gyflwynodd yr hysbysiad, neu unrhyw ardal gyfagos."
},
{
diff --git a/data/picklistdata/pinswg_enforcementnoticeappeals174.json b/data/picklistdata/pinswg_enforcementnoticeappeals174.json
index 8b8eb671..e788e360 100644
--- a/data/picklistdata/pinswg_enforcementnoticeappeals174.json
+++ b/data/picklistdata/pinswg_enforcementnoticeappeals174.json
@@ -4557,7 +4557,7 @@
"Label": {
"LocalizedLabels": [
{
- "Label": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "Label": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId": "f6805cc5-178e-eb11-aac2-00224800be9c",
@@ -4565,7 +4565,7 @@
}
],
"UserLocalizedLabel": {
- "Label": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "Label": "MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId": "f6805cc5-178e-eb11-aac2-00224800be9c",
@@ -4643,7 +4643,7 @@
"Label": {
"LocalizedLabels": [
{
- "Label": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "Label": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId": "fc805cc5-178e-eb11-aac2-00224800be9c",
@@ -4651,7 +4651,7 @@
}
],
"UserLocalizedLabel": {
- "Label": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.",
+ "Label": "MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the Local Planning Authority who served the notice, or of any adjoining area.",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId": "fc805cc5-178e-eb11-aac2-00224800be9c",
diff --git a/locales/cy/newappeal.json b/locales/cy/newappeal.json
index 38d2132c..a5686250 100644
--- a/locales/cy/newappeal.json
+++ b/locales/cy/newappeal.json
@@ -76,6 +76,7 @@
"new-appeal-agricultural-holding-option-yes": "(a) Nid oes unrhyw ran o’r tir y mae’r apêl yn ymwneud ag ef yn ddaliad amaethyddol, neu’n rhan o ddaliad amaethyddol",
"new-appeal-agricultural-holding-option-no": "(b) (i) Mae safle’r apêl yn ddaliad amaethyddol, neu’n rhan o ddaliad amaethyddol, a’r apelydd yw’r unig denant amaethyddol",
"new-appeal-agricultural-holding-option-NA": "(b) (ii) Mae safle’r apêl yn ddaliad amaethyddol neu’n rhan o ddaliad amaethyddol ac mae’r apelydd (neu’r asiant) wedi rhoi’r hysbysiad gofynnol i bob unigolyn (ac eithrio’r apelydd) a oedd, ar y diwrnod 21 diwrnod cyn dyddiad yr apêl, yn denant daliad amaethyddol ar y cyfan neu ran o’r tir y mae’r apêl yn ymwneud ag ef, fel y rhestrir isod:",
+ "new-appeal-add-owner-label": "Ychwanegu Perchennog",
"new-appeal-add-tenant-label": "Ychwanegu Tenant",
"new-appeal-procedure-option-virtual": "Rhithwir",
"new-appeal-procedure-option-inperson": "Wyneb yn wyneb",
diff --git a/locales/en/home.json b/locales/en/home.json
index 1d390376..a81d094e 100644
--- a/locales/en/home.json
+++ b/locales/en/home.json
@@ -34,7 +34,7 @@
"casesearch-search-validation-minlength": "Must be 4 characters or more",
"casescomment-card-title": "Comment on an appeal ",
"casescomment-card-paragraph-one": "Comment on an appeal (excluding householder or commercial) by emailing ",
- "casescomment-card-paragraph-two": "For householder and commercial appeals, interested parties are unable to comment at appeal stage. Any comments made at application stage will be provided by the local planning authority and considered by the inspector.",
+ "casescomment-card-paragraph-two": "For householder and commercial appeals, interested parties are unable to comment at appeal stage. Any comments made at application stage will be provided by the Local Planning Authority and considered by the inspector.",
"inspectorate-card-visit-label": "Visit the Planning Inspectorate",
"inspectorate-card-visit-link": "Home",
"inspectorate-card-alt-text": "The Planning Inspectorate",
diff --git a/locales/en/myrepresentations.json b/locales/en/myrepresentations.json
index 8a8d71e4..d9e793e4 100644
--- a/locales/en/myrepresentations.json
+++ b/locales/en/myrepresentations.json
@@ -86,8 +86,8 @@
"s78-section-question-24a": "The development shall begin not later than five years from the date of this decision. Reason: To comply with Section 91 of the Town and Country Planning Act 1990 / Section 18 of the Town and Country Planning (Listed Building and Conservation Areas) Act 1990.",
"s78-section-question-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.",
"s78-section-question-24b-hint": "If Yes, list the approved plans, documents and drawings here or list them in an attached document",
- "s78-section-question-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. Reason: In the interests of maintaining and enhancing biodiversity, in accordance with Future Wales Policy 9.",
- "s78-section-question-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.",
+ "s78-section-question-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. Reason: In the interests of maintaining and enhancing biodiversity, in accordance with Future Wales Policy 9.",
+ "s78-section-question-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.",
"s78-section-question-25": "Do you consider other conditions, or amended versions of the above standard conditions, to be necessary?",
"s78-section-question-25-hint": "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.",
"s78-section-heading-five": "Before sending, have you attached or provided a web link to the following:",
@@ -128,7 +128,7 @@
"enf-section-question-9": "LPA contact for site visit, hearing or inquiry arrangements",
"enf-section-question-9-hint": "If Yes, describe the health and safety issues to be considered",
"enf-section-heading-two": "Deemed Application Fee",
- "enf-section-question-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?",
+ "enf-section-question-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?",
"enf-section-question-11": "Is the appeal fee exempt?",
"enf-section-question-11-hint": "If Yes, please explain",
"enf-section-heading-three": "Planning History and Current Statuss",
@@ -173,8 +173,8 @@
"enf-section-question-31": "Review the following standard conditions and advise whether they would be necessary if permission/consent is granted (not applicable to Advertisement consent proposals)",
"enf-section-question-31a": "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.",
"enf-section-question-31a-hint": "If Yes, list the approved plans, documents and drawings here or list them in an attached document",
- "enf-section-question-31b": "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.",
- "enf-section-question-31c": "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.",
+ "enf-section-question-31b": "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.",
+ "enf-section-question-31c": "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.",
"enf-section-question-32": "Do you consider other conditions, or amended versions of the above standard conditions, to be necessary?",
"enf-section-question-32-hint": "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.",
"enf-section-heading-seven": "Before sending, have you attached or provided a web link to the following:",
diff --git a/locales/en/newappeal.json b/locales/en/newappeal.json
index 76cd044f..c19e9279 100644
--- a/locales/en/newappeal.json
+++ b/locales/en/newappeal.json
@@ -65,7 +65,7 @@
"new-appeal-introduction-warning-bullet-one": "submit your appeal within 6 months of the date of the Local Planning Authority's decision notice",
"new-appeal-introduction-warning-bullet-two": "provide all essential supporting documents within the appeal period",
"new-appeal-development-description-hint": "Enter details of the proposed development from the planning application form. If the application was revised while it was with the LPA enter details of the revised scheme and enclose a copy of the LPA’s agreement to the change.",
- "new-appeal-dateofapplication-hint": "This is the date that you submitted the original application to the local planning authority. This form is not able to process appeals with application dates older than five years. If your application was made more than five years ago then please contact the office for help.",
+ "new-appeal-dateofapplication-hint": "This is the date that you submitted the original application to the Local Planning Authority. This form is not able to process appeals with application dates older than five years. If your application was made more than five years ago then please contact the office for help.",
"new-appeal-dateoflpadecision-hint": "This is the date that the LPA issued their decision on your application. Please note, this is not the date you received the decision, rather the date written on the decision. This form is not able to process appeals with a decision date older than 6 months. If your decision was issued more than 6 months ago then you may have run out of time to appeal. Please contact the office for help.",
"new-appeal-ownership-hint": "We need to know who owns the appeal site or part of it, and that all owners know you have made an appeal. Use the guidance notes to complete this section.",
"new-appeal-ownership-option-NA": "Not applicable",
@@ -76,6 +76,7 @@
"new-appeal-agricultural-holding-option-yes": "(a) None of the land to which the appeal relates is, or is part of, an agricultural holding",
"new-appeal-agricultural-holding-option-no": "(b) (i) The appeal site is, or is part of an agricultural holding, and the appellant is the sole agricultural tenant",
"new-appeal-agricultural-holding-option-NA": "(b) (ii) The appeal site is, or is part of, an agricultural holding and the appellant (or the agent) has given the requisite notice to every person (other than the appellant) who, on the day 21 days before the date of the appeal, was a tenant of an agricultural holding on all or part of the land to which the appeal relates as listed below:",
+ "new-appeal-add-owner-label": "Add Owner",
"new-appeal-add-tenant-label": "Add Tenant",
"new-appeal-procedure-option-virtual": "Virtual",
"new-appeal-procedure-option-inperson": "In person",