IO-3020 IO-3036 Update ESLint. Add LockWrapper for Header. Add Blur Wrapper.

This commit is contained in:
Patrick Fic
2024-11-29 14:38:56 -08:00
parent 4433f0f57f
commit 801cd724ac
7 changed files with 393 additions and 212 deletions

View File

@@ -6,6 +6,7 @@ import InstanceRenderManager from "../../utils/instanceRenderMgr";
import AlertComponent from "../alert/alert.component";
import LoadingSkeleton from "../loading-skeleton/loading-skeleton.component";
import "./job-bills-total.styles.scss";
import BlurWrapperComponent from "../feature-wrapper/blur-wrapper.component";
export default function JobBillsTotalComponent({
loading,
@@ -18,7 +19,7 @@ export default function JobBillsTotalComponent({
const { t } = useTranslation();
if (loading) return <LoadingSkeleton />;
if (!!!jobTotals) {
if (!jobTotals) {
if (showWarning && warningCallback && typeof warningCallback === "function") {
warningCallback({ key: "bills", warning: t("jobs.errors.nofinancial") });
}
@@ -97,7 +98,7 @@ export default function JobBillsTotalComponent({
.add(
InstanceRenderManager({
imex: Dinero(),
rome: Dinero(totals.additional.additionalCosts),
rome: Dinero(totals.additional.additionalCosts)
})
); // Additional costs were captured for Rome, but not imex.