Added parts location to job line list view. BOD-208

This commit is contained in:
Patrick Fic
2020-07-31 10:25:58 -07:00
parent 23f8243002
commit 4d60ffd597
25 changed files with 933 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ import { alphaSort } from "../../utils/sorters";
// import AllocationsEmployeeLabelContainer from "../allocations-employee-label/allocations-employee-label.container";
import PartsOrderModalContainer from "../parts-order-modal/parts-order-modal.container";
import JobLineNotePopup from "../job-line-note-popup/job-line-note-popup.component";
import JobLineLocationPopup from "../job-line-location-popup/job-line-location-popup.component";
const mapDispatchToProps = (dispatch) => ({
setJobLineEditContext: (context) =>
@@ -170,6 +171,12 @@ export function JobLinesComponent({
key: "notes",
render: (text, record) => <JobLineNotePopup jobline={record} />,
},
{
title: t("joblines.fields.location"),
dataIndex: "location",
key: "location",
render: (text, record) => <JobLineLocationPopup jobline={record} />,
},
{
title: t("joblines.fields.status"),
dataIndex: "status",