From aff73cb6e635c1c28f5ce00e64ce5163643e5aad Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 16 Dec 2020 16:52:40 -0800 Subject: [PATCH] Added insurance company name to jobs lists. IO-409 --- .../jobs-list-paginated.component.jsx | 7 ++++++- .../components/jobs-list/jobs-list.component.jsx | 13 +++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) 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 3297c40a7..cccdee0b7 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 @@ -14,7 +14,6 @@ export default function JobsList({ refetch, loading, jobs, total }) { const { page, sortcolumn, sortorder } = search; const history = useHistory(); - const { t } = useTranslation(); const columns = [ { @@ -139,6 +138,12 @@ export default function JobsList({ refetch, loading, jobs, total }) { ); }, }, + { + title: t("jobs.fields.ins_co_nm"), + dataIndex: "ins_co_nm", + key: "ins_co_nm", + ellipsis: true, + }, { title: t("jobs.fields.clm_total"), dataIndex: "clm_total", diff --git a/client/src/components/jobs-list/jobs-list.component.jsx b/client/src/components/jobs-list/jobs-list.component.jsx index 9840e4cb8..f9bccb121 100644 --- a/client/src/components/jobs-list/jobs-list.component.jsx +++ b/client/src/components/jobs-list/jobs-list.component.jsx @@ -150,12 +150,7 @@ export function JobsList({ bodyshop }) { ) : null; }, }, - { - title: t("jobs.fields.ins_co_nm"), - dataIndex: "ins_co_nm", - key: "ins_co_nm", - ellipsis: true, - }, + { title: t("jobs.fields.status"), dataIndex: "status", @@ -227,6 +222,12 @@ export function JobsList({ bodyshop }) { ); }, }, + { + title: t("jobs.fields.ins_co_nm"), + dataIndex: "ins_co_nm", + key: "ins_co_nm", + ellipsis: true, + }, { title: t("jobs.fields.clm_total"), dataIndex: "clm_total",