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