2024-07-08 20:14:34 +05:30
|
|
|
import {
|
2024-07-09 12:25:52 +05:30
|
|
|
Box,
|
2024-07-08 20:14:34 +05:30
|
|
|
Button,
|
2024-07-09 12:25:52 +05:30
|
|
|
Input,
|
2024-07-08 20:14:34 +05:30
|
|
|
Modal,
|
|
|
|
|
ModalBody,
|
|
|
|
|
ModalCloseButton,
|
|
|
|
|
ModalContent,
|
|
|
|
|
ModalFooter,
|
|
|
|
|
ModalHeader,
|
|
|
|
|
ModalOverlay,
|
2024-07-09 12:25:52 +05:30
|
|
|
Text,
|
|
|
|
|
Textarea,
|
2024-07-08 20:14:34 +05:30
|
|
|
} from "@chakra-ui/react";
|
|
|
|
|
|
|
|
|
|
const AmountInvested = ({ isOpen, onClose }) => {
|
|
|
|
|
return (
|
|
|
|
|
<Modal isOpen={isOpen} onClose={onClose}>
|
|
|
|
|
<ModalOverlay />
|
|
|
|
|
<ModalContent>
|
2024-07-09 12:25:52 +05:30
|
|
|
<ModalHeader>Amount Invested</ModalHeader>
|
2024-07-08 20:14:34 +05:30
|
|
|
<ModalCloseButton />
|
|
|
|
|
<ModalBody>
|
2024-07-09 12:25:52 +05:30
|
|
|
<Box mb={"15px"}>
|
|
|
|
|
<Text as={"label"} fontSize={"sm"} fontWeight={"bold"}>
|
|
|
|
|
Date
|
|
|
|
|
</Text>
|
|
|
|
|
<Input
|
|
|
|
|
placeholder="Select Date"
|
|
|
|
|
size="md"
|
|
|
|
|
type="date"
|
|
|
|
|
fontSize={"sm"}
|
|
|
|
|
/>
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box mb={"15px"} fontSize={"sm"} fontWeight={"bold"}>
|
|
|
|
|
<Text as={"label"}>Amount</Text>
|
|
|
|
|
<Input placeholder="Enter amount" fontSize={"sm"} />
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box mb={"15px"}>
|
|
|
|
|
<Text as={"label"} fontSize={"sm"} fontWeight={"bold"}>
|
|
|
|
|
Comments
|
|
|
|
|
</Text>
|
|
|
|
|
<Textarea placeholder="Write Comments" fontSize={"sm"} />
|
|
|
|
|
</Box>
|
2024-07-08 20:14:34 +05:30
|
|
|
</ModalBody>
|
|
|
|
|
<ModalFooter>
|
2024-07-09 12:25:52 +05:30
|
|
|
<Button
|
|
|
|
|
bg={"hsla(139, 100%, 14%, 1)"}
|
|
|
|
|
mr={3}
|
|
|
|
|
color={"#fff"}
|
|
|
|
|
_hover={{
|
|
|
|
|
bg: "hsl(139deg 98.99% 26.59%)",
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</Button>
|
|
|
|
|
<Button mr={3} onClick={onClose}>
|
2024-07-08 20:14:34 +05:30
|
|
|
Close
|
|
|
|
|
</Button>
|
|
|
|
|
</ModalFooter>
|
|
|
|
|
</ModalContent>
|
|
|
|
|
</Modal>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default AmountInvested;
|