diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 8d90d4760..b656493ff 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -32395,6 +32395,27 @@ + + orderinhouse + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + diff --git a/client/src/components/job-detail-lines/job-lines.component.jsx b/client/src/components/job-detail-lines/job-lines.component.jsx index e6bff1185..401a5bba6 100644 --- a/client/src/components/job-detail-lines/job-lines.component.jsx +++ b/client/src/components/job-detail-lines/job-lines.component.jsx @@ -6,6 +6,7 @@ import { EditFilled, PlusCircleTwoTone, MinusCircleTwoTone, + HomeOutlined, } from "@ant-design/icons"; import { useMutation } from "@apollo/client"; import { @@ -42,6 +43,7 @@ import _ from "lodash"; import JobCreateIOU from "../job-create-iou/job-create-iou.component"; import JobLinesExpander from "./job-lines-expander.component"; import { selectBodyshop } from "../../redux/user/user.selectors"; +import moment from "moment"; const mapStateToProps = createStructuredSelector({ bodyshop: selectBodyshop, @@ -54,6 +56,8 @@ const mapDispatchToProps = (dispatch) => ({ dispatch(setModalContext({ context: context, modal: "jobLineEdit" })), setPartsOrderContext: (context) => dispatch(setModalContext({ context: context, modal: "partsOrder" })), + setBillEnterContext: (context) => + dispatch(setModalContext({ context: context, modal: "billEnter" })), }); export function JobLinesComponent({ @@ -68,6 +72,7 @@ export function JobLinesComponent({ job, setJobLineEditContext, form, + setBillEnterContext, }) { const [deleteJobLine] = useMutation(DELETE_JOB_LINE_BY_PK); @@ -386,6 +391,62 @@ export function JobLinesComponent({ )} +