welsh trans for questionnaire

This commit is contained in:
2023-11-02 10:14:32 +00:00
parent 1477ed74e4
commit 08552da757
9 changed files with 297 additions and 194 deletions
+1
View File
@@ -552,6 +552,7 @@ let MakeRepresentation = (props) => {
: isLPA
? "lpa"
: values.representationCapacity,
"locale": locale,
}));
console.log(values);
currentView.representationSubmit != true
@@ -123,7 +123,7 @@ export const RenderCondtionalRadioList = ({
...custom
}) => {
const required = (value) => (value ? undefined : "Required");
let { t } = useTranslation();
return (
<>
<div
@@ -195,32 +195,37 @@ export const RenderCondtionalRadioList = ({
{options[key]}
</label>
</div>
{value == "Yes" && options[key] == "Yes" && (
<div
className="govuk-radios__conditional "
id={"conditional-" + id}
>
{value ==
t("myrepresentations:questionnaire-yes") &&
options[key] ==
t(
"myrepresentations:questionnaire-yes"
) && (
<div
className="govuk-form-group"
key={"yes_group_" + key}
className="govuk-radios__conditional "
id={"conditional-" + id}
>
<label
className="govuk-label"
htmlFor={id + "_details"}
<div
className="govuk-form-group"
key={"yes_group_" + key}
>
Enter the name of the
company/group/organisation *
</label>
<Field
className="govuk-input govuk-!-width-one-half"
id={id + "_details"}
name={id + "_details"}
component="input"
type="text"
/>
<label
className="govuk-label"
htmlFor={id + "_details"}
>
Enter the name of the
company/group/organisation *
</label>
<Field
className="govuk-input govuk-!-width-one-half"
id={id + "_details"}
name={id + "_details"}
component="input"
type="text"
/>
</div>
</div>
</div>
)}
)}
</div>
))}
</div>
@@ -244,6 +249,8 @@ export const RenderLPACondtionalRadioList = ({
}) => {
const required = (value) => (value ? undefined : "Required");
console.log(error);
return (
<>
<div
@@ -302,7 +309,7 @@ export const RenderLPACondtionalRadioList = ({
type="radio"
className="govuk-radios__input"
value={options[key]}
validate={[required]}
validate={[eval(required)]}
/>
<label
className="govuk-label govuk-radios__label"
@@ -524,7 +531,7 @@ export const RenderDatePicker = ({
<DatePicker
{...custom}
locale={router.locale}
locale={custom.locale}
autoOk={true}
id={id}
dateFormat="dd/MM/yyyy"
@@ -323,13 +323,13 @@ let RepLPA = (props) => {
Next section
</a>
)}
{showQuestionnaireSection == 7 && (
{showQuestionnaireSection == 9 && (
<button
type="submit"
className="govuk-button"
data-module="govuk-button"
>
{t("common:continue-button")}
{t("common:continue-button")}ww
</button>
)}
{showQuestionnaireSection > 1 && (
@@ -23,8 +23,10 @@ import { select } from "xpath";
import jsonpath from "jsonpath";
import { getFormCollectionByID } from "../../../../components/utils";
let S78_Questionnaire = (props) => {
let { t } = useTranslation();
let S78_Questionnaire = async (props) => {
//let { t } = useTranslation();
let t = await getT(props.reqQuery.__nextLocale, "common");
const router = useRouter();
const { locale } = router;
@@ -953,7 +955,6 @@ let S78_Questionnaire = (props) => {
validate={[required]}
/>
</div>
<div className="govuk-form-group">
{onBehalfOfLPA}
<Field
@@ -974,11 +975,13 @@ let S78_Questionnaire = (props) => {
id="signedDate"
label={t("myrepresentations:s78-section-question-date")}
component={RenderDatePicker}
validate={[required]}
//validate={[required]}
errorMsg="Select a date"
dateStart="0"
dateEnd="1-y"
locale={locale}
/>
ss
</fieldset>
)}
</>
@@ -10,6 +10,7 @@ import ReactPDF, {
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import useTranslation from "next-translate/useTranslation";
const styles = StyleSheet.create({
page: {
+227 -153
View File
@@ -10,6 +10,21 @@ import ReactPDF, {
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import getT from "next-translate/getT";
import useTranslation from "next-translate/useTranslation";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
import jsonpath from "jsonpath";
const getTrans = (locale, key) => {
let jsonQuery = `$.${key}`;
let jsonObj = locale == "cy" ? transLookupCY : transLookupEN;
console.log(locale, jsonObj[key]);
return jsonObj[key];
};
const styles = StyleSheet.create({
page: {
@@ -87,7 +102,8 @@ const styles = StyleSheet.create({
});
export const lpaQuestionnaire_pdf = ({ docProps }) => {
console.log(docProps);
// console.log(docProps);
function formatDates(dateObj) {
var dateObj = new Date(dateObj);
var dd = String(dateObj.getDate()).padStart(2, "0");
@@ -112,7 +128,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
fontFamily: "Helvetica-Bold",
}}
>
Local Planning Authority Questionnaire
{getTrans(
docProps.locale,
"lpa-questionnaire-heading"
)}
</Text>
<View>
<Text
@@ -123,9 +142,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
fontFamily: "Helvetica-Bold",
}}
>
For Planning, Conservation area, Listed
Building and Advertisement
applications/appeals
{getTrans(
docProps.locale,
"s78-heading-para-one"
)}
</Text>
</View>
</View>
@@ -137,10 +157,7 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
<View>
<Text style={{ marginTop: 10, fontSize: 14 }}>
The LPA must send the completed questionnaire and
any attachments to PEDW.casework@gov.wales and the
appellant (or their agent) within 5 working days of
the start date specified in our start letter.
{getTrans(docProps.locale, "s78-heading-para-two")}
</Text>
</View>
<View style={styles.section}>
@@ -150,7 +167,12 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
fontFamily: "Helvetica-Bold",
}}
>
<Text style={{ fontSize: 14 }}>Case details</Text>
<Text style={{ fontSize: 14 }}>
{getTrans(
docProps.locale,
"section-heading-zero"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
<View
@@ -162,10 +184,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>1.</Text>
<Text style={styles.questionText}>
{t(
"myrepresentations:s78-section-question-1"
{getTrans(
docProps.locale,
"s78-section-question-1"
)}
:
</Text>
<Text style={styles.questionAnswer}>
{values.caseRef}
@@ -180,10 +202,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>2.</Text>
<Text style={styles.questionText}>
{t(
"myrepresentations:s78-section-question-2"
{getTrans(
docProps.locale,
"s78-section-question-2"
)}
:
</Text>
<Text style={styles.questionAnswer}>
{values.lpaRef}
@@ -198,7 +220,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>3.</Text>
<Text style={styles.questionText}>
Site address/grid ref:
{getTrans(
docProps.locale,
"s78-section-question-3"
)}
</Text>
<Text style={styles.questionAnswer}>
{values.siteAddress}
@@ -213,7 +238,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>4.</Text>
<Text style={styles.questionText}>
Case Type:
{getTrans(
docProps.locale,
"s78-section-question-4"
)}
</Text>
<Text style={styles.questionAnswer}>
{appealTypeValue.value}
@@ -229,7 +257,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
{t("myrepresentations:s78-section-heading-one")}
{getTrans(
docProps.locale,
"s78-section-heading-one"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -250,8 +281,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
5.
</Text>
<Text style={styles.questionTextMid}>
Which procedure do you consider the
appeal should follow?
{getTrans(
docProps.locale,
"s78-section-question-5"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.procedureType}
@@ -275,8 +308,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>6.</Text>
<Text style={styles.questionTextMid}>
Will the Inspector need to enter the appeal
site/property?
{getTrans(
docProps.locale,
"s78-section-question-6"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.enterToView}
@@ -299,9 +334,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
7.
</Text>
<Text style={styles.questionTextMid}>
Do you consider that the Inspector needs
to enter neighbouring private
land/property to view the site?
{getTrans(
docProps.locale,
"s78-section-question-7"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.enterNeighbouringLandToViewSite}
@@ -335,12 +371,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
8.
</Text>
<Text style={styles.questionTextMid}>
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?
{getTrans(
docProps.locale,
"s78-section-question-8"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{
@@ -375,9 +409,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
9.
</Text>
<Text style={styles.questionTextMid}>
Are you aware of any health and safety
issues which would need to be considered
when the Inspector visits the site?
{getTrans(
docProps.locale,
"s78-section-question-9"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.healthAndSafetyIssues}
@@ -410,8 +445,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
</Text>
<Text style={styles.questionTextWide}>
LPA contact for site visit, hearing or
inquiry arrangements:
{getTrans(
docProps.locale,
"s78-section-question-10"
)}
</Text>
</View>
<View style={styles.questionAnswerWide}>
@@ -430,7 +467,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
Supporting documents
{getTrans(
docProps.locale,
"s78-section-heading-two"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -443,7 +483,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>11.</Text>
<Text style={styles.questionText}>
LPA case file and representations
{getTrans(
docProps.locale,
"s78-section-question-11"
)}
</Text>
<View style={styles.questionAnswer}>
<Html style={styles.richArea}>
@@ -460,8 +503,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>12.</Text>
<Text style={styles.questionText}>
LPAs adopted local development plan and
Proposals Map
{getTrans(
docProps.locale,
"s78-section-question-12"
)}
</Text>
<View style={styles.questionAnswer}>
<Html style={styles.richArea}>
@@ -478,8 +523,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>13.</Text>
<Text style={styles.questionText}>
Adopted local guidance relevant to the
proposal:
{getTrans(
docProps.locale,
"s78-section-question-13"
)}
</Text>
<View style={styles.questionAnswer}>
<Html style={styles.richArea}>
@@ -496,8 +543,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>14.</Text>
<Text style={styles.questionTextMid}>
If applicable, do you intend to submit a
full statement at the 4- week stage?
{getTrans(
docProps.locale,
"s78-section-question-14"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.LPAintentionToSubmitFullStatement}
@@ -513,7 +562,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
Statutory considerations
{getTrans(
docProps.locale,
"s78-section-heading-three"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -526,8 +578,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>15.</Text>
<Text style={styles.questionTextMid}>
Is all or part of the site within an Area of
Outstanding Natural Beauty?
{getTrans(
docProps.locale,
"s78-section-question-15"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.AONB}
@@ -549,8 +603,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
16.
</Text>
<Text style={styles.questionTextMid}>
Does the site include any public rights
of way?
{getTrans(
docProps.locale,
"s78-section-question-16"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.ROW}
@@ -580,8 +636,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
17.
</Text>
<Text style={styles.questionTextMid}>
Is all or part of the site within a
Conservation Area?
{getTrans(
docProps.locale,
"s78-section-question-17"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.conservationArea}{" "}
@@ -611,10 +669,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
18.
</Text>
<Text style={styles.questionTextMid}>
Would the proposal involve works to, or
affect the setting of, a listed
building, Scheduled Monument or other
designated historic asset?
{getTrans(
docProps.locale,
"s78-section-question-18"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.affectListedBuilding}
@@ -646,8 +704,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
19.
</Text>
<Text style={styles.questionTextMid}>
Is any part of the site subject to a
Tree Preservation Order?
{getTrans(
docProps.locale,
"s78-section-question-19"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.TPO}
@@ -677,10 +737,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
20.
</Text>
<Text style={styles.questionTextMid}>
Is the site within or likely to affect
an International or National Designated
Site for nature conservation (as defined
in Planning Policy Wales)?
{getTrans(
docProps.locale,
"s78-section-question-20"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.natureConservationSite}
@@ -712,8 +772,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
21.
</Text>
<Text style={styles.questionTextMid}>
Are any protected species likely to be
affected by the proposal?
{getTrans(
docProps.locale,
"s78-section-question-21"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.protectedSpecies}
@@ -736,9 +798,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>22.</Text>
<Text style={styles.questionTextMid}>
Does the case involve persons claiming
Gypsy/Traveller status, whether or not this
is accepted by the LPA?
{getTrans(
docProps.locale,
"s78-section-question-22"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.gypsyTravellerInvolvment}
@@ -760,11 +823,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
23.
</Text>
<Text style={styles.questionTextMid}>
Have you received comments or directions
from any government department/agency or
statutory undertaker, including in
response to a statutory notification or
consultation?
{getTrans(
docProps.locale,
"s78-section-question-23"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.governmentDepartmentComments}
@@ -791,7 +853,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
Suggested considerations
{getTrans(
docProps.locale,
"s78-section-heading-four"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -804,11 +869,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>24.</Text>
<Text style={styles.questionTextWide}>
Review the following standard conditions and
advise whether they would be necessary if
permission/consent is granted (not
applicable to Advertisement consent
proposals):
{getTrans(
docProps.locale,
"s78-section-question-24"
)}
</Text>
</View>
<View
@@ -820,8 +884,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>a)</Text>
<Text style={styles.questionTextMid}>
The development shall begin not later than
five years from the date of this decision.
{getTrans(
docProps.locale,
"s78-section-question-24a"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{
@@ -845,14 +911,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
b)
</Text>
<Text style={styles.questionTextMid}>
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.
{getTrans(
docProps.locale,
"s78-section-question-24b"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{
@@ -880,12 +942,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>c)</Text>
<Text style={styles.questionTextMid}>
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.
{getTrans(
docProps.locale,
"s78-section-question-24c"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.developmentNotTakePlaceBiodiversity}
@@ -900,18 +960,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}>d)</Text>
<Text style={styles.questionTextMid}>
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.
{getTrans(
docProps.locale,
"s78-section-question-24d"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.developmentNotTakePlaceBroadband}
@@ -933,9 +985,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
25.
</Text>
<Text style={styles.questionTextMid}>
Do you consider other conditions, or
amended versions of the above standard
conditions, to be necessary?
{getTrans(
docProps.locale,
"s78-section-question-25"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.developmentAnyOtherConditions}
@@ -962,8 +1015,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
Before sending, have you attached or provided a
web link to:
{getTrans(
docProps.locale,
"s78-section-heading-five"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -983,9 +1038,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
26.
</Text>
<Text style={styles.questionTextMid}>
A copy of the applicants certificate
confirming that they notified persons
with an interest in the land?*
{getTrans(
docProps.locale,
"s78-section-question-26"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.copyOfApplicantsCertificate}
@@ -1016,9 +1072,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
27.
</Text>
<Text style={styles.questionTextMid}>
Evidence of any publicity given to the
application, including site notices and
local advertisement?**
{getTrans(
docProps.locale,
"s78-section-question-27"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.advertismentGiven}
@@ -1048,9 +1105,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
28.
</Text>
<Text style={styles.questionTextMid}>
A copy of the letter with which you
notified people of the appeal AND a list
of the people you notified?
{getTrans(
docProps.locale,
"s78-section-question-28"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{
@@ -1083,9 +1141,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
29.
</Text>
<Text style={styles.questionTextMid}>
The LPAs Environmental Impact
Assessment Screening Opinion, if
applicable?
{getTrans(
docProps.locale,
"s78-section-question-29"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.lpaEIAOS}
@@ -1116,9 +1175,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
30.
</Text>
<Text style={styles.questionTextMid}>
Advertisement consent proposals only: A
true copy of the Discontinuance Notice
(if one has been issued)?
{getTrans(
docProps.locale,
"s78-section-question-30"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{
@@ -1154,10 +1214,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
31.
</Text>
<Text style={styles.questionTextMid}>
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?
{getTrans(
docProps.locale,
"s78-section-question-31"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.detailsOfOtherAppeals}
@@ -1190,9 +1250,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
32.
</Text>
<Text style={styles.questionTextMid}>
Details of any previous appeal decision
relating to the site or a nearby site
referred to by the LPA or applicant?
{getTrans(
docProps.locale,
"s78-section-question-32"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.detailsOfPreviousAppeals}
@@ -1225,8 +1286,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
33.
</Text>
<Text style={styles.questionTextMid}>
Any other relevant information that we
should know about?
{getTrans(
docProps.locale,
"s78-section-question-33"
)}
</Text>
<Text style={styles.questionAnswerMid}>
{values.otherRelevantInformation}
@@ -1251,7 +1314,13 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
fontFamily: "Helvetica-Bold",
}}
>
<Text>Declaration</Text>
<Text>
{" "}
{getTrans(
docProps.locale,
"s78-section-heading-seven"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
<View
@@ -1271,7 +1340,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
<Text
style={{ width: "40%", fontSize: 12 }}
>
Signed:
{getTrans(
docProps.locale,
"s78-section-question-signed"
)}
</Text>
<Text style={styles.questionAnswer}>
{values.caseOfficer}
@@ -1285,7 +1357,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={styles.questionText}>
Date:
{getTrans(
docProps.locale,
"s78-section-question-date"
)}
</Text>
<Text style={styles.questionAnswer}>
{formatDates(values.signedDate)}
@@ -1300,7 +1375,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ width: "18%", fontSize: 12 }}>
On behalf of:
{getTrans(
docProps.locale,
"s78-section-question-onbehalf"
)}
</Text>
<Text style={styles.questionAnswerWide}>
{values.onBehalfOfLPA}
@@ -1315,7 +1393,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
}}
>
<Text style={{ fontSize: 14 }}>
Supporting documents
{getTrans(
docProps.locale,
"lpa-list-supporting-documents-heading"
)}
</Text>
</View>
<View style={styles.sectionContainer}>
@@ -1328,7 +1409,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
>
<Text style={styles.questionBullet}></Text>
<Text style={styles.questionText}>
List of attached files
{getTrans(
docProps.locale,
"lpa-list-supporting-documents-list"
)}
</Text>
<View
style={[
@@ -1362,20 +1446,10 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
</View>
<View style={{ marginTop: 50, fontSize: 12 }}>
<Text>
* Article 11 of The Town and Country Planning
(Development Management Procedure) (Wales) Order
2012; Regulation 7 of The Town and Country
Planning (Listed Buildings and Conservation
Areas) (Wales) Regulations 2012
{getTrans(docProps.locale, "s78-footnote-one")}
</Text>
<Text style={{ marginTop: 20 }}>
** Article 12 of The Town and Country Planning
(Development Management Procedure) (Wales) Order
2012; Section 67/73 of The Town and Country
Planning (Listed Buildings and Conservation
Areas) Act 1990; Regulation 10 of The Town and
Country Planning (Listed Buildings and
Conservation Areas) (Wales) Regulations 2012
{getTrans(docProps.locale, "s78-footnote-two")}{" "}
</Text>
</View>
</View>