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>
{Object.keys(titles).map((key) => (
{Object.keys(titles).map(
(key) =>
key != 0 && (
<View key={key}>
<View
style={{
@@ -188,7 +190,7 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
}}
>
<Text style={{ fontSize: 14 }}>
{parseInt(key) + 1} {titles[key].value}
{parseInt(key)} {titles[key].value}
</Text>
<View style={styles.sectionContainer}>
<View
@@ -205,20 +207,29 @@ export const planningappeals78_pdf = ({ docProps, pickListData }) => {
>
<AppealRow_pdf
formXML={xmlStr}
whichSection={parseInt(key) + 1}
whichSection={
parseInt(key) + 1
}
sectionCount={key}
props={docProps}
key={key}
mandatoryFieldsData={null}
pickListData={pickListData}
filesList={values.filesList}
mandatoryFieldsData={
null
}
pickListData={
pickListData
}
filesList={
values.filesList
}
/>
</View>
</View>
</View>
</View>
</View>
))}
)
)}
</View>
<Text
style={styles.pageNumber}