removed temporary ref from pdf

This commit is contained in:
2024-12-12 14:09:32 +00:00
parent e608a3e55e
commit d8e668ff99
@@ -179,46 +179,57 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
/>
</View>
{Object.keys(titles).map((key) => (
<View key={key}>
<View
style={{
marginTop: 10,
fontFamily: "Helvetica-Bold",
}}
>
<Text style={{ fontSize: 14 }}>
{parseInt(key) + 1} {titles[key].value}
</Text>
<View style={styles.sectionContainer}>
{Object.keys(titles).map(
(key) =>
key != 0 && (
<View key={key}>
<View
style={{
flexDirection: "row",
marginBottom: 10,
marginTop: 10,
fontFamily: "Helvetica-Bold",
}}
>
<View
style={{
flexDirection: "column",
marginBottom: 10,
}}
>
<AppealRow_pdf
formXML={xmlStr}
whichSection={parseInt(key) + 1}
sectionCount={key}
props={docProps}
key={key}
mandatoryFieldsData={null}
pickListData={pickListData}
filesList={values.filesList}
/>
<Text style={{ fontSize: 14 }}>
{parseInt(key)} {titles[key].value}
</Text>
<View style={styles.sectionContainer}>
<View
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<View
style={{
flexDirection: "column",
marginBottom: 10,
}}
>
<AppealRow_pdf
formXML={xmlStr}
whichSection={
parseInt(key) + 1
}
sectionCount={key}
props={docProps}
key={key}
mandatoryFieldsData={
null
}
pickListData={
pickListData
}
filesList={
values.filesList
}
/>
</View>
</View>
</View>
</View>
</View>
</View>
</View>
))}
)
)}
</View>
<Text
style={styles.pageNumber}