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> </View>
{Object.keys(titles).map((key) => ( {Object.keys(titles).map(
<View key={key}> (key) =>
<View key != 0 && (
style={{ <View key={key}>
marginTop: 10,
fontFamily: "Helvetica-Bold",
}}
>
<Text style={{ fontSize: 14 }}>
{parseInt(key) + 1} {titles[key].value}
</Text>
<View style={styles.sectionContainer}>
<View <View
style={{ style={{
flexDirection: "row", marginTop: 10,
marginBottom: 10, fontFamily: "Helvetica-Bold",
}} }}
> >
<View <Text style={{ fontSize: 14 }}>
style={{ {parseInt(key)} {titles[key].value}
flexDirection: "column", </Text>
marginBottom: 10, <View style={styles.sectionContainer}>
}} <View
> style={{
<AppealRow_pdf flexDirection: "row",
formXML={xmlStr} marginBottom: 10,
whichSection={parseInt(key) + 1} }}
sectionCount={key} >
props={docProps} <View
key={key} style={{
mandatoryFieldsData={null} flexDirection: "column",
pickListData={pickListData} marginBottom: 10,
filesList={values.filesList} }}
/> >
<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>
</View> )
</View> )}
))}
</View> </View>
<Text <Text
style={styles.pageNumber} style={styles.pageNumber}