re defect 31

This commit is contained in:
2025-01-03 10:26:00 +00:00
parent 714470faaa
commit 81c074245f
2 changed files with 62 additions and 37 deletions
+32 -19
View File
@@ -257,7 +257,7 @@ export const finalComments_pdf = ({ docProps }) => {
:
</Text>
<Text style={styles.questionAnswer}>
{values.siteAddress}
{values.siteAddress.replace(/false/gm, " ")}
</Text>
</View>
<View
@@ -448,24 +448,37 @@ export const finalComments_pdf = ({ docProps }) => {
</Text>
</View>
</View>
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text style={{ width: "18%", fontSize: 12 }}>
{getTrans(
docProps.locale,
"statement-onbehalf-label"
)}
:
</Text>
<Text style={styles.questionAnswerWide}>
{values.representationCapacity}
</Text>
</View>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
) ? (
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text
style={{ width: "18%", fontSize: 12 }}
>
{getTrans(
docProps.locale,
"statement-onbehalf-label"
)}
:
</Text>
<Text style={styles.questionAnswerWide}>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text>
</View>
) : (
""
)}
</View>
</View>
</View>
+30 -18
View File
@@ -441,24 +441,36 @@ export const statement_pdf = ({ docProps }) => {
</Text>
</View>
</View>
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text style={{ width: "18%", fontSize: 12 }}>
{getTrans(
docProps.locale,
"statement-onbehalf-label"
)}
:
</Text>
<Text style={styles.questionAnswerWide}>
{values.representationCapacity}
</Text>
</View>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
) ? (
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text
style={{ width: "18%", fontSize: 12 }}
>
{getTrans(
docProps.locale,
"statement-onbehalf-label"
)}
:
</Text>
<Text style={styles.questionAnswerWide}>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text>
</View>
) : (
""
)}
</View>
</View>
</View>