Skip to content

Commit

Permalink
Merge pull request #32 from Itera/orderConfirmation
Browse files Browse the repository at this point in the history
added room number, place and email
  • Loading branch information
Handere authored Aug 24, 2023
2 parents 729d216 + 53a7d6a commit b5ec6f4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions spa/web/src/pages/ConfirmationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ConfirmationPage = () => {
<Box m="0 auto">
<Card>
<CardHeader>
<Heading size='md'>Order Confirmation {room?.roomNumber}</Heading>
<Heading size='md'>Order Confirmation for room {room?.roomNumber}</Heading>
</CardHeader>

<CardBody>
Expand All @@ -89,20 +89,23 @@ const ConfirmationPage = () => {
</Box>
<Box>
<Heading size='xs' textTransform='uppercase'>
Place
Time
</Heading>
<Text pt='2' fontSize='sm'>
Check out the place of treatment: {location.state.place}
Your treatment is scheduled to start {location.state.time}
</Text>
</Box>
<Box>
<Heading size='xs' textTransform='uppercase'>
Time
Place
</Heading>
<Text pt='2' fontSize='sm'>
Your treatment is scheduled to start {location.state.time}
{location.state.treatment} is located in {location.state.place}
</Text>
</Box>
<Box>
Order confirmation has been sent to {account?.username}
</Box>
</Stack>
</CardBody>
</Card>
Expand Down

0 comments on commit b5ec6f4

Please sign in to comment.