This commit is contained in:
2024-08-22 14:43:57 +05:30
parent afb538cc22
commit d009848068
3 changed files with 5 additions and 2 deletions

View File

@@ -85,10 +85,10 @@ import { formatDatee } from "../../../Components/FormField";
});
handleClose()
}else if(res?.error?.status === 400){
setIsLoading(false);
toast({
render: () => <ToastBox message={res?.error?.data?.message } status={"error"} />,
});
handleClose()
}
@@ -110,6 +110,7 @@ import { formatDatee } from "../../../Components/FormField";
};
const handleClose = () => {
setIsLoading(false);
setAlert(false)
onClose()
reset({

View File

@@ -183,6 +183,8 @@ const IONAVDetails = () => {
<Pagination totalItems={10} />
</HStack> */}
{IODetails?.isInvestedAmount ? <Button onClick={onOpen} leftIcon={<AddIcon/>} colorScheme="forestGreen" size={'sm'} rounded={'sm'} fontSize={'xs'} >Add IO Cash</Button>:null}
</HStack>
</Box>

View File

@@ -108,7 +108,7 @@ const ViewIOdetails = () => {
descriptionArabic: IObyID?.data?.descriptionArabic,
goalAmount: removeTrailingZeros(IObyID?.data?.goalAmount),
closingDate: IObyID?.data?.closingDate,
holdingPeriod: IObyID?.data?.holdingPeriod,
holdingPeriod: IObyID?.dpata?.holdingPeriod,
ISIN: IObyID?.data?.ISIN,
comment: IObyID?.data?.comment,
expectedReturn: IObyID?.data?.expectedReturn,