+
{
setState({
@@ -101,11 +110,11 @@ export default function JobsCreateOwnerInfoSearchComponent({
);
}}
- size='small'
+ size="small"
scroll={{ x: true }}
pagination={{ position: "top" }}
columns={columns}
- rowKey='id'
+ rowKey="id"
dataSource={owners}
onChange={handleTableChange}
rowSelection={{
diff --git a/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx b/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
index c1facb85b..c9251e925 100644
--- a/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
+++ b/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
@@ -1,21 +1,16 @@
-import { Col, Divider, Form, Row, Select } from "antd";
+import { Form, Select } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
-import CurrencyFormatter from "../../utils/CurrencyFormatter";
-import { DateTimeFormatter } from "../../utils/DateFormatter";
import CurrencyInput from "../form-items-formatted/currency-form-item.component";
-import JobTotalsTable from "../job-totals-table/job-totals-table.component";
import FormRow from "../layout-form-row/layout-form-row.component";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
});
-const stripeTestEnv = process.env.REACT_APP_STRIPE_PUBLIC_KEY; //.includes("test");
-
export function JobsDetailRates({ job, bodyshop }) {
const { t } = useTranslation();
diff --git a/client/src/components/jobs-detail-totals/jobs-detail-totals.component.jsx b/client/src/components/jobs-detail-totals/jobs-detail-totals.component.jsx
index c06ac8107..dd6d371d3 100644
--- a/client/src/components/jobs-detail-totals/jobs-detail-totals.component.jsx
+++ b/client/src/components/jobs-detail-totals/jobs-detail-totals.component.jsx
@@ -1,4 +1,4 @@
-import { Col, Divider, Form, Row, Select, Typography } from "antd";
+import { Divider, Typography } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -6,9 +6,7 @@ import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
import CurrencyFormatter from "../../utils/CurrencyFormatter";
import { DateTimeFormatter } from "../../utils/DateFormatter";
-import CurrencyInput from "../form-items-formatted/currency-form-item.component";
import JobTotalsTable from "../job-totals-table/job-totals-table.component";
-import FormRow from "../layout-form-row/layout-form-row.component";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
@@ -19,11 +17,6 @@ const stripeTestEnv = process.env.REACT_APP_STRIPE_PUBLIC_KEY; //.includes("test
export function JobsDetailTotals({ job, bodyshop }) {
const { t } = useTranslation();
- const colSpan = {
- sm: { span: 24 },
- lg: { span: 12 },
- };
-
return (
diff --git a/client/src/components/jobs-find-modal/jobs-find-modal.component.jsx b/client/src/components/jobs-find-modal/jobs-find-modal.component.jsx
index 3f01e7157..98a00e5b2 100644
--- a/client/src/components/jobs-find-modal/jobs-find-modal.component.jsx
+++ b/client/src/components/jobs-find-modal/jobs-find-modal.component.jsx
@@ -43,11 +43,15 @@ export default function JobsFindModalComponent({
render: (text, record) => {
return record.owner ? (
- {record.ownr_fn} {record.ownr_ln}
+ {`${record.ownr_fn || ""} ${record.ownr_ln || ""} ${
+ record.ownr_co_nm || ""
+ }`}
) : (
// t("jobs.errors.noowner")
- {`${record.ownr_fn} ${record.ownr_ln}`}
+ {`${record.ownr_fn || ""} ${record.ownr_ln || ""} ${
+ record.ownr_co_nm || ""
+ }`}
);
},
},
@@ -143,7 +147,8 @@ export default function JobsFindModalComponent({
)}
- size='small'
+ size="small"
pagination={{ position: "bottom" }}
columns={columns.map((item) => ({ ...item }))}
- rowKey='id'
+ rowKey="id"
loading={jobsListLoading}
dataSource={jobsList}
rowSelection={{
@@ -183,7 +188,8 @@ export default function JobsFindModalComponent({
...importOptions,
overrideHeaders: e.target.checked,
})
- }>
+ }
+ >
{t("jobs.labels.override_header")}
diff --git a/client/src/components/jobs-list-paginated/jobs-list-paginated.component.jsx b/client/src/components/jobs-list-paginated/jobs-list-paginated.component.jsx
index 03885283d..f0c8bb6e4 100644
--- a/client/src/components/jobs-list-paginated/jobs-list-paginated.component.jsx
+++ b/client/src/components/jobs-list-paginated/jobs-list-paginated.component.jsx
@@ -55,10 +55,14 @@ export default function JobsList({ refetch, loading, jobs, total }) {
render: (text, record) => {
return record.owner ? (