diff --git a/client/src/components/dashboard-components/monthly-job-costing/monthly-job-costing.component.jsx b/client/src/components/dashboard-components/monthly-job-costing/monthly-job-costing.component.jsx index 7088bc684..5d3a19fc1 100644 --- a/client/src/components/dashboard-components/monthly-job-costing/monthly-job-costing.component.jsx +++ b/client/src/components/dashboard-components/monthly-job-costing/monthly-job-costing.component.jsx @@ -1,4 +1,4 @@ -import { Card, Input, Space, Table, Typography } from "antd"; +import { Card, Input, Space, Typography } from "antd"; import axios from "axios"; import { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; @@ -7,6 +7,7 @@ import LoadingSkeleton from "../../loading-skeleton/loading-skeleton.component"; import Dinero from "dinero.js"; import DashboardRefreshRequired from "../refresh-required.component"; import { pageLimit } from "../../../utils/config"; +import ResponsiveTable from "../../responsive-table/responsive-table.component.jsx"; export default function DashboardMonthlyJobCosting({ data, ...cardProps }) { const { t } = useTranslation(); @@ -103,31 +104,33 @@ export default function DashboardMonthlyJobCosting({ data, ...cardProps }) { {...cardProps} > -
- + ( - - + + {t("general.labels.totals")} - - + + {Dinero(costingData?.allSummaryData && costingData.allSummaryData.totalSales).toFormat()} - - + + {Dinero(costingData?.allSummaryData && costingData.allSummaryData.totalCost).toFormat()} - - + + {Dinero(costingData?.allSummaryData && costingData.allSummaryData.gpdollars).toFormat()} - - - + + + )} />