removed temporary ref from pdf

This commit is contained in:
2024-12-12 14:09:32 +00:00
parent e608a3e55e
commit d8e668ff99
@@ -179,7 +179,9 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
/> />
</View> </View>
{Object.keys(titles).map((key) => ( {Object.keys(titles).map(
(key) =>
key != 0 && (
<View key={key}> <View key={key}>
<View <View
style={{ style={{
@@ -188,7 +190,7 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
}} }}
> >
<Text style={{ fontSize: 14 }}> <Text style={{ fontSize: 14 }}>
{parseInt(key) + 1} {titles[key].value} {parseInt(key)} {titles[key].value}
</Text> </Text>
<View style={styles.sectionContainer}> <View style={styles.sectionContainer}>
<View <View
@@ -205,20 +207,29 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
> >
<AppealRow_pdf <AppealRow_pdf
formXML={xmlStr} formXML={xmlStr}
whichSection={parseInt(key) + 1} whichSection={
parseInt(key) + 1
}
sectionCount={key} sectionCount={key}
props={docProps} props={docProps}
key={key} key={key}
mandatoryFieldsData={null} mandatoryFieldsData={
pickListData={pickListData} null
filesList={values.filesList} }
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}