Skip to content
Snippets Groups Projects
Commit c7ac3078 authored by DmitriiPetrov's avatar DmitriiPetrov
Browse files

MP-143 Admin - Advance rent - no data in the Agreed T&Cs field

(cherry picked from commit bf75062c)
parent f7d976ce
Branches release/v0.29
Tags b0.29.1
No related merge requests found
......@@ -102,11 +102,8 @@ export const ListItem: FC<Props> = ({
<Td colSpan={2}>{formatPrice(totalAmount)}</Td>
<Td colSpan={2}>{formatPrice(feeValue)}</Td>
<Td colSpan={2}>
{Boolean(record.type?.income?.advance?.created_at)
? format(
new Date(record.type.income?.advance?.created_at as string),
"DD MMM yyyy"
)
{Boolean(record.created)
? format(new Date(record.created as string), "dd MMM yyyy")
: "- - -"}
</Td>
<Td colSpan={2}>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment