fixed bugs reports
This commit is contained in:
@@ -25,7 +25,7 @@ const ReferredCharts = ({reportList}) => {
|
||||
</Box>
|
||||
<Grid container sx={{width: "100%"}}>
|
||||
{innerObject.map((item, index) => {
|
||||
let percentage = item.total_amount !== 0 ? item.total_amount / innerObject.total_budget * 100 : 0;
|
||||
let percentage = item.total_budget !== 0 ? item.total_amount / item.total_budget * 100 : 0;
|
||||
return (
|
||||
<Grid key={index} item xs={12} md={6} sx={{textAlign: "center"}}>
|
||||
<Box>
|
||||
|
||||
Reference in New Issue
Block a user