-
+
diff --git a/client/src/components/job-search-select/job-search-select.component.jsx b/client/src/components/job-search-select/job-search-select.component.jsx
index 62d1f60f3..7fa9b3c6c 100644
--- a/client/src/components/job-search-select/job-search-select.component.jsx
+++ b/client/src/components/job-search-select/job-search-select.component.jsx
@@ -8,8 +8,6 @@ import { SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE, SEARCH_JOBS_FOR_AUTOCOMPLETE } from
import AlertComponent from "../alert/alert.component";
import { OwnerNameDisplayFunction } from "../owner-name-display/owner-name-display.component";
-const { Option } = Select;
-
const JobSearchSelect = ({
disabled,
convertedOnly = false,
@@ -87,24 +85,24 @@ const JobSearchSelect = ({
style={{ width: "100%" }}
suffixIcon={(loading || idLoading) && } // matches OLD spinner semantics
notFoundContent={loading ? : null} // matches OLD (loading only)
- >
- {theOptions
- ? theOptions.map((o) => (
-
- ))
- : null}
-
+ options={theOptions?.map((o) => ({
+ key: o.id,
+ value: o.id,
+ status: o.status,
+ label: (
+
+
+ {`${clm_no && o.clm_no ? `${o.clm_no} | ` : ""}${o.ro_number || t("general.labels.na")} | ${OwnerNameDisplayFunction(
+ o
+ )} | ${o.v_model_yr || ""} ${o.v_make_desc || ""} ${o.v_model_desc || ""}`}
+
+
+ {o.status}
+
+
+ )
+ }))}
+ />
{error ? : null}
{idError ? : null}
diff --git a/client/src/components/jobs-admin-class/jobs-admin-class.component.jsx b/client/src/components/jobs-admin-class/jobs-admin-class.component.jsx
index a89547f8f..537995bbc 100644
--- a/client/src/components/jobs-admin-class/jobs-admin-class.component.jsx
+++ b/client/src/components/jobs-admin-class/jobs-admin-class.component.jsx
@@ -59,13 +59,12 @@ export function JobsAdminClass({ bodyshop, job }) {
}
]}
>
-
+
diff --git a/client/src/components/jobs-close-lines/jobs-close-lines.component.jsx b/client/src/components/jobs-close-lines/jobs-close-lines.component.jsx
index e6bdc5321..f7f5cb988 100644
--- a/client/src/components/jobs-close-lines/jobs-close-lines.component.jsx
+++ b/client/src/components/jobs-close-lines/jobs-close-lines.component.jsx
@@ -141,13 +141,11 @@ export function JobsCloseLines({ bodyshop, job, jobRO }) {
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
}}
disabled={jobRO}
- >
- {bodyshop.md_responsibility_centers.profits.map((p) => (
-
- {p.name}
-
- ))}
-
+ options={bodyshop.md_responsibility_centers.profits.map((p) => ({
+ value: p.name,
+ label: p.name
+ }))}
+ />
|
@@ -171,13 +169,11 @@ export function JobsCloseLines({ bodyshop, job, jobRO }) {
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
}}
disabled={jobRO}
- >
- {bodyshop.md_responsibility_centers.profits.map((p) => (
-
- {p.name}
-
- ))}
-
+ options={bodyshop.md_responsibility_centers.profits.map((p) => ({
+ value: p.name,
+ label: p.name
+ }))}
+ />
|
diff --git a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
index bd3ee36ee..5f97f2e3a 100644
--- a/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
+++ b/client/src/components/jobs-convert-button/jobs-convert-button.component.jsx
@@ -108,13 +108,13 @@ export function JobsConvertButton({ bodyshop, job, refetch, jobRO, insertAuditTr
}
]}
>
-
+