Display minimum rent

This commit is contained in:
Niklas Meinzer
2024-09-28 21:44:33 +02:00
parent 65164d7f55
commit 302c8c3f4f

View File

@@ -159,6 +159,14 @@ export function FlatDetailsCard({ flat, room }) {
</Text> </Text>
<Text pt={3} size='s' fontWeight='bold'>Gesamt: {totalSizeToPay.toFixed(2)} </Text> <Text pt={3} size='s' fontWeight='bold'>Gesamt: {totalSizeToPay.toFixed(2)} </Text>
</Box> </Box>
<Box>
<Heading size='xs' textTransform='uppercase'>
Mindestmiete
</Heading>
<Text pt='2' fontSize='m' fontWeight='bold'>
{((sizePrivate + internalAreaShare) * minRent + 50).toFixed(2)}
</Text>
</Box>
</Stack> </Stack>
</CardBody>; </CardBody>;