diff --git a/src/admin/components/ResourceTabs/InformationTab/components/ProjectInformationAside/HighLevelMetrics.tsx b/src/admin/components/ResourceTabs/InformationTab/components/ProjectInformationAside/HighLevelMetrics.tsx index ee72b1cfe..a07351a8b 100644 --- a/src/admin/components/ResourceTabs/InformationTab/components/ProjectInformationAside/HighLevelMetrics.tsx +++ b/src/admin/components/ResourceTabs/InformationTab/components/ProjectInformationAside/HighLevelMetrics.tsx @@ -36,6 +36,11 @@ const HighLevelMetics: FC = () => { + + + + + ); diff --git a/src/admin/components/ResourceTabs/InformationTab/components/ReportInformationAside/HighLevelMetrics.tsx b/src/admin/components/ResourceTabs/InformationTab/components/ReportInformationAside/HighLevelMetrics.tsx index 8016a55b6..f51002a26 100644 --- a/src/admin/components/ResourceTabs/InformationTab/components/ReportInformationAside/HighLevelMetrics.tsx +++ b/src/admin/components/ResourceTabs/InformationTab/components/ReportInformationAside/HighLevelMetrics.tsx @@ -12,6 +12,7 @@ const HighLevelMetics: FC = () => { }; const isTerraFund = record.framework_key === "terrafund"; + const isPPC = record.framework_key === "ppc"; const workdaysType = resource === "projectReport" ? "Project" : resource === "siteReport" ? "Site" : null; return ( @@ -48,6 +49,14 @@ const HighLevelMetics: FC = () => { emptyText="0" /> + + + + + diff --git a/src/admin/components/ResourceTabs/InformationTab/components/SiteInformationAside/HighLevelMetrics.tsx b/src/admin/components/ResourceTabs/InformationTab/components/SiteInformationAside/HighLevelMetrics.tsx index d6fa709eb..846eb2abb 100644 --- a/src/admin/components/ResourceTabs/InformationTab/components/SiteInformationAside/HighLevelMetrics.tsx +++ b/src/admin/components/ResourceTabs/InformationTab/components/SiteInformationAside/HighLevelMetrics.tsx @@ -1,8 +1,9 @@ -import { Box, Card, Divider, Stack, SxProps, Theme, Typography } from "@mui/material"; +import { Box, Card, Stack, SxProps, Theme } from "@mui/material"; import { FC } from "react"; import { Labeled, NumberField, useShowContext } from "react-admin"; import { When } from "react-if"; +import Text from "@/components/elements/Text/Text"; const HighLevelMetics: FC = () => { const { record } = useShowContext(); @@ -14,15 +15,12 @@ const HighLevelMetics: FC = () => { const isPPC = record.framework_key === "ppc"; return ( - - - High Level Metrics - - - - + + + High Level Metrics + @@ -31,10 +29,15 @@ const HighLevelMetics: FC = () => { - + - + + + + + +