Rome whitelabelling.

This commit is contained in:
Patrick Fic
2023-01-24 14:11:53 -08:00
parent 39b9cfb348
commit d8cc25a54f
19 changed files with 46 additions and 51 deletions

View File

@@ -1,6 +1,5 @@
import { Alert, Table } from "antd";
import { Table } from "antd";
import Dinero from "dinero.js";
import { object } from "prop-types";
import React, { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { alphaSort } from "../../utils/sorters";
@@ -26,7 +25,7 @@ export default function JobTotalsTableParts({ job }) {
});
return adjs;
}, [job.job_totals.parts.adjustments]);
}, [job.job_totals]);
const data = useMemo(() => {
return Object.keys(job.job_totals.parts.parts.list)