From 5fcf9712be89cc883e6f7aaf6d550bbc4ade88b2 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 19 Mar 2024 13:05:59 -0700 Subject: [PATCH] IO-2691 Resolve additional cost inclusion. --- .../components/job-bills-total/job-bills-total.component.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/job-bills-total/job-bills-total.component.jsx b/client/src/components/job-bills-total/job-bills-total.component.jsx index 1a2642974..581a9a8b8 100644 --- a/client/src/components/job-bills-total/job-bills-total.component.jsx +++ b/client/src/components/job-bills-total/job-bills-total.component.jsx @@ -5,6 +5,7 @@ import {useTranslation} from "react-i18next"; import AlertComponent from "../alert/alert.component"; import LoadingSkeleton from "../loading-skeleton/loading-skeleton.component"; import "./job-bills-total.styles.scss"; +import InstanceRenderManager from "../../utils/instanceRenderMgr"; export default function JobBillsTotalComponent({ loading, @@ -89,7 +90,7 @@ export default function JobBillsTotalComponent({ .add(Dinero(totals.parts.sublets.total)) .add(Dinero(totals.additional.shipping)) .add(Dinero(totals.additional.towing)) - .add(Dinero(totals.additional.additionalCosts)); //TODO:AIO Additional costs were captured for Rome, but not imex. This may need to be evaluated? + .add( InstanceRenderManager({imex: Dinero(), rome: Dinero(totals.additional.additionalCosts),promanager: "USE_ROME" })) ; // Additional costs were captured for Rome, but not imex. const discrepancy = totalPartsSublet.subtract(billTotals);