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
+16 -3
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,6 +448,10 @@ export const finalComments_pdf = ({ docProps }) => {
</Text> </Text>
</View> </View>
</View> </View>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
) ? (
<View <View
wrap={false} wrap={false}
style={{ style={{
@@ -455,7 +459,9 @@ export const finalComments_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={{ width: "18%", fontSize: 12 }}> <Text
style={{ width: "18%", fontSize: 12 }}
>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
"statement-onbehalf-label" "statement-onbehalf-label"
@@ -463,9 +469,16 @@ export const finalComments_pdf = ({ docProps }) => {
: :
</Text> </Text>
<Text style={styles.questionAnswerWide}> <Text style={styles.questionAnswerWide}>
{values.representationCapacity} {values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text> </Text>
</View> </View>
) : (
""
)}
</View> </View>
</View> </View>
</View> </View>
+14 -2
View File
@@ -441,6 +441,9 @@ export const statement_pdf = ({ docProps }) => {
</Text> </Text>
</View> </View>
</View> </View>
{values.hasOwnProperty(
"representationOnBehalfOf_details"
) ? (
<View <View
wrap={false} wrap={false}
style={{ style={{
@@ -448,7 +451,9 @@ export const statement_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={{ width: "18%", fontSize: 12 }}> <Text
style={{ width: "18%", fontSize: 12 }}
>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
"statement-onbehalf-label" "statement-onbehalf-label"
@@ -456,9 +461,16 @@ export const statement_pdf = ({ docProps }) => {
: :
</Text> </Text>
<Text style={styles.questionAnswerWide}> <Text style={styles.questionAnswerWide}>
{values.representationCapacity} {values.hasOwnProperty(
"representationOnBehalfOf_details"
)
? values.representationOnBehalfOf_details
: ""}
</Text> </Text>
</View> </View>
) : (
""
)}
</View> </View>
</View> </View>
</View> </View>