update pdf templates with attched docs

This commit is contained in:
2023-09-26 13:39:23 +01:00
parent b56f73d854
commit 2ce248fba8
10 changed files with 367 additions and 185 deletions
@@ -193,8 +193,7 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
Site address/grid ref:
</Text>
<Text style={styles.questionAnswer}>
123 Big Street, Small Town, Little County,
XD23 54X
{values.siteAddress}
</Text>
</View>
<View
@@ -209,7 +208,7 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
Case Type:
</Text>
<Text style={styles.questionAnswer}>
Planning applicaiton (s78)
{appealTypeValue.value}
</Text>
</View>
</View>
@@ -1300,6 +1299,57 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
</Text>
</View>
</View>
<View>
<View
style={{
marginTop: 10,
fontFamily: "Helvetica-Bold",
}}
>
<Text style={{ fontSize: 14 }}>
Supporting documents
</Text>
</View>
<View style={styles.sectionContainer}>
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text style={styles.questionBullet}></Text>
<Text style={styles.questionText}>
List of attached files
</Text>
<View
style={[
styles.questionAnswer,
{ flexDirection: "column" },
]}
>
{values.filesList.map(function (p) {
return (
<View
style={{
flexDirection: "row",
marginBottom: 4,
}}
>
<Text
styles={
styles.questionTextMid
}
>
{p.name} - {p.size}
</Text>
</View>
);
})}
</View>
</View>
</View>
</View>
<View style={{ marginTop: 50, fontSize: 12 }}>
<Text>
* Article 11 of The Town and Country Planning