Merged PR 1113: updated pdf for tenants array
updated pdf for tenants array Related work items: #10708
This commit is contained in:
@@ -464,44 +464,52 @@ export const AppealRow_pdf = (props) => {
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
{props.props[
|
||||
{props.props.hasOwnProperty(
|
||||
datafieldname[0].value
|
||||
].map((tenant, index) => {
|
||||
return (
|
||||
<View
|
||||
key={index}
|
||||
style={{
|
||||
flexDirection:
|
||||
"row",
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={{
|
||||
width: "50%",
|
||||
paddingRight:
|
||||
"20",
|
||||
}}
|
||||
>
|
||||
{
|
||||
tenant.pinswg_agriculturaltenantname
|
||||
}
|
||||
</Text>
|
||||
) &&
|
||||
props.props[
|
||||
datafieldname[0]
|
||||
.value
|
||||
].map(
|
||||
(tenant, index) => {
|
||||
return (
|
||||
<View
|
||||
key={
|
||||
index
|
||||
}
|
||||
style={{
|
||||
flexDirection:
|
||||
"row",
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={{
|
||||
width: "50%",
|
||||
paddingRight:
|
||||
"20",
|
||||
}}
|
||||
>
|
||||
{
|
||||
tenant.pinswg_agriculturaltenantname
|
||||
}
|
||||
</Text>
|
||||
|
||||
<Text
|
||||
style={{
|
||||
width: "40%",
|
||||
}}
|
||||
>
|
||||
Notice
|
||||
served:{" "}
|
||||
{formatDate(
|
||||
tenant.dateserved
|
||||
)}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
})}
|
||||
<Text
|
||||
style={{
|
||||
width: "40%",
|
||||
}}
|
||||
>
|
||||
Notice
|
||||
served:{" "}
|
||||
{formatDate(
|
||||
tenant.dateserved
|
||||
)}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user