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>
<Text style={styles.questionAnswer}> <Text style={styles.questionAnswer}>
{values.siteAddress} {values.siteAddress.replace(/false/gm, " ")}
</Text> </Text>
</View> </View>
<View <View
@@ -448,24 +448,37 @@ export const finalComments_pdf = ({ docProps }) => {
</Text> </Text>
</View> </View>
</View> </View>
<View
wrap={false} {values.hasOwnProperty(
style={{ "representationOnBehalfOf_details"
flexDirection: "row", ) ? (
marginBottom: 10, <View
}} wrap={false}
> style={{
<Text style={{ width: "18%", fontSize: 12 }}> flexDirection: "row",
{getTrans( marginBottom: 10,
docProps.locale, }}
"statement-onbehalf-label" >
)} <Text
: style={{ width: "18%", fontSize: 12 }}
</Text> >
<Text style={styles.questionAnswerWide}> {getTrans(
{values.representationCapacity} docProps.locale,
</Text> "statement-onbehalf-label"
</View> )}
:
</Text>
<Text style={styles.questionAnswerWide}>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text>
</View>
) : (
""
)}
</View> </View>
</View> </View>
</View> </View>
+30 -18
View File
@@ -441,24 +441,36 @@ export const statement_pdf = ({ docProps }) => {
</Text> </Text>
</View> </View>
</View> </View>
<View {values.hasOwnProperty(
wrap={false} "representationOnBehalfOf_details"
style={{ ) ? (
flexDirection: "row", <View
marginBottom: 10, wrap={false}
}} style={{
> flexDirection: "row",
<Text style={{ width: "18%", fontSize: 12 }}> marginBottom: 10,
{getTrans( }}
docProps.locale, >
"statement-onbehalf-label" <Text
)} style={{ width: "18%", fontSize: 12 }}
: >
</Text> {getTrans(
<Text style={styles.questionAnswerWide}> docProps.locale,
{values.representationCapacity} "statement-onbehalf-label"
</Text> )}
</View> :
</Text>
<Text style={styles.questionAnswerWide}>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text>
</View>
) : (
""
)}
</View> </View>
</View> </View>
</View> </View>