create rep pdf tweaks prior to multi types matrix
This commit is contained in:
@@ -103,7 +103,7 @@ export const other_pdf = ({ docProps }) => {
|
||||
|
||||
let datestr = values.pinswg_name.split("-");
|
||||
let signedDate = datestr[2] + "/" + datestr[1] + "/" + datestr[0];
|
||||
let appealTypeValue = getFormCollectionByID(values.appealType);
|
||||
const isLPA = values.representationCapacity == "lpa" ? true : false;
|
||||
|
||||
return (
|
||||
<Document>
|
||||
@@ -128,9 +128,13 @@ export const other_pdf = ({ docProps }) => {
|
||||
fontFamily: "Helvetica-Bold",
|
||||
}}
|
||||
>
|
||||
For Planning, Conservation area, Listed
|
||||
Building and Advertisement
|
||||
applications/appeals
|
||||
For Planning Appeal, Planning Conditions,
|
||||
Listed Building and Conservation Area
|
||||
Appeal, Lawful Development Appeal, Planning
|
||||
Obligations, Community Infrastructure Levy,
|
||||
Enforcement Notice appeal, Enforcement
|
||||
Listed Building Appeal, Maintenance of land,
|
||||
Called in Application applications/appeals
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
@@ -199,7 +203,10 @@ export const other_pdf = ({ docProps }) => {
|
||||
Case Type:
|
||||
</Text>
|
||||
<Text style={styles.questionAnswer}>
|
||||
{appealTypeValue.value}
|
||||
{
|
||||
getFormCollectionByID(values.appealType)
|
||||
.value
|
||||
}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
@@ -342,20 +349,24 @@ export const other_pdf = ({ docProps }) => {
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ width: "18%", fontSize: 12 }}>
|
||||
On behalf of:
|
||||
</Text>
|
||||
<Text style={styles.questionAnswerWide}>
|
||||
{values.representationCapacity}
|
||||
</Text>
|
||||
</View>
|
||||
{isLPA && (
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={{ width: "18%", fontSize: 12 }}
|
||||
>
|
||||
On behalf of:
|
||||
</Text>
|
||||
<Text style={styles.questionAnswerWide}>
|
||||
{values.representationCapacity}
|
||||
</Text>
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user