2024-07-08 20:14:34 +05:30
|
|
|
import {
|
|
|
|
|
Box,
|
|
|
|
|
Button,
|
2024-07-09 19:05:08 +05:30
|
|
|
FormControl,
|
|
|
|
|
FormLabel,
|
2024-07-08 20:14:34 +05:30
|
|
|
Input,
|
|
|
|
|
Modal,
|
|
|
|
|
ModalBody,
|
|
|
|
|
ModalCloseButton,
|
|
|
|
|
ModalContent,
|
|
|
|
|
ModalFooter,
|
|
|
|
|
ModalHeader,
|
|
|
|
|
ModalOverlay,
|
|
|
|
|
Text,
|
|
|
|
|
Textarea,
|
|
|
|
|
} from "@chakra-ui/react";
|
|
|
|
|
|
|
|
|
|
const UpdateIONav = ({ isOpen, onClose }) => {
|
|
|
|
|
return (
|
|
|
|
|
<Modal isOpen={isOpen} onClose={onClose}>
|
|
|
|
|
<ModalOverlay />
|
|
|
|
|
<ModalContent>
|
2024-07-30 13:30:34 +05:30
|
|
|
<ModalHeader fontSize={'md'}>Update iO NAV Transaction</ModalHeader>
|
2024-07-08 20:14:34 +05:30
|
|
|
<ModalCloseButton />
|
|
|
|
|
<ModalBody>
|
2024-07-09 19:05:08 +05:30
|
|
|
<FormControl mb={"15px"}>
|
|
|
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>
|
2024-07-08 20:14:34 +05:30
|
|
|
Date
|
2024-07-09 19:05:08 +05:30
|
|
|
</FormLabel>
|
2024-07-08 20:14:34 +05:30
|
|
|
<Input
|
|
|
|
|
placeholder="Select Date"
|
2024-07-09 19:05:08 +05:30
|
|
|
size="sm"
|
|
|
|
|
rounded={'sm'}
|
2024-07-08 20:14:34 +05:30
|
|
|
fontSize={"sm"}
|
2024-07-09 19:05:08 +05:30
|
|
|
focusBorderColor="forestGreen.300"
|
|
|
|
|
type="date"
|
2024-07-08 20:14:34 +05:30
|
|
|
/>
|
2024-07-09 19:05:08 +05:30
|
|
|
</FormControl>
|
2024-07-08 20:14:34 +05:30
|
|
|
|
2024-07-09 19:05:08 +05:30
|
|
|
<FormControl mb={"15px"} >
|
|
|
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>Amount</FormLabel>
|
|
|
|
|
<Input
|
|
|
|
|
size="sm"
|
|
|
|
|
rounded={'sm'}
|
|
|
|
|
textAlign={'end'}
|
|
|
|
|
focusBorderColor="forestGreen.300"
|
|
|
|
|
fontSize={"sm"} placeholder="$00.00" />
|
|
|
|
|
</FormControl>
|
2024-07-08 20:14:34 +05:30
|
|
|
|
2024-07-09 19:05:08 +05:30
|
|
|
<FormControl mb={"15px"}>
|
|
|
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>
|
2024-07-08 20:14:34 +05:30
|
|
|
Comments
|
2024-07-09 19:05:08 +05:30
|
|
|
</FormLabel>
|
|
|
|
|
<Textarea
|
|
|
|
|
size="sm"
|
|
|
|
|
rounded={'sm'}
|
|
|
|
|
focusBorderColor="forestGreen.300"
|
|
|
|
|
fontSize={"sm"} placeholder="Write Comments" />
|
|
|
|
|
</FormControl>
|
2024-07-08 20:14:34 +05:30
|
|
|
</ModalBody>
|
|
|
|
|
<ModalFooter>
|
|
|
|
|
<Button
|
|
|
|
|
bg={"hsla(139, 100%, 14%, 1)"}
|
|
|
|
|
mr={3}
|
|
|
|
|
color={"#fff"}
|
|
|
|
|
_hover={{
|
|
|
|
|
bg: "hsl(139deg 98.99% 26.59%)",
|
|
|
|
|
}}
|
2024-07-09 19:05:08 +05:30
|
|
|
size={'sm'}
|
|
|
|
|
rounded={"sm"}
|
2024-07-08 20:14:34 +05:30
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</Button>
|
2024-07-09 19:05:08 +05:30
|
|
|
<Button
|
|
|
|
|
size={'sm'}
|
|
|
|
|
rounded={"sm"} mr={3} onClick={onClose}>
|
2024-07-08 20:14:34 +05:30
|
|
|
Close
|
|
|
|
|
</Button>
|
|
|
|
|
</ModalFooter>
|
|
|
|
|
</ModalContent>
|
|
|
|
|
</Modal>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default UpdateIONav;
|