re defect 31
This commit is contained in:
@@ -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,6 +448,10 @@ export const finalComments_pdf = ({ docProps }) => {
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
{values.hasOwnProperty(
|
||||
"representationOnBehalfOf_details"
|
||||
) ? (
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
@@ -455,7 +459,9 @@ export const finalComments_pdf = ({ docProps }) => {
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ width: "18%", fontSize: 12 }}>
|
||||
<Text
|
||||
style={{ width: "18%", fontSize: 12 }}
|
||||
>
|
||||
{getTrans(
|
||||
docProps.locale,
|
||||
"statement-onbehalf-label"
|
||||
@@ -463,9 +469,16 @@ export const finalComments_pdf = ({ docProps }) => {
|
||||
:
|
||||
</Text>
|
||||
<Text style={styles.questionAnswerWide}>
|
||||
{values.representationCapacity}
|
||||
{values.hasOwnProperty(
|
||||
"representationOnBehalfOf_details"
|
||||
)
|
||||
? values.representationOnBehalfOf_details
|
||||
: ""}
|
||||
</Text>
|
||||
</View>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
@@ -441,6 +441,9 @@ export const statement_pdf = ({ docProps }) => {
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
{values.hasOwnProperty(
|
||||
"representationOnBehalfOf_details"
|
||||
) ? (
|
||||
<View
|
||||
wrap={false}
|
||||
style={{
|
||||
@@ -448,7 +451,9 @@ export const statement_pdf = ({ docProps }) => {
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text style={{ width: "18%", fontSize: 12 }}>
|
||||
<Text
|
||||
style={{ width: "18%", fontSize: 12 }}
|
||||
>
|
||||
{getTrans(
|
||||
docProps.locale,
|
||||
"statement-onbehalf-label"
|
||||
@@ -456,9 +461,16 @@ export const statement_pdf = ({ docProps }) => {
|
||||
:
|
||||
</Text>
|
||||
<Text style={styles.questionAnswerWide}>
|
||||
{values.representationCapacity}
|
||||
{values.hasOwnProperty(
|
||||
"representationOnBehalfOf_details"
|
||||
)
|
||||
? values.representationOnBehalfOf_details
|
||||
: ""}
|
||||
</Text>
|
||||
</View>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user