23 @@ -138,7 +130,7 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Card Progress And Trees Planed
1,332 @@ -162,7 +154,7 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Card Progress And Trash Removed
530,000 @@ -202,10 +194,6 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Card Progress No of 150
-530,000 diff --git a/src/components/elements/Cards/ItemMonitoringCard/__snapshots__/ItemMonitoringCard.stories.storyshot b/src/components/elements/Cards/ItemMonitoringCard/__snapshots__/ItemMonitoringCard.stories.storyshot index c5be3c467..7d340fda7 100644 --- a/src/components/elements/Cards/ItemMonitoringCard/__snapshots__/ItemMonitoringCard.stories.storyshot +++ b/src/components/elements/Cards/ItemMonitoringCard/__snapshots__/ItemMonitoringCard.stories.storyshot @@ -35,10 +35,10 @@ exports[`Storyshots Components/Elements/Cards/ItemMonitoringCards Default 1`] = } >
{
const contentRef = useRef
{
+ const rowSpeciesName = {
+ accessorKey: "name",
+ header: "species Name",
+ enableSorting: false,
+ cell: (props: any) => {
+ const value = props.getValue();
+ if (value[0] === "Non-scientific name") {
+ return (
+
+
-
diff --git a/src/pages/reports/site-report/[uuid].page.tsx b/src/pages/reports/site-report/[uuid].page.tsx
index 54133fdf5..173bbbe9a 100644
--- a/src/pages/reports/site-report/[uuid].page.tsx
+++ b/src/pages/reports/site-report/[uuid].page.tsx
@@ -1,4 +1,3 @@
-import { Box } from "@mui/system";
import { useT } from "@transifex/react";
import Head from "next/head";
import Link from "next/link";
@@ -6,27 +5,24 @@ import { useRouter } from "next/router";
import { Fragment } from "react";
import { Else, If, Then, When } from "react-if";
-import TreeSpeciesTableTF from "@/admin/components/Tables/TreeSpeciesTableTF";
+import GoalProgressCard from "@/components/elements/Cards/GoalProgressCard/GoalProgressCard";
import EmptyState from "@/components/elements/EmptyState/EmptyState";
import ButtonField from "@/components/elements/Field/ButtonField";
-import GenericField from "@/components/elements/Field/GenericField";
import LongTextField from "@/components/elements/Field/LongTextField";
import TextField from "@/components/elements/Field/TextField";
import Paper from "@/components/elements/Paper/Paper";
import Text from "@/components/elements/Text/Text";
import EntityMapAndGalleryCard from "@/components/extensive/EntityMapAndGalleryCard/EntityMapAndGalleryCard";
-import Icon, { IconNames } from "@/components/extensive/Icon/Icon";
+import { IconNames } from "@/components/extensive/Icon/Icon";
import PageBody from "@/components/extensive/PageElements/Body/PageBody";
import PageBreadcrumbs from "@/components/extensive/PageElements/Breadcrumbs/PageBreadcrumbs";
import PageCard from "@/components/extensive/PageElements/Card/PageCard";
import PageColumn from "@/components/extensive/PageElements/Column/PageColumn";
+import PageFooter from "@/components/extensive/PageElements/Footer/PageFooter";
import PageRow from "@/components/extensive/PageElements/Row/PageRow";
-import DisturbancesTable from "@/components/extensive/Tables/DisturbancesTable";
-import SeedingsTable from "@/components/extensive/Tables/SeedingsTable";
-import TreeSpeciesTable from "@/components/extensive/Tables/TreeSpeciesTable";
+import TreeSpeciesTablePD from "@/components/extensive/Tables/TreeSpeciesTablePD";
import Loader from "@/components/generic/Loading/Loader";
import LoadingContainer from "@/components/generic/Loading/LoadingContainer";
-import { EstablishmentEntityType } from "@/connections/EstablishmentTrees";
import { COLLECTION_SITE_PAID_OTHER, SITE_WORKDAY_COLLECTIONS } from "@/constants/workdayCollections";
import { ContextCondition } from "@/context/ContextCondition";
import FrameworkProvider, { Framework } from "@/context/framework.provider";
@@ -69,6 +65,76 @@ const SiteReportDetailPage = () => {
"Site Workdays"
);
+ const dataTreeCount = [
+ {
+ name: ["Species scientific name", "tree"],
+ treeCount: "45,000"
+ },
+ {
+ name: ["Species scientific name", "Native species"],
+ treeCount: "45,000"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ treeCount: "10,350"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ treeCount: "7,500"
+ },
+ {
+ name: ["Non-scientific name", "tree"],
+ treeCount: "4,040"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ treeCount: "3,200"
+ },
+ {
+ name: ["Species scientific name", "new"],
+ treeCount: "3,000"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ treeCount: "0"
+ }
+ ];
+
+ const dataNonTreeCount = [
+ {
+ name: ["Species scientific name", "tree"],
+ nonTreeCount: "45,000"
+ },
+ {
+ name: ["Species scientific name", "Native species"],
+ nonTreeCount: "45,000"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ nonTreeCount: "10,350"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ nonTreeCount: "7,500"
+ },
+ {
+ name: ["Non-scientific name", "tree"],
+ nonTreeCount: "4,040"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ nonTreeCount: "3,200"
+ },
+ {
+ name: ["Species scientific name", "new"],
+ nonTreeCount: "3,000"
+ },
+ {
+ name: ["Species scientific name", "tree"],
+ nonTreeCount: "0"
+ }
+ ];
+
return (
+
+
+
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 665a4e100..fee122c3d 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -103,9 +103,11 @@ module.exports = {
900: "#3A3A3A",
800: "#5A5A5A",
700: "#737373",
+ 650: "#747070",
600: "#888888",
500: "#9B9B9B",
400: "#B1B1B1",
+ 480: "#C4C4C4",
450: "#CCD4D6",
300: "#D8D8D8",
250: "#F7F7F7",