BOD-72 Refactored calculations to use Dinero library.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { Divider, Form, Input, InputNumber, Row, Col } from "antd";
|
||||
import { Col, Divider, Form, Input, InputNumber, Row } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import JobTotalsTable from "../job-totals-table/job-totals-table.component";
|
||||
|
||||
export default function JobsDetailFinancials({ job }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -125,8 +124,9 @@ export default function JobsDetailFinancials({ job }) {
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col offset={1} span={15}>
|
||||
<JobTotalsTable totals={job.job_totals} />
|
||||
{JSON.stringify(job.cieca_ttl, null, "\t")}
|
||||
<JobTotalsTable job={job} />
|
||||
<p>Mitchell: {JSON.stringify(job.cieca_ttl, null, "\t")}</p>
|
||||
<p>Mine:{JSON.stringify(job.job_totals, null, "\t")}</p>
|
||||
</Col>
|
||||
</Row>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user